Package | Description |
---|---|
griffon.core.controller |
Controller action support.
|
griffon.core.mvc |
MVC Group management.
|
griffon.javafx.support |
JavaFX utilities.
|
org.codehaus.griffon.runtime.core.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.core.controller |
Controller action implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.core.mvc |
MVC group implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.groovy.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.javafx.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.javafx.controller |
Controller action implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.lanterna.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.lanterna.controller |
Controller action implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.pivot.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.pivot.controller |
Controller action implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.swing.artifact |
Artifact implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.swing.controller |
Controller action implementation [INTERNAL USE].
|
Modifier and Type | Method and Description |
---|---|
GriffonController |
Action.getController() |
Modifier and Type | Method and Description |
---|---|
Class<? extends GriffonController> |
MissingControllerActionException.getControllerClass() |
Modifier and Type | Method and Description |
---|---|
Action |
ActionManager.actionFor(GriffonController controller,
String actionName) |
Map<String,Action> |
ActionManager.actionsFor(GriffonController controller) |
void |
ActionInterceptor.after(ActionExecutionStatus status,
GriffonController controller,
String actionName,
Object[] args)
Deprecated.
Called after the action has been aborted or executed, even if an exception
occurred during execution.
|
Object[] |
ActionInterceptor.before(GriffonController controller,
String actionName,
Object[] args)
Deprecated.
Called before an action is executed.
|
void |
ActionInterceptor.configure(GriffonController controller,
String actionName,
Method method)
Deprecated.
Inspect the action during the configuration phase.
|
void |
ActionManager.createActions(GriffonController controller) |
boolean |
ActionInterceptor.exception(Exception exception,
GriffonController controller,
String actionName,
Object[] args)
Deprecated.
Called after the action has been executed when an exception occurred
during execution.
|
void |
ActionManager.invokeAction(GriffonController controller,
String actionName,
Object... args)
Execute the action using registered
ActionHandler s. |
void |
ActionManager.updateAction(GriffonController controller,
String actionName)
Update the action's properties using registered
ActionHandler s. |
void |
ActionManager.updateActions(GriffonController controller)
Updates all actions belonging to the supplied controller.
|
Constructor and Description |
---|
MissingControllerActionException(Class<? extends GriffonController> controllerClass,
String actionName) |
MissingControllerActionException(Class<? extends GriffonController> controllerClass,
String actionName,
Throwable cause) |
MissingControllerActionException(String message,
Class<? extends GriffonController> controllerClass,
String actionName) |
MissingControllerActionException(String message,
Class<? extends GriffonController> controllerClass,
String actionName,
Throwable cause) |
Modifier and Type | Interface and Description |
---|---|
interface |
MVCFunction<M extends GriffonModel,V extends GriffonView,C extends GriffonController>
An specialized function for working with MVC members.
|
Modifier and Type | Method and Description |
---|---|
<C extends GriffonController> |
MVCGroupManager.findController(String name,
Class<C> type)
Finds a named controller.
|
<C extends GriffonController> |
MVCGroupManager.getController(String name,
Class<C> type)
Finds a named controller.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(String mvcType,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
MVCHandler.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler)
Instantiates an MVC group of the specified type then destroys it after it has been handled.
|
Modifier and Type | Method and Description |
---|---|
GriffonController |
MVCGroup.getController()
Returns the Controller portion of this group.
|
Modifier and Type | Method and Description |
---|---|
Map<String,? extends GriffonController> |
MVCGroupManager.getControllers()
Returns all currently available controller instances, keyed by group name.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaFXUtils.connectActions(Object node,
GriffonController controller) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGriffonController
Base implementation of the GriffonController interface.
|
Modifier and Type | Method and Description |
---|---|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifact.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifact.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
Modifier and Type | Method and Description |
---|---|
protected Action |
AbstractGriffonView.actionFor(GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
GriffonClass |
ControllerArtifactHandler.newGriffonClassInstance(Class<GriffonController> clazz) |
Modifier and Type | Method and Description |
---|---|
GriffonController |
AbstractAction.getController() |
GriffonController |
ActionDecorator.getController() |
Modifier and Type | Method and Description |
---|---|
Action |
AbstractActionManager.actionFor(GriffonController controller,
String actionName) |
Action |
NoopActionManager.actionFor(GriffonController controller,
String actionName) |
Map<String,Action> |
AbstractActionManager.actionsFor(GriffonController controller) |
Map<String,Action> |
NoopActionManager.actionsFor(GriffonController controller) |
void |
AbstractActionInterceptor.after(ActionExecutionStatus status,
GriffonController controller,
String actionName,
Object[] args)
Deprecated.
|
Object[] |
AbstractActionInterceptor.before(GriffonController controller,
String actionName,
Object[] args)
Deprecated.
|
void |
AbstractActionInterceptor.configure(GriffonController controller,
String actionName,
Method method)
Deprecated.
|
void |
AbstractActionManager.createActions(GriffonController controller) |
void |
NoopActionManager.createActions(GriffonController controller) |
protected Action |
AbstractActionManager.createAndConfigureAction(GriffonController controller,
String actionName) |
protected abstract Action |
AbstractActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected Action |
DefaultActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected abstract void |
AbstractActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
protected void |
DefaultActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
protected void |
AbstractActionManager.doInvokeAction(GriffonController controller,
String actionName,
Object[] updatedArgs) |
boolean |
AbstractActionInterceptor.exception(Exception exception,
GriffonController controller,
String actionName,
Object[] args)
Deprecated.
|
void |
AbstractActionManager.invokeAction(GriffonController controller,
String actionName,
Object... args) |
void |
NoopActionManager.invokeAction(GriffonController controller,
String actionName,
Object... args) |
protected String |
AbstractActionInterceptor.qualifyActionName(GriffonController controller,
String actionName)
Deprecated.
|
void |
AbstractActionManager.updateAction(GriffonController controller,
String actionName) |
void |
NoopActionManager.updateAction(GriffonController controller,
String actionName) |
void |
AbstractActionManager.updateActions(GriffonController controller) |
void |
NoopActionManager.updateActions(GriffonController controller) |
Constructor and Description |
---|
AbstractAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
DefaultAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
<C extends GriffonController> |
AbstractMVCGroupManager.findController(String name,
Class<C> type) |
<C extends GriffonController> |
AbstractMVCGroupManager.getController(String name,
Class<C> type) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroup.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCHandler.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
protected <M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVCGroup(MVCGroupConfiguration configuration,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
Modifier and Type | Method and Description |
---|---|
GriffonController |
AbstractMVCGroup.getController() |
Modifier and Type | Method and Description |
---|---|
Map<String,? extends GriffonController> |
AbstractMVCGroupManager.getControllers() |
Modifier and Type | Method and Description |
---|---|
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(Map<String,Object> args,
String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(Map<String,Object> args,
String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(String mvcType,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(String mvcType,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(String mvcType,
String mvcId,
Map<String,Object> args,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonArtifactScript.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
<M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractGriffonMvcArtifactScript.withMVC(String mvcType,
String mvcId,
MVCFunction<M,V,C> handler) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJavaFXGriffonView.connectActions(Object node,
GriffonController controller) |
protected JavaFXAction |
AbstractJavaFXGriffonView.toolkitActionFor(GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected JavaFXAction |
JavaFXGriffonControllerAction.createAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
protected Action |
JavaFXActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected void |
JavaFXActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
Constructor and Description |
---|
JavaFXGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected LanternaAction |
AbstractLanternaGriffonView.toolkitActionFor(GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected LanternaAction |
LanternaGriffonControllerAction.createAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
protected Action |
LanternaActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected void |
LanternaActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
Constructor and Description |
---|
LanternaGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected PivotAction |
AbstractPivotGriffonView.toolkitActionFor(GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected PivotAction |
PivotGriffonControllerAction.createAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
protected Action |
PivotActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected void |
PivotActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
protected void |
PivotActionManager.doInvokeAction(GriffonController controller,
String actionName,
Object[] updatedArgs) |
Constructor and Description |
---|
PivotGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected SwingAction |
AbstractSwingGriffonView.toolkitActionFor(GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected SwingAction |
SwingGriffonControllerAction.createAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
protected Action |
SwingActionManager.createControllerAction(GriffonController controller,
String actionName) |
protected void |
SwingActionManager.doConfigureAction(Action action,
GriffonController controller,
String normalizeNamed,
String keyPrefix) |
Constructor and Description |
---|
SwingGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |