public class CustomRollingPanel
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabledcom.google.gwt.user.client.ui.InsertPanel.ForIsWidget| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BODY_HORIZONTAL_STYLE_NAME |
static String |
DEFAULT_NEXT_STYLE_NAME |
static String |
DEFAULT_PREVIOUS_STYLE_NAME |
static String |
DEFAULT_STYLE_NAME |
protected com.google.gwt.user.client.ui.CellPanel |
itemsPanel |
protected com.google.gwt.user.client.ui.DockPanel |
layoutPanel |
| Constructor and Description |
|---|
CustomRollingPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget child) |
protected void |
checkNavigationButtons() |
void |
clear() |
protected void |
createNavigationButtons() |
protected void |
disableNavigationButtons() |
protected void |
enableNavigationButtons() |
String |
getBodyStyleName() |
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant |
getHorizontalAlignment() |
String |
getNextButtonStyleName() |
String |
getPreviousButtonStyleName() |
int |
getScrollPosition() |
int |
getSpacing() |
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant |
getVerticalAlignment() |
com.google.gwt.user.client.ui.Widget |
getWidget(int i) |
int |
getWidgetCount() |
int |
getWidgetIndex(com.google.gwt.user.client.ui.Widget child) |
protected void |
handleWindowResize() |
void |
insert(com.google.gwt.user.client.ui.Widget widget,
int i) |
boolean |
isScrollToAddedWidgets() |
protected void |
maybeShowNavigationButtons() |
boolean |
remove(int index) |
void |
remove(com.google.gwt.user.client.ui.Widget toRemove) |
void |
scrollToWidget(com.google.gwt.user.client.ui.Widget widget) |
void |
setBodyStyleName(String bodyStyleName) |
void |
setCellHeight(com.google.gwt.user.client.ui.Widget child,
String cellHeight) |
void |
setCellHorizontalAlignment(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align) |
void |
setCellVerticalAlignment(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign) |
void |
setCellWidth(com.google.gwt.user.client.ui.Widget child,
String cellWidth) |
void |
setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align) |
void |
setNextButtonStyleName(String nextButtonStyleName) |
void |
setPreviousButtonStyleName(String previousButtonStyleName) |
void |
setScrollPosition(int position) |
void |
setScrollToAddedWidgets(boolean scrollToAddedWidgets) |
void |
setSpacing(int spacing) |
void |
setVerticalAlignment(com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic static final String DEFAULT_NEXT_STYLE_NAME
public static final String DEFAULT_PREVIOUS_STYLE_NAME
public static final String DEFAULT_BODY_HORIZONTAL_STYLE_NAME
public static final String DEFAULT_STYLE_NAME
protected com.google.gwt.user.client.ui.CellPanel itemsPanel
protected com.google.gwt.user.client.ui.DockPanel layoutPanel
public void add(com.google.gwt.user.client.ui.Widget child)
add in interface com.google.gwt.user.client.ui.InsertPanelchild - public void clear()
public int getScrollPosition()
public int getSpacing()
public com.google.gwt.user.client.ui.Widget getWidget(int i)
getWidget in interface com.google.gwt.user.client.ui.IndexedPaneli - public int getWidgetCount()
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanelpublic int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.getWidgetIndex(com.google.gwt.user.client.ui.Widget)public void insert(com.google.gwt.user.client.ui.Widget widget,
int i)
insert in interface com.google.gwt.user.client.ui.InsertPanelwidget - i - public boolean isScrollToAddedWidgets()
public boolean remove(int index)
remove in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.remove(int)public void remove(com.google.gwt.user.client.ui.Widget toRemove)
toRemove - public void scrollToWidget(com.google.gwt.user.client.ui.Widget widget)
widget - public void setCellHeight(com.google.gwt.user.client.ui.Widget child,
String cellHeight)
child - cellHeight - public void setCellHorizontalAlignment(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
w - align - public void setCellVerticalAlignment(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign)
verticalAlign - public void setCellWidth(com.google.gwt.user.client.ui.Widget child,
String cellWidth)
child - cellWidth - public void setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant align)
setHorizontalAlignment in interface com.google.gwt.user.client.ui.HasHorizontalAlignmentalign - public void setScrollPosition(int position)
position - public void setScrollToAddedWidgets(boolean scrollToAddedWidgets)
scrollToAddedWidgets - public void setSpacing(int spacing)
spacing - public void setVerticalAlignment(com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign)
setVerticalAlignment in interface com.google.gwt.user.client.ui.HasVerticalAlignmentverticalAlign - protected void createNavigationButtons()
protected void checkNavigationButtons()
protected void maybeShowNavigationButtons()
protected void disableNavigationButtons()
protected void enableNavigationButtons()
protected void handleWindowResize()
public com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant getVerticalAlignment()
getVerticalAlignment in interface com.google.gwt.user.client.ui.HasVerticalAlignmentpublic com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant getHorizontalAlignment()
getHorizontalAlignment in interface com.google.gwt.user.client.ui.HasHorizontalAlignmentpublic void setNextButtonStyleName(String nextButtonStyleName)
nextButtonStyleName - public void setPreviousButtonStyleName(String previousButtonStyleName)
previousButtonStyleName - public void setBodyStyleName(String bodyStyleName)
bodyStyleName - the bodyStyleName to setpublic String getBodyStyleName()
public String getNextButtonStyleName()
public String getPreviousButtonStyleName()
Copyright © 2014. All rights reserved.