@Deprecated public class IlxWMenu extends IlxWMenuItem
Each item in a menu must belong to the MenuItem class. It can be
an instance of IlxWMenuItem, or IlxWMenu if it is a
submenu.
IlxWComponent.DynamicStyleMaplistenerList| Constructor and Description |
|---|
IlxWMenu()
Deprecated.
Constructs a new menu with an empty label.
|
IlxWMenu(java.lang.String text)
Deprecated.
Constructs a new menu with the specified label.
|
| Modifier and Type | Method and Description |
|---|---|
IlxWMenuItem |
add(IlxWMenuItem item)
Deprecated.
Adds the specified menu item to this menu.
|
void |
addSeparator()
Deprecated.
Adds a separator to this menu.
|
protected void |
printComponent(IlxWPort port)
Deprecated.
Prints the HTML code that will display the graphical
representation of this component.
|
getAction, getIcon, getText, isEnabled, isRoot, notifyDependencies, setAction, setEnabled, setIcon, setTextaddPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerpublic IlxWMenu()
public IlxWMenu(java.lang.String text)
text - The menu label in the menu bar or in another menu
of which this menu is a submenu.public IlxWMenuItem add(IlxWMenuItem item)
item - The menu item to be added.public void addSeparator()
protected void printComponent(IlxWPort port) throws java.io.IOException
IlxWComponentIlxWComponent.print(ilog.webui.dhtml.IlxWPort) method.printComponent in class IlxWMenuItemjava.io.IOExceptionport - The port on which the component will be printed.IlxWComponent.print(ilog.webui.dhtml.IlxWPort)© Copyright IBM Corp. 1987, 2024