Class AbstractAction
- java.lang.Object
-
- net.sf.jasperreports.interactivity.actions.AbstractAction
-
- All Implemented Interfaces:
Serializable,Action
- Direct Known Subclasses:
AbstractVerifiableTableAction,FilterAction,MultiAction,RedoAction,SaveAction,SaveZoomAction,SearchAction,SortAction,SortByColumnAction,SortRowGroupAction,UndoAction,UndoAllAction
public abstract class AbstractAction extends Object implements Action, Serializable
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractAction.ActionErrors
-
Field Summary
Fields Modifier and Type Field Description static StringERR_CONCAT_STRINGprotected AbstractAction.ActionErrorserrorsstatic StringPARAM_COMMAND_STACK
-
Constructor Summary
Constructors Constructor Description AbstractAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CommandStackgetCommandStack()CommandTargetgetCommandTarget(UUID uuid)CommandTargetgetCommandTarget(UUID uuid, boolean markDirty)CommandTargetgetCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType)CommandTargetgetCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType, boolean markDirty)JasperReportsContextgetJasperReportsContext()StringgetMessagesBundle()ReportContextgetReportContext()voidinit(JasperReportsContext jasperReportsContext, ReportContext reportContext)abstract voidperformAction()booleanrequiresRefill()voidrun()voidsetCommandStack(CommandStack commandStack)
-
-
-
Field Detail
-
PARAM_COMMAND_STACK
public static final String PARAM_COMMAND_STACK
- See Also:
- Constant Field Values
-
ERR_CONCAT_STRING
public static final String ERR_CONCAT_STRING
- See Also:
- Constant Field Values
-
errors
protected AbstractAction.ActionErrors errors
-
-
Method Detail
-
getMessagesBundle
public String getMessagesBundle()
-
init
public void init(JasperReportsContext jasperReportsContext, ReportContext reportContext)
-
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
-
getReportContext
public ReportContext getReportContext()
-
run
public void run() throws ActionException- Specified by:
runin interfaceAction- Throws:
ActionException
-
getCommandStack
public CommandStack getCommandStack()
-
setCommandStack
public void setCommandStack(CommandStack commandStack)
-
performAction
public abstract void performAction() throws ActionException- Throws:
ActionException
-
getCommandTarget
public CommandTarget getCommandTarget(UUID uuid)
-
getCommandTarget
public CommandTarget getCommandTarget(UUID uuid, boolean markDirty)
-
getCommandTarget
public CommandTarget getCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType)
-
getCommandTarget
public CommandTarget getCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType, boolean markDirty)
-
requiresRefill
public boolean requiresRefill()
- Specified by:
requiresRefillin interfaceAction
-
-