org.ujmp.gui.actions
Class ObjectAction
java.lang.Object
org.ujmp.gui.actions.ObjectAction
- All Implemented Interfaces:
- ActionListener, Serializable, Callable<Object>, EventListener, Action
- Direct Known Subclasses:
- AbstractMatrixAction, DenseMatrixAction, ExitAction, ImportMatrixFromClipboardAction, ImportMatrixFromDatabaseAction, ImportMatrixFromFileAction, ImportMatrixFromURLAction, LinkMatrixToDatabaseAction, LinkMatrixToFileAction, NewMatrixAction, PrintAction, SaveMatrixAction, SetLabelAction, ShowInFrameAction, SparseMatrixAction
public abstract class ObjectAction
- extends Object
- implements Action, Callable<Object>, Serializable
- See Also:
- Serialized Form
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 |
ROW
public static final int ROW
- See Also:
- Constant Field Values
COLUMN
public static final int COLUMN
- See Also:
- Constant Field Values
ALL
public static final int ALL
- See Also:
- Constant Field Values
changeSupport
protected transient SwingPropertyChangeSupport changeSupport
ObjectAction
public ObjectAction(JComponent c,
GUIObject o)
setComponent
public final void setComponent(JComponent component)
setStatus
public final void setStatus(String status)
setProgress
public final void setProgress(double progress)
toString
public final String toString()
- Overrides:
toString
in class Object
getGUIObject
public final GUIObject getGUIObject()
getCoreObject
public final CoreObject getCoreObject()
setGUIObject
public final void setGUIObject(GUIObject o)
actionPerformed
public final void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
executeInBackground
public final Future<?> executeInBackground()
call
public abstract Object call()
- Specified by:
call
in interface Callable<Object>
getComponent
public final JComponent getComponent()
getValue
public Object getValue(String key)
- Specified by:
getValue
in interface Action
setEnabled
public void setEnabled(boolean newValue)
- Specified by:
setEnabled
in interface Action
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface Action
firePropertyChange
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
putValue
public void putValue(String key,
Object newValue)
- Specified by:
putValue
in interface Action
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface Action
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface Action
Copyright © 2010. All Rights Reserved.