|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
DesignModel for the MenuControl
| Method Summary | |
MenuDesignModel |
addItem(MenuItem item)
Adds an Item to the Menu |
java.lang.String |
getAction()
Returns the Action |
MenuItem[] |
getContent()
Returns an Array with the MenuItems |
java.lang.String |
getHeight()
Returns the Height |
ImageMap |
getImageMap()
Returns the ImageMap used by the Menu |
java.lang.String |
getMenuId()
Returns the Id |
MenuType |
getType()
Returns the MenuType |
java.lang.String |
getWidth()
Returns the Width |
MenuDesignModel |
removeItem(MenuItem item)
Removes a MenuItem |
void |
setAction(java.lang.String action)
Sets the Action |
void |
setHeight(java.lang.String height)
Sets the Height of the Menu |
void |
setImageMap(ImageMap map)
Assigns an ImageMap to the Menu |
void |
setMenuId(java.lang.String menuid)
Sets the Menu Id |
void |
setType(MenuType type)
Sets the MenuType |
void |
setWidth(java.lang.String width)
Sets the Width of the Menu |
int |
size()
Returns the Number of MenuItems |
| Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getBorder, getDesignRules, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction |
| 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 |
| Method Detail |
public void setType(MenuType type)
type - MenuTypepublic void setMenuId(java.lang.String menuid)
menuid - Idpublic void setAction(java.lang.String action)
setAction in interface ControlDesignModelaction - Actionpublic void setWidth(java.lang.String width)
setWidth in interface ControlDesignModelwidth - Widthpublic void setHeight(java.lang.String height)
setHeight in interface ControlDesignModelheight - Heightpublic void setImageMap(ImageMap map)
map - ImageMappublic MenuType getType()
public java.lang.String getMenuId()
public java.lang.String getAction()
getAction in interface ControlDesignModelpublic java.lang.String getWidth()
getWidth in interface ControlDesignModelpublic java.lang.String getHeight()
getHeight in interface ControlDesignModelpublic ImageMap getImageMap()
public MenuDesignModel addItem(MenuItem item)
item - MenuItemDesignModel
public MenuDesignModel 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 | ||||||||||