|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for specifying the common issues of a buttons container, e.g.
a ToolBar
or a TBComboButton
Method Summary | |
void |
addButton(TBButton button,
int index)
Method used for adding a TBButton to a IToolContainer |
int |
getButtonCount()
Gets the total number of buttons in the container |
TBButton[] |
getButtons()
Gets the array of TBButton s that the object contain |
MainWindow |
getWindow()
Gets the MainWindow the IToolContainer is attached to |
void |
repaint()
Forces repaint of the container after changes have been made |
void |
setActiveTool(int index)
Sets the index of the active tool in the container. |
Method Detail |
public void addButton(TBButton button, int index) throws GvsigMobileException
TBButton
to a IToolContainer
button
- to be addedindex
- position in the array of buttons
GvsigMobileException
public TBButton[] getButtons()
TBButton
s that the object contain
public int getButtonCount()
public MainWindow getWindow()
IToolContainer
is attached to
public void setActiveTool(int index)
index
- of the new tool to be set to active in the containerpublic void repaint()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |