|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.ActionGroup
public class ActionGroup
Constructor Summary | |
---|---|
ActionGroup(java.lang.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(java.lang.String actionName)
Look up an Action in the ActionGroup by name. |
java.lang.String |
getName()
Get the name of the action group. |
boolean |
getSensitive()
|
boolean |
getVisible()
|
java.util.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)
|
java.lang.String |
translateString(java.lang.String str)
|
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionGroup(java.lang.String name)
name
- Used when associating keybindings with the actions.Method Detail |
---|
public java.lang.String getName()
public boolean getSensitive()
public void setSensitive(boolean sensitive)
public boolean getVisible()
public void setVisible(boolean visible)
public java.lang.String translateString(java.lang.String str)
public Action getAction(java.lang.String actionName)
actionName
-
public void addAction(Action anAction)
anAction
- public void addActions(ActionEntry[] entries)
entries
- public void addToggleActions(ToggleActionEntry[] entries)
entries
- public void addRadioActions(RadioActionEntry[] entries, int initialValue, RadioActionEntryListener listener)
entries
- listener
- initialValue
- public void removeAction(Action anAction)
anAction
- public java.util.List listActions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |