public static class BasicInteractionManagerAction.BasicModeAction extends Object implements InteractionManagerAction.ModeAction
Stores a action to change the form fields behaviour.
Default implementation of ModeAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
attr |
protected static Properties |
DEFAULT_ACTIONS |
static String |
DEFAULT_ACTIONS_LOCATION |
static String |
DEFAULT_ACTIONS_LOCATION_SYSTEM_PROPERTY_KEY |
protected String |
name |
protected Object |
value |
protected Class |
valueClass |
protected String |
valueClassName |
| Constructor and Description |
|---|
BasicInteractionManagerAction.BasicModeAction(String name,
String attr,
String className,
String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAttr() |
protected static String |
getDefaultClass(String clazz,
String action)
If no class is provided, check the default class for the given action
|
String |
getName() |
Object |
getValue() |
Class |
getValueClass() |
String |
getValueClassName() |
String |
toString() |
public static final String DEFAULT_ACTIONS_LOCATION_SYSTEM_PROPERTY_KEY
public static final String DEFAULT_ACTIONS_LOCATION
protected static Properties DEFAULT_ACTIONS
protected String name
protected String attr
protected Object value
protected Class valueClass
protected String valueClassName
public BasicInteractionManagerAction.BasicModeAction(String name, String attr, String className, String value) throws IllegalArgumentException
IllegalArgumentExceptionprotected static String getDefaultClass(String clazz, String action) throws IllegalArgumentException
If no class is provided, check the default class for the given action
clazz - Class name for the parameter value.action - Method to callIllegalArgumentExceptionpublic String getName()
getName in interface InteractionManagerAction.ModeActionpublic String getAttr()
getAttr in interface InteractionManagerAction.ModeActionpublic Object getValue()
getValue in interface InteractionManagerAction.ModeActionpublic Class getValueClass()
getValueClass in interface InteractionManagerAction.ModeActionpublic String getValueClassName()
getValueClassName in interface InteractionManagerAction.ModeActionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.