Class CommandGroup
java.lang.Object
org.pushingpixels.radiance.component.api.common.model.CommandGroup
- All Implemented Interfaces:
ContentModel, PropertyChangeAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionCommandGroup(String title, List<Command> commands) CommandGroup(String title, Command... commands) CommandGroup(List<Command> commands) CommandGroup(Command... commands) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommand(Command command) voidAdds aCommandGroupListenerto the model.voidgetTitle()voidvoidremoveCommand(Command command) voidRemoves aCommandGroupListenerfrom the model.voidvoid
-
Constructor Details
-
CommandGroup
-
CommandGroup
-
CommandGroup
-
CommandGroup
-
-
Method Details
-
getTitle
-
setTitle
-
getCommands
-
findFirstMatch
-
addCommand
-
removeCommand
-
removeAllCommands
public void removeAllCommands() -
addCommandGroupListener
Adds aCommandGroupListenerto the model.- Parameters:
l- the listener to add
-
removeCommandGroupListener
Removes aCommandGroupListenerfrom the model.- Parameters:
l- the listener to remove
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfacePropertyChangeAware
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfacePropertyChangeAware
-