public class MaterialSideNavPush extends AbstractSideNav implements HasWithHeader
MaterialSideNav that pushes
the MaterialContainer, MaterialHeader, and MaterialFooter when
opening and closing the sidenav.
<m:MaterialSideNavPush ui:field="sideNav" width="280" withHeader="false" m:id="mysidebar" closeOnClick="false">
<m:MaterialLink href="#about" iconPosition="LEFT" iconType="OUTLINE" text="About" textColor="BLUE" />
<m:MaterialLink href="#gettingStarted" iconPosition="LEFT" iconType="DOWNLOAD" text="Getting Started" textColor="BLUE" >
</m:MaterialSideNav>
MaterialWidget.Featurecom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabledactivator, allowBodyScroll, alwaysShowActivator, closeOnClick, edge, inDuration, open, outDuration, showOnAttach, width$this| Constructor and Description |
|---|
MaterialSideNavPush() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyBodyScroll() |
protected void |
applyPushType()
Push the header, footer, and main to the right part when Close type is applied.
|
protected void |
applyPushWithHeader() |
boolean |
isWithHeader() |
protected void |
onClosing() |
protected void |
onOpening() |
protected void |
onPush(boolean toggle,
int width) |
protected void |
pushElements(boolean toggle,
int width) |
protected void |
setup()
Override the type of your sidenav.
|
void |
setWithHeader(boolean withHeader) |
add, addClosedHandler, addClosingHandler, addOpenedHandler, addOpeningHandler, applyTransition, applyTransition, clearActive, getActivator, getEdge, getFooter, getHeader, getInDuration, getMain, getNavMenu, getOutDuration, getTypeMixin, getWidth, hide, hideOverlay, insert, isAllowBodyScroll, isAlwaysShowActivator, isCloseOnClick, isOpen, isShowOnAttach, isSmall, load, load, onAttach, onClosed, onDetach, onLoad, onOpened, onUnload, pushElement, pushElementMargin, reload, setActive, setAllowBodyScroll, setAlwaysShowActivator, setCloseOnClick, setEdge, setEnabled, setInDuration, setOutDuration, setShowOnAttach, setType, setWidth, setWidth, show, unload, wrap$this, add, addAttachHandler, addBlurHandler, addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDragOverHandler, addDragStartHandler, addDropActivateHandler, addDropDeactivateHandler, addDropHandler, addFocusHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addOrientationChangeHandler, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, body, clearActiveClass, enableFeature, getBackfaceVisibility, getBackgroundColor, getBorder, getBorderBottom, getBorderLeft, getBorderMixin, getBorderRadius, getBorderRight, getBorderTop, getCenterOn, getCenterOnMixin, getChildren, getChildrenList, getCircleMixin, getColorsMixin, getDataAttribute, getDepth, getDimensionMixin, getEnabledMixin, getFlexboxMixin, getFloat, getFloatMixin, getFocusableMixin, getFontSize, getFontSizeMixin, getFontWeight, getFontWeightMixin, getGridMixin, getHandlerRegistry, getHideOn, getHideOnMixin, getHoverableMixin, getId, getIdMixin, getInitialClasses, getLayoutPosition, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getOrientation, getOrientationMixin, getPerspective, getPerspectiveOrigin, getScrollspy, getScrollspyMixin, getSeparatorMixin, getShadow, getShadowMixin, getShowOn, getShowOnMixin, getTabIndex, getTextAlign, getTextAlignMixin, getTextColor, getTooltip, getTooltipDelayMs, getTooltipHTML, getTooltipMixin, getTooltipPosition, getTransform, getTransformMixin, getTransformOrigin, getTransformStyle, getTruncateMixin, getVerticalAlign, getVerticalAlignMixin, getWaves, getWavesMixin, insert, isCircle, isDetectOrientation, isEnabled, isFeatureEnabled, isHoverable, isSeparator, isTruncate, registerHandler, removeHandler, setAccessKey, setBackfaceVisibility, setBackgroundColor, setBorder, setBorderBottom, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBottom, setCenterOn, setCircle, setClass, setDataAttribute, setDepth, setDetectOrientation, setDisplay, setFlex, setFlexAlignContent, setFlexAlignItems, setFlexAlignSelf, setFlexBasis, setFlexDirection, setFlexGrow, setFlexJustifyContent, setFlexOrder, setFlexShrink, setFlexWrap, setFloat, setFocus, setFontSize, setFontSize, setFontWeight, setGrid, setGwtDisplay, setHideOn, setHoverable, setId, setInitialClasses, setLayoutPosition, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOffset, setOpacity, setOrientation, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPerspective, setPerspectiveOrigin, setRight, setScrollspy, setSeparator, setShadow, setShowOn, setStyle, setTabIndex, setTextAlign, setTextColor, setTooltip, setTooltipDelayMs, setTooltipHTML, setTooltipPosition, setTop, setTransform, setTransformOrigin, setTransformStyle, setTransition, setTruncate, setVerticalAlign, setVisibility, setWaves, stopTouchStartEvent, validate, windowadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetVisibleforEach, spliteratorpublic MaterialSideNavPush()
protected void setup()
AbstractSideNavMaterialSideNavDrawer, MaterialSideNavCard, MaterialSideNavMini, MaterialSideNavPushsetup in class AbstractSideNavprotected void applyPushType()
protected void applyPushWithHeader()
protected void applyBodyScroll()
applyBodyScroll in class AbstractSideNavprotected void onClosing()
onClosing in class AbstractSideNavprotected void onOpening()
onOpening in class AbstractSideNavprotected void pushElements(boolean toggle, int width)
protected void onPush(boolean toggle, int width)
public void setWithHeader(boolean withHeader)
setWithHeader in interface HasWithHeaderpublic boolean isWithHeader()
isWithHeader in interface HasWithHeaderCopyright © 2018. All rights reserved.