com.bstek.dorado.view.widget.base.toolbar
public class MenuButton extends Button
Constructor and Description |
---|
MenuButton() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(BaseMenuItem menuItem) |
protected Menu |
getEmbededMenu(boolean create) |
int |
getHideMenuOnMouseLeaveDelay() |
java.util.List<BaseMenuItem> |
getItems() |
java.lang.String |
getMenu() |
boolean |
isHideMenuOnMouseLeave() |
boolean |
isShowMenuOnHover() |
void |
setHideMenuOnMouseLeave(boolean hideMenuOnMouseLeave) |
void |
setHideMenuOnMouseLeaveDelay(int hideMenuOnMouseLeaveDelay) |
void |
setItems(java.util.List<BaseMenuItem> items) |
void |
setMenu(java.lang.String menu) |
void |
setShowMenuOnHover(boolean showMenuOnHover) |
getCaption, getIcon, getIconClass, getShowTrigger, getSplitButton, isTriggerToggled, setCaption, setIcon, setIconClass, setShowTrigger, setSplitButton, setTriggerToggled
getAction, isDisabled, isToggleable, isToggled, isToggleOnShowMenu, setAction, setDisabled, setToggleable, setToggled, setToggleOnShowMenu
getClassName, getDragTags, getDroppableTags, getExClassName, getHeight, getHideMode, getLayoutConstraint, getRenderOn, getRenderTo, getStyle, getTip, getUi, getVisible, getWidth, isDraggable, isDroppable, setClassName, setDraggable, setDragTags, setDroppable, setDroppableTags, setExClassName, setHeight, setHideMode, setLayoutConstraint, setRenderOn, setRenderTo, setStyle, setTip, setUi, setVisible, setWidth
createClientEventHolder, getUserData, getViewConfig, setUserData
addClientEventListener, clearClientEventListeners, getAllClientEventListeners, getClientEventListeners
getId, getInnerElements, getMetaData, getParent, getTags, getView, isIgnored, registerInnerElement, setId, setIgnored, setMetaData, setParent, setTags, unregisterInnerElement
protected Menu getEmbededMenu(boolean create)
public void addItem(BaseMenuItem menuItem)
public java.util.List<BaseMenuItem> getItems()
public void setItems(java.util.List<BaseMenuItem> items)
public java.lang.String getMenu()
getMenu
in class AbstractButton
public void setMenu(java.lang.String menu)
setMenu
in class AbstractButton
public boolean isShowMenuOnHover()
public void setShowMenuOnHover(boolean showMenuOnHover)
public boolean isHideMenuOnMouseLeave()
public void setHideMenuOnMouseLeave(boolean hideMenuOnMouseLeave)
public int getHideMenuOnMouseLeaveDelay()
public void setHideMenuOnMouseLeaveDelay(int hideMenuOnMouseLeaveDelay)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.