|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Menu item
Method Summary | |
MenuItem |
addItem(MenuItem item)
Adds a SubMenuItem to the MenuItem |
java.lang.String |
getAction()
Returns the Action |
MenuItem[] |
getContent()
Returns a List with all SubMenuItems |
java.lang.String |
getImageRef()
Returns the Role which specifies an Image in an ImageMap |
java.lang.String |
getLocaleName()
Gets the Local Setting for this element |
java.lang.String |
getMenuFilter()
Returns the menu Filter |
java.lang.String |
getMenuId()
Returns the Menu Id |
OrientationType |
getOrientation()
Retrieves the orientation of sub menu items |
MenuItem |
getParent()
Returns a reference to the parent element |
java.lang.String |
getShortcut()
Returns the Shortcut |
int |
getState()
Returns the Menu State flags ( MenuState ) |
java.lang.String |
getTarget()
Returns the Target |
java.lang.String |
getText()
Returns the Text |
java.lang.String |
getTooltip()
Returns the static tooltip text |
java.lang.String |
getWidth()
Returns the Width |
MenuItem |
removeItem(MenuItem item)
Removes a SubMenuItem from the List |
void |
setAction(java.lang.String action)
Sets the Action |
void |
setImageRef(java.lang.String ref)
Assigns an Image from an image map to the MenuItem |
void |
setLocaleName(java.lang.String locale)
Sets the Locale configuration for this element |
void |
setMenuFilter(java.lang.String filter)
Sets the menu Filter |
void |
setMenuId(java.lang.String menuid)
Sets the Menu Id |
void |
setOrientation(OrientationType orientation)
Specifies the orientation of sub menu items: horizontal = from top to bottom vertical = from left to right |
void |
setParent(MenuItem parent)
Sets the reference to the parent element |
void |
setPermission(Permission permission)
Sets a list with permissions needed to access this object. |
void |
setShortcut(java.lang.String shortcut)
Sets the Shortcut |
void |
setState(int state)
Sets the Menu State |
void |
setTarget(java.lang.String target)
Sets the Target |
void |
setText(java.lang.String text)
sets the Text |
void |
setTooltip(java.lang.String tooltip)
Sets the static tooltip text. |
void |
setWidth(java.lang.String width)
Sets the Width |
int |
size()
Returns the Number of SubMenuItems |
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 |
Method Detail |
public MenuItem getParent()
public void setParent(MenuItem parent)
parent
- MenuItemDesignModelpublic void setMenuId(java.lang.String menuid)
menuid
- menu idpublic void setAction(java.lang.String action)
action
- Actionpublic void setState(int state)
state
- the state flags (MenuState
)public void setText(java.lang.String text)
text
- Textpublic void setShortcut(java.lang.String shortcut)
shortcut
- Stringpublic void setWidth(java.lang.String width)
width
- Widthpublic void setTarget(java.lang.String target)
target
- Targetpublic void setMenuFilter(java.lang.String filter)
filter
- Filterpublic void setImageRef(java.lang.String ref)
ref
- ImageRefpublic java.lang.String getMenuId()
public java.lang.String getAction()
public int getState()
MenuState
)
public java.lang.String getText()
public java.lang.String getShortcut()
public java.lang.String getWidth()
public java.lang.String getTarget()
public java.lang.String getMenuFilter()
public void setLocaleName(java.lang.String locale)
locale
- Locale Identifier or true|false
public java.lang.String getLocaleName()
public java.lang.String getImageRef()
public MenuItem addItem(MenuItem item)
item
- MenuItemDesignModel
public MenuItem removeItem(MenuItem item)
item
- MenuItemDesignModel
public MenuItem[] getContent()
public int size()
public void setPermission(Permission permission)
permission
- Permissionpublic void setTooltip(java.lang.String tooltip)
tooltip
- Tooltip textpublic java.lang.String getTooltip()
public void setOrientation(OrientationType orientation)
orientation
- The orientation of sub menu itemspublic OrientationType getOrientation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |