Class ScriptTemplateAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.engine.classic.core.designtime.datafactory.editor.ui.ScriptTemplateAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
GlobalTemplateAction
,QueryTemplateAction
public abstract class ScriptTemplateAction extends AbstractAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ScriptTemplateAction(boolean global)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
protected abstract Component
getParentComponent()
protected URL
getResource()
protected abstract String
getText()
protected boolean
isGlobal()
protected abstract void
setText(String text)
void
update(ScriptEngineFactory engine)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
getResource
protected URL getResource()
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
getParentComponent
protected abstract Component getParentComponent()
-
setText
protected abstract void setText(String text)
-
getText
protected abstract String getText()
-
update
public void update(ScriptEngineFactory engine)
-
isGlobal
protected boolean isGlobal()
-
-