org.cruxframework.crux.widgets.client.storyboard
Class StoryboardSmallController
java.lang.Object
org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
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>, DeviceAdaptive, Storyboard
- Direct Known Subclasses:
- StoryboardLargeController
public class StoryboardSmallController
- extends DeviceAdaptiveController
- implements Storyboard
| 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 |
| 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 |
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
StoryboardSmallController
public StoryboardSmallController()
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 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 © 2014. All rights reserved.