|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.ControlDesignModelImp com.cc.framework.ui.model.imp.MenuDesignModelImp
Designmodel for the MenuControl
Field Summary | |
private ImageMap |
imagemap
An ImageMap with images if the menu items are made of images. |
private java.util.ArrayList |
items
Buffer with the sub menu items |
private java.lang.String |
menuid
The Menu Id |
private static long |
serialVersionUID
Serial Version UID |
private MenuType |
type
The type of the menu |
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
MenuDesignModelImp()
Constructor for MenuDesignModelImp |
Method Summary | |
MenuDesignModel |
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 |
getMenuId()
Returns the Id |
MenuType |
getType()
Returns the MenuType |
MenuDesignModel |
removeItem(MenuItem item)
Removes a MenuItem |
void |
setImageMap(ImageMap imagemap)
Assigns an ImageMap to the Menu |
void |
setMenuId(java.lang.String menuid)
Sets the Menu Id |
void |
setType(MenuType type)
Sets the MenuType |
int |
size()
Returns the Number of MenuItems |
Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, 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, show |
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cc.framework.ui.model.MenuDesignModel |
getAction, getHeight, getWidth, setAction, setHeight, setWidth |
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 |
Field Detail |
private static final long serialVersionUID
private java.lang.String menuid
private java.util.ArrayList items
private MenuType type
private ImageMap imagemap
Constructor Detail |
public MenuDesignModelImp()
Method Detail |
public MenuDesignModel addItem(MenuItem item)
MenuDesignModel
addItem
in interface MenuDesignModel
item
- MenuItemDesignModel
MenuDesignModel.addItem(com.cc.framework.ui.model.MenuItem)
public MenuDesignModel removeItem(MenuItem item)
MenuDesignModel
removeItem
in interface MenuDesignModel
item
- MenuItemDesignModel
MenuDesignModel.removeItem(com.cc.framework.ui.model.MenuItem)
public MenuItem[] getContent()
MenuDesignModel
getContent
in interface MenuDesignModel
MenuDesignModel.getContent()
public int size()
MenuDesignModel
size
in interface MenuDesignModel
MenuDesignModel.size()
public MenuType getType()
MenuDesignModel
getType
in interface MenuDesignModel
MenuDesignModel.getType()
public void setType(MenuType type)
MenuDesignModel
setType
in interface MenuDesignModel
type
- MenuTypeMenuDesignModel.setType(com.cc.framework.ui.MenuType)
public ImageMap getImageMap()
MenuDesignModel
getImageMap
in interface MenuDesignModel
MenuDesignModel.getImageMap()
public void setImageMap(ImageMap imagemap)
MenuDesignModel
setImageMap
in interface MenuDesignModel
imagemap
- ImageMapMenuDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public java.lang.String getMenuId()
MenuDesignModel
getMenuId
in interface MenuDesignModel
MenuDesignModel.getMenuId()
public void setMenuId(java.lang.String menuid)
MenuDesignModel
setMenuId
in interface MenuDesignModel
menuid
- IdMenuDesignModel.setMenuId(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |