org.benow.web.action
Class ActionImpl
java.lang.Object
org.benow.web.action.ActionImpl
- All Implemented Interfaces:
- Action
- Direct Known Subclasses:
- JavaBasedAction
public abstract class ActionImpl
- extends java.lang.Object
- implements Action
|
Field Summary |
protected boolean |
active
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
active
protected boolean active
ActionImpl
public ActionImpl()
ActionImpl
protected ActionImpl(Action.ActionType type)
isActive
public boolean isActive(java.lang.Object forObject)
- Specified by:
isActive in interface Action
- Returns:
- true if this action applies for the given object
getType
public Action.ActionType getType(java.lang.Object forObject)
- Specified by:
getType in interface Action
- Returns:
- type of the action for the given object
getLabelHTML
public abstract java.lang.String getLabelHTML(java.lang.Object forObject)
- Specified by:
getLabelHTML in interface Action
- Returns:
- text html label for the action as appropriate for the given object
getIconHTML
public abstract java.lang.String getIconHTML(java.lang.Object forObject)
- Specified by:
getIconHTML in interface Action
- Returns:
- html for the action as appropriate for the given object
getSupportHTML
public java.lang.String getSupportHTML(java.lang.Object forObject)
- Specified by:
getSupportHTML in interface Action
- Returns:
- prefix support html (javascript, hidden objects, etc) for the action as
appropriate for the given object