|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--ach.ButtonGroup
Title: ButtonGroup
Description: Multiple-exclusion scope for a set of buttons
Copyright: Copyright (c) 2005
Organisation: Art&Computer Hackbarth
| Constructor Summary | |
ButtonGroup()
Constructor |
|
| Method Summary | |
void |
add(IconButton ib)
Add an IconButton to ButtonGroup |
IconButton |
getSelected()
Get the currently selected IconButton |
void |
remove(IconButton ib)
Remove an IconButton from ButtonGroup |
void |
setSelected(IconButton ib,
boolean b)
Set one of the buttons selected, all other buttons will be deselcted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ButtonGroup()
| Method Detail |
public void add(IconButton ib)
ib - is an IconButtonpublic void remove(IconButton ib)
ib - is an IconButton
public void setSelected(IconButton ib,
boolean b)
ib - is an IconButtonb - boolean flag specifying the selection statepublic IconButton getSelected()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||