org.gnu.gtk
public class ActionGroup extends GObject
Constructor Summary | |
---|---|
ActionGroup(String name)
Construct a new ActionGroup object.
|
Method Summary | |
---|---|
void | addAction(Action anAction)
Add an Action object to the ActionGroup
|
void | addActions(ActionEntry[] entries)
Add an array of ActonEntry objects to the ActionGroup
|
void | addRadioActions(RadioActionEntry[] entries, int initialValue, RadioActionEntryListener listener)
Add an array of RadioActionEntry objects to the ActionGroup and setup the
event handling.
|
void | addToggleActions(ToggleActionEntry[] entries)
Add an array of ToggleActonEntry objects to the ActionGroup
|
Action | getAction(String actionName)
Look up an Action in the ActionGroup by name.
|
String | getName()
Get the name of the action group.
|
boolean | getSensitive() |
boolean | getVisible() |
List | listActions()
List the Actions in the ActionGroup
|
void | removeAction(Action anAction)
Remove an Action object from the ActionGroup
|
void | setSensitive(boolean sensitive) |
void | setVisible(boolean visible) |
String | translateString(String str) |
Parameters: name Used when associating keybindings with the actions.
Parameters: anAction
Parameters: entries
Parameters: entries listener initialValue
Parameters: entries
Parameters: actionName
Returns: the Action or null if no Action by that name exists.
Returns: the name of the action group
Returns: A list of Action objects.
Parameters: anAction