public abstract class AbstractTuttiAction<M extends org.jdesktop.beans.AbstractBean,UI extends TuttiUI<M,?>,H extends AbstractTuttiUIHandler<M,UI>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
actionDescription |
protected String |
actionIcon |
protected String |
actionName |
protected Throwable |
error |
protected H |
handler |
protected boolean |
hideBody |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTuttiAction(H handler,
String actionIcon,
String actionName,
String actionDescription,
boolean hideBody) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
decorate(Object object) |
protected abstract void |
doAction() |
String |
getActionDescription() |
String |
getActionIcon() |
protected String |
getActionName() |
protected TuttiApplicationConfig |
getConfig() |
TuttiUIContext |
getContext() |
TuttiDataContext |
getDataContext() |
protected <O> org.nuiton.util.decorator.Decorator<O> |
getDecorator(Class<O> type,
String name) |
Throwable |
getError() |
H |
getHandler() |
M |
getModel() |
UI |
getUI() |
boolean |
isFailed() |
boolean |
isHideBody() |
protected void |
performAction() |
void |
performAndReleaseAction() |
protected boolean |
prepareAction() |
protected void |
releaseAction() |
protected void |
sendMessage(String message) |
protected final H extends AbstractTuttiUIHandler<M,UI> handler
protected final String actionName
protected final String actionDescription
protected final String actionIcon
protected final boolean hideBody
protected Throwable error
protected boolean prepareAction()
protected void releaseAction()
public final void performAndReleaseAction()
protected void performAction()
public H getHandler()
public M getModel()
public final UI getUI()
public TuttiUIContext getContext()
protected String getActionName()
public String getActionDescription()
public String getActionIcon()
public boolean isHideBody()
public TuttiDataContext getDataContext()
protected TuttiApplicationConfig getConfig()
protected void sendMessage(String message)
protected <O> org.nuiton.util.decorator.Decorator<O> getDecorator(Class<O> type, String name)
public boolean isFailed()
public Throwable getError()
Copyright © 2012-2013 Ifremer. All Rights Reserved.