|
|||||||||||
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.ButtonDesignModelImp com.cc.framework.ui.model.imp.MenuButtonDesignModelImp
MenuButtonDesignModel implementation
Field Summary | |
private ImageMap |
imageMap
The image map that will be used to render the images in front of the menu options |
private java.util.ArrayList |
items
Buffer with the sub menu items |
private java.lang.String |
popupid
The id of the popup menu |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.ui.model.imp.ButtonDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
MenuButtonDesignModelImp()
Constructor |
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 class com.cc.framework.ui.model.imp.ButtonDesignModelImp |
filter, getBase, getButtonStyle, getButtonType, getSrc, getTarget, getText, setBase, setButtonStyle, setButtonType, setFilter, setSrc, setTarget, setText |
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.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 |
Field Detail |
private static final long serialVersionUID
private java.lang.String popupid
private ImageMap imageMap
private java.util.ArrayList items
Constructor Detail |
public MenuButtonDesignModelImp()
Method Detail |
public void setPopupId(java.lang.String id)
MenuButtonDesignModel
setPopupId
in interface MenuButtonDesignModel
id
- menu idMenuButtonDesignModel.setPopupId(java.lang.String)
public java.lang.String getPopupId()
getPopupId
in interface MenuButtonDesignModel
MenuButtonDesignModel.getPopupId()
public MenuButtonDesignModel addItem(MenuItem item)
MenuButtonDesignModel
addItem
in interface MenuButtonDesignModel
item
- MenuItemDesignModel
MenuButtonDesignModel.addItem(com.cc.framework.ui.model.MenuItem)
public MenuItem[] getContent()
MenuButtonDesignModel
getContent
in interface MenuButtonDesignModel
MenuButtonDesignModel.getContent()
public ImageMap getImageMap()
MenuButtonDesignModel
getImageMap
in interface MenuButtonDesignModel
MenuButtonDesignModel.getImageMap()
public MenuButtonDesignModel removeItem(MenuItem item)
MenuButtonDesignModel
removeItem
in interface MenuButtonDesignModel
item
- MenuItemDesignModel
MenuButtonDesignModel.removeItem(com.cc.framework.ui.model.MenuItem)
public void setImageMap(ImageMap map)
MenuButtonDesignModel
setImageMap
in interface MenuButtonDesignModel
map
- ImageMapMenuButtonDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public int size()
MenuButtonDesignModel
size
in interface MenuButtonDesignModel
MenuButtonDesignModel.size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |