|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Design model of the Menu Button Control
Method Summary | |
MenuButtonDesignModel |
addItem(MenuItem item)
Adds an Item to the Menu |
MenuItem[] |
getContent()
Returns an Array with the MenuItems |
ImageMap |
getImageMap()
Returns the ImageMap used by the Menu |
java.lang.String |
getPopupId()
|
MenuButtonDesignModel |
removeItem(MenuItem item)
Removes a MenuItem |
void |
setImageMap(ImageMap map)
Assigns an ImageMap to the Menu |
void |
setPopupId(java.lang.String id)
Assigns the id of the buttons popup menu. |
int |
size()
Returns the Number of MenuItems |
Methods inherited from interface com.cc.framework.ui.model.ButtonDesignModel |
filter, getButtonStyle, getButtonType, getSrc, getTarget, getText, setButtonStyle, setButtonType, setFilter, setSrc, setTarget, setText |
Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth |
Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
Methods inherited from interface com.cc.framework.ui.WebResourceAccess |
getBase, setBase |
Method Detail |
public void setPopupId(java.lang.String id)
id
- menu idpublic java.lang.String getPopupId()
public void setImageMap(ImageMap map)
map
- ImageMappublic ImageMap getImageMap()
public MenuButtonDesignModel addItem(MenuItem item)
item
- MenuItemDesignModel
public MenuButtonDesignModel removeItem(MenuItem item)
item
- MenuItemDesignModel
public MenuItem[] getContent()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |