public class NavStack extends Panel implements com.smartgwt.mobile.client.internal.widgets.AdvancedPanelContainer, com.smartgwt.mobile.client.internal.widgets.events.HasBeforePanelShownHandlers, HasPanelShowHandlers, HasPanelHideHandlers, HasPanelSkipHandlers, com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected NavigationBar |
navigationBar |
protected java.util.Stack<Panel> |
stack |
alignment, enforcePolicy, hPolicy, members, membersMargin, minMemberSize, momentumScroll, overflow, paddingAsLayoutMargin, reverseOrder, valign, vertical_CONTENT_CHANGED_EVENT_TYPE, _CSS, _HISTORY_ENABLED, _REQUEST_SCROLL_TO_EVENT_TYPE, id, touched| Constructor and Description |
|---|
NavStack() |
NavStack(Panel panel) |
NavStack(java.lang.String title) |
NavStack(java.lang.String title,
com.google.gwt.resources.client.ImageResource icon) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
_addBeforePanelShownHandler(com.smartgwt.mobile.client.internal.widgets.events.BeforePanelShownHandler handler) |
java.lang.Object |
_getAttributeFromSplitLocator(java.util.List<java.lang.String> locatorArray,
com.smartgwt.mobile.client.internal.test.GetAttributeConfiguration configuration) |
com.smartgwt.mobile.client.internal.test.AutoTestLocatable |
_getChildFromLocatorSubstring(java.lang.String substring,
int index,
java.util.List<java.lang.String> locatorArray,
com.smartgwt.mobile.client.internal.test.GetAttributeConfiguration configuration) |
Action[] |
_getUnhandledActions(Action[] actions) |
boolean |
_isAnimating() |
com.google.gwt.event.shared.HandlerRegistration |
addPanelHideHandler(PanelHideHandler handler)
Executed when the left mouse is clicked (pressed and then released) on this widget.
|
com.google.gwt.event.shared.HandlerRegistration |
addPanelShowHandler(PanelShowHandler handler)
Executed when the left mouse is clicked (pressed and then released) on this widget.
|
com.google.gwt.event.shared.HandlerRegistration |
addPanelSkipHandler(PanelSkipHandler handler) |
protected java.lang.String |
buildHistory(int depth) |
void |
clear() |
Panel |
get(int i) |
ContainerFeatures |
getContainerFeatures() |
NavigationBar |
getNavigationBar() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
onLoad() |
void |
onUnload() |
void |
onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event) |
Panel |
pop() |
Panel |
pop(com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction) |
protected void |
popHistory() |
Panel |
popTo(Panel panel)
Pops off panels until
panel is in view. |
Panel |
popTo(Panel panel,
com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction) |
void |
push(Panel panel) |
protected void |
push(Panel panel,
com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction) |
protected void |
pushHistory() |
void |
setSinglePanel(Panel panel) |
void |
setVisible(boolean visible) |
int |
size() |
Panel |
top() |
_containerChanged, _getHeader, _getInnerAttributeFromSplitLocator, _getShowPanelHeader, getActions, getHeaderPosition, getIcon, getIconStyle, getPanelContainer, getShowPanelHeader, getTitle, getWheelDelta, setActions, setHeaderPosition, setIcon, setIconStyle, setShowPanelHeader, setTitleaddDragMoveHandler, addMember, addMember, addMember, addMember, addMembers, addMembers, addMembers, getEnforcePolicy, getHPolicy, getLayoutBottomMargin, getLayoutLeftMargin, getLayoutMargin, getLayoutRightMargin, getLayoutTopMargin, getManagePercentBreadth, getMember, getMember, getMemberNumber, getMemberNumber, getMembers, getMembersMargin, getMinMemberSize, getMomentumScroll, getOverflow, getPaddingAsLayoutMargin, getReverseOrder, getVertical, getVPolicy, hasMember, hideMember, hideMember, reflow, removeMember, removeMember, removeMembers, removeMembers, reorderMember, reorderMembers, setAlign, setAlign, setDefaultLayoutAlign, setDefaultLayoutAlign, setEnforcePolicy, setHPolicy, setLayoutBottomMargin, setLayoutLeftMargin, setLayoutMargin, setLayoutRightMargin, setLayoutTopMargin, setManagePercentBreadth, setMembers, setMembersMargin, setMinMemberSize, setMomentumScroll, setOverflow, setPaddingAsLayoutMargin, setReverseOrder, setVertical, setVisibleMember, setVPolicy, showMember, showMember_add, _booleanValue, _fireContentChangedEvent, _fireContentChangedEvent, _fireRequestScrollToEvent, _getAndroidWindowSoftInputMode, _getFixNavigationBarPositionDuringKeyboardFocus, _getHideTabBarDuringKeyboardFocus, _getInnerElement, _hideAddressBar, _hideAddressBarNow, _insert, _isDifferent, _isHDPIDisplay, _isIOS4OrOlder, _isIOS5, _isIOSMin6_0, _isStandaloneMode, _nativeParseFloat, _removeClassName, _setClassName, _setHandleDisabled, _sinkAnimationEndEvent, _sinkContentChangedEvent, _sinkFocusInEvent, _sinkFocusOutEvent, _sinkInputEvent, _sinkRequestScrollToEvent, _sinkTransitionEndEvent, _triggerDebugger, addChild, addChild, addChild, addClickHandler, addShowContextMenuHandler, destroy, disable, enable, getContextMenu, getID, getInnerHTML, getMargin, hasChild, hasChild, isAndroid, isDisabled, isEnabled, isIPad, isIPhone, isSafari, isStandAlone, isUIWebView, parseDimension, removeChild, removeChild, setContents, setContextMenu, setDisabled, setElement, setID, setMargin, setStyleName, split, useIOSNativeScrollingadd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, add, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setWidth, sinkBitlessEvent, toStringprotected NavigationBar navigationBar
protected java.util.Stack<Panel> stack
public NavStack()
public NavStack(java.lang.String title)
public NavStack(java.lang.String title,
com.google.gwt.resources.client.ImageResource icon)
public NavStack(Panel panel)
public java.lang.Object _getAttributeFromSplitLocator(java.util.List<java.lang.String> locatorArray,
com.smartgwt.mobile.client.internal.test.GetAttributeConfiguration configuration)
_getAttributeFromSplitLocator in interface com.smartgwt.mobile.client.internal.test.AutoTestLocatable_getAttributeFromSplitLocator in class Canvaspublic com.smartgwt.mobile.client.internal.test.AutoTestLocatable _getChildFromLocatorSubstring(java.lang.String substring,
int index,
java.util.List<java.lang.String> locatorArray,
com.smartgwt.mobile.client.internal.test.GetAttributeConfiguration configuration)
_getChildFromLocatorSubstring in interface com.smartgwt.mobile.client.internal.test.AutoTestLocatable_getChildFromLocatorSubstring in class Canvaspublic void onLoad()
onLoad in class com.google.gwt.user.client.ui.Widgetpublic void onUnload()
onUnload in class com.google.gwt.user.client.ui.Widgetpublic void setVisible(boolean visible)
setVisible in interface com.google.gwt.user.client.ui.HasVisibilitysetVisible in class com.google.gwt.user.client.ui.UIObjectpublic final NavigationBar getNavigationBar()
@SGWTInternal public final boolean _isAnimating()
protected void pushHistory()
protected void popHistory()
protected java.lang.String buildHistory(int depth)
public void push(Panel panel)
protected void push(Panel panel, com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction)
public Panel pop()
public Panel pop(com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction)
public Panel popTo(Panel panel)
panel is in view. panel is guaranteed to
be visible after this method completes, even if it means that the stack of panels in this
NavStack is emptied and then panel is pushed onto the stack.
For each panel that is skipped over (that is, it was not the visible panel, but it also
will not end up being the visible panel after this method completes), a
PanelSkipEvent is fired. After
all the PanelSkipEvents are fired,
there will be a PanelShowEvent fired
for the new panel in view and a PanelHideEvent
fired for the previously visible panel.
panel - the panel that should be visible after the operation completes.null if there was no previously
visible panel or the currently visible panel is panel.public Panel popTo(Panel panel, com.smartgwt.mobile.client.internal.util.AnimationUtil.Direction direction)
public Panel get(int i)
public void clear()
public Panel top()
public int size()
public void setSinglePanel(Panel panel)
public ContainerFeatures getContainerFeatures()
getContainerFeatures in interface PanelContainerpublic Action[] _getUnhandledActions(Action[] actions)
_getUnhandledActions in interface com.smartgwt.mobile.client.internal.widgets.AdvancedPanelContainerpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class Canvaspublic com.google.gwt.event.shared.HandlerRegistration _addBeforePanelShownHandler(com.smartgwt.mobile.client.internal.widgets.events.BeforePanelShownHandler handler)
_addBeforePanelShownHandler in interface com.smartgwt.mobile.client.internal.widgets.events.HasBeforePanelShownHandlerspublic com.google.gwt.event.shared.HandlerRegistration addPanelHideHandler(PanelHideHandler handler)
HasPanelHideHandlersaddPanelHideHandler in interface HasPanelHideHandlershandler - the click handlerHandlerRegistration used to remove this handlerpublic com.google.gwt.event.shared.HandlerRegistration addPanelShowHandler(PanelShowHandler handler)
HasPanelShowHandlersaddPanelShowHandler in interface HasPanelShowHandlershandler - the click handlerHandlerRegistration used to remove this handlerpublic com.google.gwt.event.shared.HandlerRegistration addPanelSkipHandler(PanelSkipHandler handler)
addPanelSkipHandler in interface HasPanelSkipHandlerspublic void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>