java.lang.Object
jac.aspects.gui.web.AbstractView
jac.aspects.gui.web.AbstractMenu
- All Implemented Interfaces:
- HTMLViewer, MenuListener, jac.aspects.gui.MenuView, jac.aspects.gui.View
- Direct Known Subclasses:
- Menu, MenuBar
- public abstract class AbstractMenu
- extends AbstractView
- implements jac.aspects.gui.MenuView, HTMLViewer, MenuListener
| Fields inherited from class jac.aspects.gui.web.AbstractView |
closed, column, context, description, factory, height, isCellViewer, javascript, label, message, parameters, parentView, row, style, styleSheet, table, type, viewBorder, width |
| Methods inherited from class jac.aspects.gui.web.AbstractView |
close, equals, eventURL, eventURL, genBody, genPage, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isInForm, setColumn, setContext, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate |
map
java.util.HashMap map
keys
java.util.Vector keys
position
java.lang.String position
AbstractMenu
public AbstractMenu(jac.aspects.gui.ViewFactory factory,
jac.aspects.gui.DisplayContext context)
addSubMenu
public void addSubMenu(java.lang.String label,
java.lang.String icon,
jac.aspects.gui.MenuView submenu)
- Description copied from interface:
jac.aspects.gui.MenuView
- Adds a sub-menu in this menu.
- Specified by:
addSubMenu in interface jac.aspects.gui.MenuView
addAction
public void addAction(java.lang.String label,
java.lang.String icon,
jac.aspects.gui.Callback callback)
- Description copied from interface:
jac.aspects.gui.MenuView
- Adds an action to this menu.
- Specified by:
addAction in interface jac.aspects.gui.MenuView
addSeparator
public void addSeparator()
- Description copied from interface:
jac.aspects.gui.MenuView
- Adds a separator in this menu.
- Specified by:
addSeparator in interface jac.aspects.gui.MenuView
getPosition
public java.lang.String getPosition()
- Get the value of position.
- Specified by:
getPosition in interface jac.aspects.gui.MenuView
setPosition
public void setPosition(java.lang.String v)
- Set the value of position.
- Specified by:
setPosition in interface jac.aspects.gui.MenuView
onMenuClick
public void onMenuClick(java.lang.String key)
- Description copied from interface:
MenuListener
- Called when the user clicks on an item.
- Specified by:
onMenuClick in interface MenuListener