Package org.ujmp.gui.actions
Class AbstractObjectAction
java.lang.Object
org.ujmp.gui.actions.AbstractObjectAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Callable<Object>
,EventListener
,Action
- Direct Known Subclasses:
AbstractMatrixAction
,CreateMatrixFromScreenshotAction
,DenseMatrixAction
,ExitAction
,ExportMatrixAction
,ImportMatrixFromClipboardAction
,ImportMatrixFromDatabaseAction
,ImportMatrixFromFileAction
,ImportMatrixFromURLAction
,LinkMatrixToDatabaseAction
,LinkMatrixToFileAction
,NewMatrixAction
,PrintAction
,SetLabelAction
,ShowInFrameAction
,SparseMatrixAction
public abstract class AbstractObjectAction
extends Object
implements Action, Callable<Object>, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
protected SwingPropertyChangeSupport
static final int
private JComponent
private boolean
private Icon
private GUIObject
static final int
private static final long
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal void
void
abstract Object
call()
final Future<?>
protected void
firePropertyChange
(String propertyName, Object oldValue, Object newValue) final JComponent
final CoreObject
final GUIObject
boolean
void
void
final void
setComponent
(JComponent component) void
setEnabled
(boolean newValue) final void
final void
setProgress
(double progress) final void
final String
toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ROW
public static final int ROW- See Also:
-
COLUMN
public static final int COLUMN- See Also:
-
ALL
public static final int ALL- See Also:
-
object
-
component
-
icon
-
enabled
private boolean enabled -
changeSupport
-
arrayTable
-
-
Constructor Details
-
AbstractObjectAction
-
-
Method Details
-
setComponent
-
setStatus
-
setProgress
public final void setProgress(double progress) -
toString
-
getGUIObject
-
getCoreObject
-
setGUIObject
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
executeInBackground
-
call
-
getComponent
-
getValue
-
setEnabled
public void setEnabled(boolean newValue) - Specified by:
setEnabled
in interfaceAction
-
isEnabled
public boolean isEnabled() -
firePropertyChange
-
putValue
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceAction
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceAction
-