org.jdmp.core
Class AbstractCoreObject
- java.lang.Object
-
- org.jdmp.core.AbstractCoreObject
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Clearable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel
- Direct Known Subclasses:
- AbstractAlgorithm, AbstractModule
public abstract class AbstractCoreObject extends java.lang.Object implements CoreObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static intALLstatic intCOLUMNstatic intROWstatic intXstatic intYstatic intZ-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor and Description AbstractCoreObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description CoreObjectclone()voidfireValueChanged()This method is used to signal changes in the object to the corresponding GUIObject if it exists.longgetCoreObjectId()GUIObjectgetGUIObject()Returns an object suitable for displaying on the screen.javax.swing.JFrameshowGUI()This method will show the object in a JFrame on the screen.abstract java.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
-
-
-
Field Detail
-
X
public static final int X
- See Also:
- Constant Field Values
-
Y
public static final int Y
- See Also:
- Constant Field Values
-
Z
public static final int Z
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
getCoreObjectId
public final long getCoreObjectId()
- Specified by:
getCoreObjectIdin interfaceCoreObject
-
showGUI
public final javax.swing.JFrame showGUI()
Description copied from interface:HasGUIObjectThis method will show the object in a JFrame on the screen.- Specified by:
showGUIin interfaceHasGUIObject
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
fireValueChanged
public final void fireValueChanged()
Description copied from interface:HasGUIObjectThis method is used to signal changes in the object to the corresponding GUIObject if it exists.Maybe this method can be deleted, when all changes are made trough the GUIObject?
- Specified by:
fireValueChangedin interfaceHasGUIObject
-
getGUIObject
public GUIObject getGUIObject()
Description copied from interface:HasGUIObjectReturns an object suitable for displaying on the screen. Ensures that, for each basic object, only one GUIObject can be returned.- Specified by:
getGUIObjectin interfaceHasGUIObject- Returns:
- object suitable for displaying on the screen
-
clone
public CoreObject clone()
- Specified by:
clonein interfaceCoreObject- Overrides:
clonein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG