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 class
AbstractAction.ActionErrors
-
Field Summary
Fields Modifier and Type Field Description static String
ERR_CONCAT_STRING
protected AbstractAction.ActionErrors
errors
static String
PARAM_COMMAND_STACK
-
Constructor Summary
Constructors Constructor Description AbstractAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CommandStack
getCommandStack()
CommandTarget
getCommandTarget(UUID uuid)
CommandTarget
getCommandTarget(UUID uuid, boolean markDirty)
CommandTarget
getCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType)
CommandTarget
getCommandTarget(UUID uuid, Class<? extends JRDesignElement> elementType, boolean markDirty)
JasperReportsContext
getJasperReportsContext()
String
getMessagesBundle()
ReportContext
getReportContext()
void
init(JasperReportsContext jasperReportsContext, ReportContext reportContext)
abstract void
performAction()
boolean
requiresRefill()
void
run()
void
setCommandStack(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:
run
in 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:
requiresRefill
in interfaceAction
-
-