public class IlxWMenuBar
extends ilog.webui.dhtml.components.IlxWMenuHolder
add(IlxWMenu) method.IlxWComponent.DynamicStyleMapmenuItemDescriptor, menuItemDisabled, menuItemHighlighted, menuItemNames, menuItemNormal, menuItemSeparatorlistenerList| Constructor and Description |
|---|
IlxWMenuBar() |
| Modifier and Type | Method and Description |
|---|---|
IlxWMenu |
add(IlxWMenu menu)
Adds a menu to this menu bar.
|
protected void |
doPrint(IlxWPort port) |
protected IlxWCSSRuleset |
getUserAgentRules()
Gets the "user-agent" CSS rules.
|
protected void |
printComponent(IlxWPort port)
Prints the HTML code that will display the graphical
representation of this component.
|
void |
setDHtml(boolean dhtml)
Sets the value of the DHTML style property.
|
boolean |
supportsDHtml(IlxWPort port)
Tells whether this component supports the DHTML mode
according to the given port.
|
addPropertyChangeListener, addPropertyChangeListener, detach, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerprotected void doPrint(IlxWPort port) throws java.io.IOException
doPrint in class IlxWComponentjava.io.IOExceptionprotected void printComponent(IlxWPort port) throws java.io.IOException
IlxWComponentIlxWComponent.print(ilog.webui.dhtml.IlxWPort) method.printComponent in class IlxWComponentjava.io.IOExceptionport - The port on which the component will be printed.IlxWComponent.print(ilog.webui.dhtml.IlxWPort)public void setDHtml(boolean dhtml)
true and if the component
supports the DHTML mode (see supportsDHtml(ilog.webui.dhtml.IlxWPort)), the menu bar
will be displayed as as a lightweight
DHTML menu bar.
Otherwise, the menu bar will be displayed with as a list of
<select> HTML element.dhtml - if true, the component will be displayed in DHTML
mode if the component supports the DHTML mode.public boolean supportsDHtml(IlxWPort port)
port - the current portprotected IlxWCSSRuleset getUserAgentRules()
IlxWContainersetAuthorRules method.
This method returns null by default but is intended
to be redefined by subclasses.
getUserAgentRules in class IlxWContainerIlxWContainer.setAuthorRules(ilog.webui.dhtml.IlxWCSSRuleset)© Copyright IBM Corp. 1987, 2017