public class BasicInteractionManagerAction extends Object implements InteractionManagerAction
Handles the actions to change the form status in the available modes.
Default implementation of InteractionManagerAction handler.
InteractionManagerAction| Modifier and Type | Class and Description |
|---|---|
static class |
BasicInteractionManagerAction.BasicListener |
static class |
BasicInteractionManagerAction.BasicListenerItem |
static class |
BasicInteractionManagerAction.BasicMode
Handles the action to change the form status in a mode.
|
static class |
BasicInteractionManagerAction.BasicModeAction
Stores a action to change the form fields behaviour.
|
InteractionManagerAction.Listener, InteractionManagerAction.ListenerItem, InteractionManagerAction.Mode, InteractionManagerAction.ModeAction| Modifier and Type | Field and Description |
|---|---|
protected static Properties |
DEFAULT_MODES |
static String |
DEFAULT_MODES_LOCATION |
static String |
DEFAULT_MODES_LOCATION_SYSTEM_PROPERTY_KEY |
protected InteractionManagerAction.Listener |
listener |
protected Map |
modes
Stores the current modes.
|
protected static String |
SET_PREFFIX |
| Constructor and Description |
|---|
BasicInteractionManagerAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(InteractionManagerAction.Mode mode) |
void |
clear() |
protected static Object |
convertMode(Object modeId) |
protected static void |
error(Object[] message) |
protected static void |
error(Throwable t) |
List |
getActionList(Object modeId) |
InteractionManagerAction.Listener |
getListener()
Return the available listener handler.
|
InteractionManagerAction.Mode |
getMode(Object modeId) |
boolean |
isEmpty() |
InteractionManagerAction.Mode |
removeMode(Object modeId) |
void |
setListener(InteractionManagerAction.Listener listener)
Set the
InteractionManagerAction listener handler. |
void |
setMode(Form form,
int modeId)
Execute the available actions for the given
mode in the
given form. |
void |
setMode(Form form,
String modeId)
Execute the available actions for the given
mode in the
given form. |
String |
toString() |
public static final String DEFAULT_MODES_LOCATION_SYSTEM_PROPERTY_KEY
public static final String DEFAULT_MODES_LOCATION
protected static Properties DEFAULT_MODES
protected static final String SET_PREFFIX
protected Map modes
Stores the current modes.
protected InteractionManagerAction.Listener listener
protected static void error(Throwable t)
protected static void error(Object[] message)
public void add(InteractionManagerAction.Mode mode)
add in interface InteractionManagerActionpublic InteractionManagerAction.Mode getMode(Object modeId)
getMode in interface InteractionManagerActionpublic List getActionList(Object modeId)
getActionList in interface InteractionManagerActionpublic boolean isEmpty()
isEmpty in interface InteractionManagerActionpublic InteractionManagerAction.Mode removeMode(Object modeId)
removeMode in interface InteractionManagerActionpublic void clear()
clear in interface InteractionManagerActionpublic void setMode(Form form, int modeId)
InteractionManagerAction
Execute the available actions for the given mode in the
given form.
setMode in interface InteractionManagerActionform - Destination form.public void setMode(Form form, String modeId)
InteractionManagerAction
Execute the available actions for the given mode in the
given form.
setMode in interface InteractionManagerActionform - Destination form.public InteractionManagerAction.Listener getListener()
InteractionManagerActionReturn the available listener handler.
getListener in interface InteractionManagerActionInteractionManagerAction.Listener handler.public void setListener(InteractionManagerAction.Listener listener)
InteractionManagerAction
Set the InteractionManagerAction listener handler.
setListener in interface InteractionManagerActionlistener - InteractionManagerAction.Listener handler.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.