Package | Description |
---|---|
net.sf.jguiraffe.examples.tutorial.createfile | |
net.sf.jguiraffe.examples.tutorial.viewset | |
net.sf.jguiraffe.gui.builder.action |
The
action 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.
|
net.sf.jguiraffe.gui.platform.swing.builder.action |
This package contains Swing-specific implementations for action-related classes.
|
Constructor and Description |
---|
CreateFileCommand(ApplicationContext ctx,
CreateFileData cfd,
FormAction actRefresh)
Creates a new instance of
CreateFileCommand and initializes it
with the application context and the data of the file to be created. |
Constructor and Description |
---|
CreateViewSettingsCommand(ApplicationContext appctx,
ViewSettings vs,
FormAction actRefresh) |
Modifier and Type | Method and Description |
---|---|
FormAction |
ActionManagerWrapper.createAction(ActionBuilder actionBuilder,
ActionData actionData)
Creates an action object based on the provided information.
|
FormAction |
ActionManager.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.
|
Modifier and Type | Method and Description |
---|---|
static Collection<FormAction> |
ActionHelper.fetchActionsInGroup(ActionStore actionStore,
String groupName)
Returns all actions that belong to the specified group in the given
ActionStore . |
static Collection<FormAction> |
ActionHelper.fetchAllActionsInGroup(ActionStore actionStore,
String groupName,
boolean distinct)
Returns all actions that belong to the specified group in the given
ActionStore or one of its parents. |
Collection<FormAction> |
ActionStore.getActions(Collection<String> names)
Returns all action objects whose names are specified in the given
collection.
|
Modifier and Type | Method and Description |
---|---|
PopupMenuBuilder |
PopupMenuBuilder.addAction(FormAction action)
Adds an action to the current menu.
|
void |
ActionStore.addAction(FormAction action)
Adds the specified action to this store.
|
PopupMenuBuilder |
AbstractPopupMenuBuilder.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 |
ActionManagerWrapper.createMenuItem(ActionBuilder actionBuilder,
FormAction action,
boolean checked,
Object parent)
Creates a menu item based on the specified action object.
|
Object |
ActionManager.createMenuItem(ActionBuilder actionBuilder,
FormAction action,
boolean checked,
Object parent)
Creates a menu item 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.
|
Object |
ActionManager.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
ActionHelper.enableActions(Collection<FormAction> actions,
boolean enabled)
Sets the enabled flag for all actions in the specified collection.
|
Modifier and Type | Method and Description |
---|---|
protected FormAction |
EventListenerTag.fetchAction()
Tries to obtain the action that is to be invoked by the event listener.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ToolButtonTag.createActionControl(ActionManager manager,
FormAction action,
Object parent)
Creates a toolbar button that is associated with an action.
|
protected void |
MenuItemTag.createActionControl(ActionManager manager,
FormAction action,
Object parent)
Creates a menu item based on an action definition.
|
protected abstract void |
ActionControlTag.createActionControl(ActionManager manager,
FormAction action,
Object parent)
Creates a control and associates it with the given action.
|
Modifier and Type | Class and Description |
---|---|
class |
SwingFormAction
A Swing specific implementation of the
FormAction interface. |
Modifier and Type | Method and Description |
---|---|
FormAction |
SwingActionManager.createAction(ActionBuilder actionBuilder,
ActionData actionData)
Creates an action object.
|
Modifier and Type | Method and Description |
---|---|
Object |
SwingActionManager.createMenuItem(ActionBuilder actionBuilder,
FormAction formAction,
boolean checked,
Object parent)
Creates a menu item based on the given action.
|
Object |
SwingActionManager.createToolbarButton(ActionBuilder actionBuilder,
FormAction formAction,
boolean checked,
Object parent)
Creates a toolbar button based on the given action.
|
Copyright © 2016 The JGUIraffe Team. All rights reserved.