|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IToolBarPanel
Platform and technology independent toolbar panel definition. It is designed for use with AWT, Swing, SWT, JSP, JSF,... . A root panel is a special container with toolbar areas.
| Field Summary | |
|---|---|
static int |
AREA_BOTTOM
the bottom toolbar area. |
static int |
AREA_LEFT
the left toolbar area. |
static int |
AREA_RIGHT
the right toolbar area. |
static int |
AREA_TOP
the top toolbar area. |
| Method Summary | |
|---|---|
void |
addToolBar(IToolBar pToolBar)
Adds a toolbar to this panel as last component. |
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. |
void |
removeAllToolBars()
Removes all toolbars from this panel. |
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. |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Field Detail |
|---|
static final int AREA_TOP
static final int AREA_LEFT
static final int AREA_BOTTOM
static final int AREA_RIGHT
| Method Detail |
|---|
void addToolBar(IToolBar pToolBar)
pToolBar - the toolbar to be added
void addToolBar(IToolBar pToolBar,
int pIndex)
pToolBar - the toolbar to be addedpIndex - the index for the toolbarvoid removeToolBar(int pIndex)
pIndex - the indexvoid removeToolBar(IToolBar pToolBar)
pToolBar - the toolbarvoid removeAllToolBars()
int getToolBarCount()
IToolBars in this panel.
IToolBar getToolBar(int pIndex)
IToolBar from a specific index.
pIndex - the index
pIndexint indexOfToolBar(IToolBar pToolBar)
IToolBar in this panel.
pToolBar - the IToolBar to search
pToolBar in this panel or
-1 if pToolBar is not addedvoid setToolBarArea(int pArea)
pArea - an area constant AREA_TOP, AREA_LEFT,
AREA_BOTTOM, AREA_RIGHTint getToolBarArea()
AREA_TOP, AREA_LEFT,
AREA_BOTTOM, AREA_RIGHT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||