|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.container.InternalToolBarPanel
public class InternalToolBarPanel
The InternalToolBarPanel is an UIContainer for
IToolBars.
| Constructor Summary | |
|---|---|
InternalToolBarPanel(UIContainer<? extends IToolBarPanel> pOwner)
Creates a new instance of InternalToolBarPanel with an owner. |
|
| Method Summary | |
|---|---|
void |
addNotify()
Notification to forward addNotify to all sub toolbars. |
void |
addToolBar(IToolBar pToolBar,
int pIndex)
Adds a toolbar to this panel at a specified index. |
IToolBar |
getToolBar(int pIndex)
Gets the IToolBar from a specific index. |
int |
getToolBarArea()
Gets the area where the toolbar(s) are added. |
int |
getToolBarCount()
Gets the number of IToolBars in this panel. |
int |
indexOfToolBar(IToolBar pToolBar)
Gets the nth position of an IToolBar in this panel. |
boolean |
isNotified()
Gets if the InternalToolBarPanel was notified about addNotify. |
void |
removeNotify()
Notification to forward removeNotify to all sub toolbars. |
void |
removeToolBar(int pIndex)
Removes a toolbar from this panel. |
void |
removeToolBar(IToolBar pToolBar)
Removes a toolbar from this panel. |
void |
setToolBarArea(int pArea)
Sets the display area where the toolbars will be added. |
void |
updateTranslation()
Notification for updating the translation of all sub toolbars. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalToolBarPanel(UIContainer<? extends IToolBarPanel> pOwner)
InternalToolBarPanel with an owner.
pOwner - the owner of the internal toolbar| Method Detail |
|---|
public void addToolBar(IToolBar pToolBar,
int pIndex)
pToolBar - the toolbar to be addedpIndex - the index for the toolbarpublic void removeToolBar(int pIndex)
pIndex - the toolbarpublic void removeToolBar(IToolBar pToolBar)
pToolBar - the toolbarpublic int getToolBarCount()
IToolBars in this panel.
public IToolBar getToolBar(int pIndex)
IToolBar from a specific index.
pIndex - the index
pIndexpublic int indexOfToolBar(IToolBar pToolBar)
IToolBar in this panel.
pToolBar - the IToolBar to search
pToolBar in this panel or
-1 if pToolBar is not addedpublic void setToolBarArea(int pArea)
pArea - an area constant IToolBarPanel.AREA_TOP, IToolBarPanel.AREA_LEFT,
IToolBarPanel.AREA_BOTTOM, IToolBarPanel.AREA_RIGHTpublic int getToolBarArea()
IToolBarPanel.AREA_TOP, IToolBarPanel.AREA_LEFT,
IToolBarPanel.AREA_BOTTOM, IToolBarPanel.AREA_RIGHTpublic void updateTranslation()
public void addNotify()
addNotify to all sub toolbars.
public boolean isNotified()
InternalToolBarPanel was notified about addNotify.
true if addNotify was called; false otherwisepublic void removeNotify()
removeNotify to all sub toolbars.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||