Uses of Interface
net.sf.jguiraffe.gui.builder.action.FormAction
-
Packages that use FormAction Package Description net.sf.jguiraffe.gui.builder.action Theaction
sub package of the builder contains interfaces and classes for dealing with actions and related objects during a builder operation.net.sf.jguiraffe.gui.builder.action.tags Here the tags for creating actions and related objects are defined. -
-
Uses of FormAction in net.sf.jguiraffe.gui.builder.action
Methods in net.sf.jguiraffe.gui.builder.action that return FormAction Modifier and Type Method Description FormAction
ActionManager. createAction(ActionBuilder actionBuilder, ActionData actionData)
Creates an action object based on the provided information.FormAction
ActionManagerWrapper. createAction(ActionBuilder actionBuilder, ActionData actionData)
Creates an action object based on the provided information.FormAction
ActionStore. getAction(String name)
Returns the action with the given name.FormAction
ActionStore. removeAction(String name)
Removes the action with the specified name from this store.Methods in net.sf.jguiraffe.gui.builder.action that return types with arguments of type FormAction Modifier and Type Method Description static Collection<FormAction>
ActionHelper. fetchActionsInGroup(ActionStore actionStore, String groupName)
Returns all actions that belong to the specified group in the givenActionStore
.static Collection<FormAction>
ActionHelper. fetchAllActionsInGroup(ActionStore actionStore, String groupName, boolean distinct)
Returns all actions that belong to the specified group in the givenActionStore
or one of its parents.Collection<FormAction>
ActionStore. getActions(Collection<String> names)
Returns all action objects whose names are specified in the given collection.Methods in net.sf.jguiraffe.gui.builder.action with parameters of type FormAction Modifier and Type Method Description PopupMenuBuilder
AbstractPopupMenuBuilder. addAction(FormAction action)
Adds an action to the current menu.void
ActionStore. addAction(FormAction action)
Adds the specified action to this store.PopupMenuBuilder
PopupMenuBuilder. addAction(FormAction action)
Adds an action to the current menu.protected void
SimplePopupMenuHandler. addAction(PopupMenuBuilder builder, ComponentBuilderData compData, FormAction action)
Adds an action to the menu constructed by this handler.static Object
ActionInvoker. create(Class<?>[] listenerClasses, FormAction action, EventFilter filter)
Creates an action invoker proxy that implements all the specified listener interfaces.static Object
ActionInvoker. create(Class<?> listenerClass, FormAction action)
Creates an action invoker proxy for the specified listener interface that will invoke the given action whenever a method of the listener interface is called.static Object
ActionInvoker. create(Class<?> listenerClass, FormAction action, EventFilter filter)
Creates an action invoker proxy for the specified listener interface that will invoke the given action when an event is triggered that is accepted by the passed in filter.Object
ActionManager. createMenuItem(ActionBuilder actionBuilder, FormAction action, boolean checked, Object parent)
Creates a menu item based on the specified action object.Object
ActionManagerWrapper. createMenuItem(ActionBuilder actionBuilder, FormAction action, boolean checked, Object parent)
Creates a menu item based on the specified action object.Object
ActionManager. createToolbarButton(ActionBuilder actionBuilder, FormAction action, boolean checked, Object parent)
Creates a toolbar button based on the specified action object.Object
ActionManagerWrapper. createToolbarButton(ActionBuilder actionBuilder, FormAction action, boolean checked, Object parent)
Creates a toolbar button based on the specified action object.static void
ActionHelper. invokeActionTask(Object task, FormAction action, BuilderEvent event)
Invokes the specified action task.void
ActionTask. run(FormAction action, BuilderEvent event)
Implements the logic behind an action.Method parameters in net.sf.jguiraffe.gui.builder.action with type arguments of type FormAction Modifier and Type Method Description static void
ActionHelper. enableActions(Collection<FormAction> actions, boolean enabled)
Sets the enabled flag for all actions in the specified collection. -
Uses of FormAction in net.sf.jguiraffe.gui.builder.action.tags
Methods in net.sf.jguiraffe.gui.builder.action.tags that return FormAction Modifier and Type Method Description protected FormAction
EventListenerTag. fetchAction()
Tries to obtain the action that is to be invoked by the event listener.Methods in net.sf.jguiraffe.gui.builder.action.tags with parameters of type FormAction Modifier and Type Method Description protected abstract void
ActionControlTag. createActionControl(ActionManager manager, FormAction action, Object parent)
Creates a control and associates it with the given action.protected void
MenuItemTag. createActionControl(ActionManager manager, FormAction action, Object parent)
Creates a menu item based on an action definition.protected void
ToolButtonTag. createActionControl(ActionManager manager, FormAction action, Object parent)
Creates a toolbar button that is associated with an action.
-