|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pietschy.command.ToggleGroupController
public class ToggleGroupController
| Constructor Summary | |
|---|---|
ToggleGroupController()
|
|
| Method Summary | |
|---|---|
void |
add(ToggleCommand command)
|
void |
handleSelectionRequest(ToggleCommand toggleCommand,
boolean selected)
Handles a particular selection request on a particular command. |
boolean |
isEmptySelectionAllowed()
Checks if this groups allows empty selection. |
boolean |
isExclusive()
|
void |
remove(ToggleCommand command)
|
void |
setEmptySelectionAllowed(boolean emptySelectionAllowed)
Sets if this groups allows empty selection. |
void |
setExclusive(boolean exclusive)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToggleGroupController()
| Method Detail |
|---|
public void add(ToggleCommand command)
public void remove(ToggleCommand command)
public boolean isEmptySelectionAllowed()
public void setEmptySelectionAllowed(boolean emptySelectionAllowed)
emptySelectionAllowed - true if the group should allow empty
selection, false if there must always be at least on selected command.public boolean isExclusive()
public void setExclusive(boolean exclusive)
public void handleSelectionRequest(ToggleCommand toggleCommand,
boolean selected)
toggleCommand - the command that has been selectedselected - the new state of the command.
|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||