org.gnu.gtk
public class ActionGroup extends GObject
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.ActionGroup
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
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) |
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new ActionGroup object.Parameters: name Used when associating keybindings with the actions.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Add an Action object to the ActionGroupParameters: anAction
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Add an array of ActonEntry objects to the ActionGroupParameters: entries
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Add an array of RadioActionEntry objects to the ActionGroup and setup the event handling.Parameters: entries listener initialValue
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Add an array of ToggleActonEntry objects to the ActionGroupParameters: entries
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Look up an Action in the ActionGroup by name.Parameters: actionName
Returns: the Action or null if no Action by that name exists.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get the name of the action group.Returns: the name of the action group
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
List the Actions in the ActionGroupReturns: A list of Action objects.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Remove an Action object from the ActionGroupParameters: anAction