public class HeaderMenuItem extends Item
Modifier and Type | Class and Description |
---|---|
static interface |
HeaderMenuItem.HeaderMenuItemAppearance |
Item.ItemAppearance
canActivate, hideOnClick
adjustSize, allowTextSelection, cacheSizes, disableContextMenu, disabled, disabledStyle, ensureVisibilityOnSizing, height, hidden, lastSize, layer, left, mask, maskMessage, monitorWindowResize, pageX, pageY, resizeHandler, shim, tabIndex, toolTip, toolTipConfig, top, width, windowResizeDelay, windowResizeTask
Constructor and Description |
---|
HeaderMenuItem() |
HeaderMenuItem(HeaderMenuItem.HeaderMenuItemAppearance appearance)
Creates a new header menu item.
|
HeaderMenuItem(SafeHtml html) |
HeaderMenuItem(SafeHtml html,
HeaderMenuItem.HeaderMenuItemAppearance appearance) |
HeaderMenuItem(String html) |
HeaderMenuItem(String html,
HeaderMenuItem.HeaderMenuItemAppearance appearance)
Creates a new header menu item.
|
Modifier and Type | Method and Description |
---|---|
String |
getHTML() |
String |
getText() |
void |
setHTML(SafeHtml html) |
void |
setText(String text) |
activate, addActivateHandler, addBeforeSelectionHandler, addDeactivateHandler, addSelectionHandler, deactivate, expandMenu, getAppearance, getHideOnClick, handleClick, isCanActivate, onAttach, onClick, onDisable, onEnable, onEscape, setCanActivate, setHideOnClick, shouldDeactivate
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleDependentName, addStyleOnOver, adjustPosition, adjustSize, applyState, assertAfterRender, assertPreRender, blur, clearSizeCache, disable, disableContextMenu, disableEvents, enable, enableEvents, fireCancellableEvent, fireEvent, focus, getData, getElement, getFocusEl, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getPositionEl, getShadow, getShadowPosition, getStateId, getTabIndex, getToolTip, hide, hideShadow, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isMonitorWindowResize, isRendered, isStateful, isVisible, isVisible, mask, mask, notifyHide, notifyShow, onAfterFirstAttach, onBlur, onBrowserEvent, onDetach, onFocus, onHide, onHideContextMenu, onLoad, onPosition, onResize, onRightClick, onShow, onShowContextMenu, onUnload, onWindowResize, removeStyleDependentName, removeStyleOnOver, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setMonitorWindowResize, setPagePosition, setPixelSize, setPosition, setShadow, setShadowPosition, setSize, setStateful, setStateId, setStyleDependentName, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
public HeaderMenuItem(HeaderMenuItem.HeaderMenuItemAppearance appearance)
public HeaderMenuItem()
public HeaderMenuItem(String html, HeaderMenuItem.HeaderMenuItemAppearance appearance)
html
- the text as HTMLpublic HeaderMenuItem(SafeHtml html, HeaderMenuItem.HeaderMenuItemAppearance appearance)
public HeaderMenuItem(String html)
public HeaderMenuItem(SafeHtml html)
Copyright © 2018. All rights reserved.