org.cruxframework.crux.widgets.client.storyboard
Class StoryboardSmallController

java.lang.Object
  extended by org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
      extended by org.cruxframework.crux.widgets.client.storyboard.StoryboardSmallController
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasSelectionHandlers<Integer>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, org.cruxframework.crux.core.client.screen.DeviceAdaptive, Storyboard
Direct Known Subclasses:
StoryboardLargeController

public class StoryboardSmallController
extends org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
implements Storyboard


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cruxframework.crux.core.client.screen.DeviceAdaptive
org.cruxframework.crux.core.client.screen.DeviceAdaptive.Device, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Input, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Size, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Template, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Templates
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
protected  boolean fixedHeight
           
protected  boolean fixedWidth
           
protected  String itemHeight
           
protected  String itemWidth
           
protected  com.google.gwt.user.client.ui.FlowPanel storyboard
           
 
Constructor Summary
StoryboardSmallController()
           
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget widget)
           
 com.google.gwt.event.shared.HandlerRegistration addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<Integer> handler)
           
 void clear()
           
protected  void configHeightWidth(com.google.gwt.user.client.ui.Widget panel)
           
protected  com.google.gwt.user.client.ui.Widget createClickablePanelForCell(com.google.gwt.user.client.ui.Widget widget)
           
 String getLargeDeviceItemHeight()
           
 String getLargeDeviceItemWidth()
           
 String getSmallDeviceItemHeight()
           
 com.google.gwt.user.client.ui.Widget getWidget(int index)
           
 int getWidgetCount()
           
 int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
           
protected  void init()
           
 Iterator<com.google.gwt.user.client.ui.Widget> iterator()
           
 boolean remove(int index)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void setFixedHeight(boolean fixedHeight)
           
 void setFixedWidth(boolean fixedWidth)
           
 void setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant value)
           
 void setHorizontalAlignment(com.google.gwt.user.client.ui.IsWidget child, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant value)
           
 void setLargeDeviceItemHeight(com.google.gwt.user.client.ui.IsWidget child, String height)
           
 void setLargeDeviceItemHeight(String height)
           
 void setLargeDeviceItemWidth(com.google.gwt.user.client.ui.IsWidget child, String width)
           
 void setLargeDeviceItemWidth(String width)
           
 void setSmallDeviceItemHeight(com.google.gwt.user.client.ui.IsWidget child, String height)
           
 void setSmallDeviceItemHeight(String height)
           
 void setVerticalAlignment(com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant value)
           
 void setVerticalAlignment(com.google.gwt.user.client.ui.IsWidget child, com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant value)
           
 
Methods inherited from class org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
addAttachHandler, addHandler, addWidget, asWidget, fireEvent, getChildWidget, getElement, getStyleName, getTitle, isVisible, setHeight, setStyleName, setTitle, setVisible, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cruxframework.crux.core.client.screen.DeviceAdaptive
addAttachHandler, addHandler, getElement, getStyleName, getTitle, isVisible, setHeight, setStyleName, setTitle, setVisible, setWidth
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

storyboard

protected com.google.gwt.user.client.ui.FlowPanel storyboard

itemHeight

protected String itemHeight

itemWidth

protected String itemWidth

fixedHeight

protected boolean fixedHeight

fixedWidth

protected boolean fixedWidth
Constructor Detail

StoryboardSmallController

public StoryboardSmallController()
Method Detail

getWidget

public com.google.gwt.user.client.ui.Widget getWidget(int index)
Specified by:
getWidget in interface com.google.gwt.user.client.ui.IndexedPanel

add

public void add(com.google.gwt.user.client.ui.Widget widget)
Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets

clear

public void clear()
Specified by:
clear in interface com.google.gwt.user.client.ui.HasWidgets

iterator

public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
Specified by:
iterator in interface com.google.gwt.user.client.ui.HasWidgets
Specified by:
iterator in interface Iterable<com.google.gwt.user.client.ui.Widget>

remove

public boolean remove(com.google.gwt.user.client.ui.Widget w)
Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets

getWidgetCount

public int getWidgetCount()
Specified by:
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanel

getWidgetIndex

public int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
Specified by:
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanel

remove

public boolean remove(int index)
Specified by:
remove in interface com.google.gwt.user.client.ui.IndexedPanel

addSelectionHandler

public com.google.gwt.event.shared.HandlerRegistration addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<Integer> handler)
Specified by:
addSelectionHandler in interface com.google.gwt.event.logical.shared.HasSelectionHandlers<Integer>

createClickablePanelForCell

protected com.google.gwt.user.client.ui.Widget createClickablePanelForCell(com.google.gwt.user.client.ui.Widget widget)

configHeightWidth

protected void configHeightWidth(com.google.gwt.user.client.ui.Widget panel)

init

protected void init()
Overrides:
init in class org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController

getLargeDeviceItemWidth

public String getLargeDeviceItemWidth()
Specified by:
getLargeDeviceItemWidth in interface Storyboard

setLargeDeviceItemWidth

public void setLargeDeviceItemWidth(String width)
Specified by:
setLargeDeviceItemWidth in interface Storyboard

getSmallDeviceItemHeight

public String getSmallDeviceItemHeight()
Specified by:
getSmallDeviceItemHeight in interface Storyboard

setSmallDeviceItemHeight

public void setSmallDeviceItemHeight(String height)
Specified by:
setSmallDeviceItemHeight in interface Storyboard

getLargeDeviceItemHeight

public String getLargeDeviceItemHeight()
Specified by:
getLargeDeviceItemHeight in interface Storyboard

setLargeDeviceItemHeight

public void setLargeDeviceItemHeight(String height)
Specified by:
setLargeDeviceItemHeight in interface Storyboard

setHorizontalAlignment

public void setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant value)
Specified by:
setHorizontalAlignment in interface Storyboard

setVerticalAlignment

public void setVerticalAlignment(com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant value)
Specified by:
setVerticalAlignment in interface Storyboard

setSmallDeviceItemHeight

public void setSmallDeviceItemHeight(com.google.gwt.user.client.ui.IsWidget child,
                                     String height)
Specified by:
setSmallDeviceItemHeight in interface Storyboard

setLargeDeviceItemHeight

public void setLargeDeviceItemHeight(com.google.gwt.user.client.ui.IsWidget child,
                                     String height)
Specified by:
setLargeDeviceItemHeight in interface Storyboard

setLargeDeviceItemWidth

public void setLargeDeviceItemWidth(com.google.gwt.user.client.ui.IsWidget child,
                                    String width)
Specified by:
setLargeDeviceItemWidth in interface Storyboard

setHorizontalAlignment

public void setHorizontalAlignment(com.google.gwt.user.client.ui.IsWidget child,
                                   com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant value)
Specified by:
setHorizontalAlignment in interface Storyboard

setVerticalAlignment

public void setVerticalAlignment(com.google.gwt.user.client.ui.IsWidget child,
                                 com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant value)
Specified by:
setVerticalAlignment in interface Storyboard

setFixedHeight

public void setFixedHeight(boolean fixedHeight)
Specified by:
setFixedHeight in interface Storyboard

setFixedWidth

public void setFixedWidth(boolean fixedWidth)
Specified by:
setFixedWidth in interface Storyboard


Copyright © 2015. All rights reserved.