|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.UIContainer<IMenuBar>
javax.rad.genui.menu.UIMenuBar
public class UIMenuBar
Platform and technology independent menu bar. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
JMenuBar
Field Summary |
---|
Fields inherited from class javax.rad.genui.UIContainer |
---|
allComponents, components |
Fields inherited from class javax.rad.genui.UIComponent |
---|
bTranslate, lLastTranslationModified, parent, popupMenu |
Fields inherited from class javax.rad.genui.UIResource |
---|
uiResource |
Constructor Summary | |
---|---|
|
UIMenuBar()
Creates a new instance of UIMenuBar . |
protected |
UIMenuBar(IMenuBar pMenuBar)
Creates a new instance of UIMenuBar wit the given
menu bar. |
Method Summary | |
---|---|
void |
add(IComponent pComponent,
java.lang.Object pConstraints,
int pIndex)
Adds the specified IComponent to this container with the specified
constraints at the specified index. |
void |
setParent(IContainer pParent)
Sets the parent of this component. |
Methods inherited from class javax.rad.genui.UIContainer |
---|
add, add, add, addInternal, addNotify, beforeAddNotify, checkAdd, contains, getComponent, getComponentCount, getComponents, getInsets, getLayout, getUIResourceContainer, indexOf, remove, remove, removeAll, removeInternal, removeNotify, setLayout, setUIResourceContainer, setZOrder, updateTranslation |
Methods inherited from class javax.rad.genui.UIResource |
---|
eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getUIResource, hasResourceHandler, putObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.rad.ui.IContainer |
---|
add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Constructor Detail |
---|
public UIMenuBar()
UIMenuBar
.
IMenuBar
protected UIMenuBar(IMenuBar pMenuBar)
UIMenuBar
wit the given
menu bar.
pMenuBar
- the menu barIMenuBar
Method Detail |
---|
public void setParent(IContainer pParent)
setParent
in interface IComponent
setParent
in class UIComponent<IMenuBar>
pParent
- the parent container of this componentpublic void add(IComponent pComponent, java.lang.Object pConstraints, int pIndex)
IComponent
to this container with the specified
constraints at the specified index. Also notifies the layout
manager to add the component to the this container's layout using
the specified constraints object.
add
in interface IContainer
add
in class UIContainer<IMenuBar>
pComponent
- the IComponent
to be addedpConstraints
- an object expressing layout contraints for thispIndex
- the position in the container's list at which to insert
the IComponent
; -1
means insert at the end
componentIComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |