|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.Command
com.pietschy.command.ActionCommand
com.pietschy.command.delegate.DelegatingCommand
com.pietschy.command.delegate.DelegatingToggleCommand
com.pietschy.command.delegate.DelegatingToggleGroupCommand
class DelegatingToggleGroupCommand
A custom DelegatingToggleCommand used internally by DelegatingToggleGroups.
This implementation track the parent groups DelegateMediator and ensures that
menu items are always created as radio buttons.
| Field Summary |
|---|
| Fields inherited from class com.pietschy.command.delegate.DelegatingToggleCommand |
|---|
PROPERTY_SELECTED |
| Fields inherited from class com.pietschy.command.ActionCommand |
|---|
PARAMETER_ACTION_EVENT, PARAMETER_INVOKER, PARAMETER_INVOKER_WINDOW, PARAMETER_MODIFIERS |
| Fields inherited from class com.pietschy.command.Command |
|---|
internalLog, PROPERTY_ENABLED, PROPERTY_VISIBLE |
| Constructor Summary | |
|---|---|
DelegatingToggleGroupCommand(java.lang.String id)
|
|
| Method Summary | |
|---|---|
void |
addNotify(CommandGroup parent)
Invoked whenever a command is added to a group. |
javax.swing.JMenuItem |
createMenuItem(MenuFactory factory,
java.lang.String faceId)
Creates a new JCheckBoxMenuItem that is bound to this command. |
void |
removeNotify(CommandGroup parent)
Invoked whenever a command is remvoved from a group. |
| Methods inherited from class com.pietschy.command.delegate.DelegatingToggleCommand |
|---|
bindAll, bindAll, bindAll, configureButtonStates, createButton, createCheckBox, createCheckBox, createCheckBox, createCheckBox, getDelegate, isSelected, requestDefaultIn, setDelegate, setSelected, setSelectedInternal, updateDelegate, updateState |
| Methods inherited from class com.pietschy.command.delegate.DelegatingCommand |
|---|
getDelegateMediator, handleExecute, nullIfEqualsThis, setDelegateMediator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.pietschy.command.ActionCommandExecutor |
|---|
addPropertyChangeListener, addPropertyChangeListener, isEnabled, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.pietschy.command.Identifiable |
|---|
getId |
| Constructor Detail |
|---|
public DelegatingToggleGroupCommand(java.lang.String id)
| Method Detail |
|---|
public void addNotify(CommandGroup parent)
Command
addNotify in class Commandparent - the parent group to which the command was added.public void removeNotify(CommandGroup parent)
Command
removeNotify in class Commandparent - the parent from which the command was removed.
public javax.swing.JMenuItem createMenuItem(MenuFactory factory,
java.lang.String faceId)
DelegatingToggleCommandJCheckBoxMenuItem that is bound to this command.
createMenuItem in class DelegatingToggleCommandfactory - the menu factory to use.faceId - the face context to use.
JCheckBoxMenuItem for this command.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||