Package org.ujmp.gui
Class AbstractGUIObject
- java.lang.Object
-
- org.ujmp.gui.AbstractGUIObject
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,Clearable
,GUIObject
,HasDescription
,HasLabel
,HasToolTip
- Direct Known Subclasses:
AbstractMatrixGUIObject
public abstract class AbstractGUIObject extends java.lang.Object implements GUIObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALL
static int
COLUMN
protected int
modCount
static int
ROW
private static long
serialVersionUID
static int
X
static int
Y
static int
Z
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description AbstractGUIObject()
AbstractGUIObject(java.lang.String label)
AbstractGUIObject(java.lang.String label, java.lang.String description)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
fireValueChanged()
Indicates that changed in the object have been made, that should be updated on the screen.void
fireValueChanged(Coordinates coordinates, java.lang.Object object)
void
fireValueChanged(Coordinates start, Coordinates end)
int
getModCount()
java.lang.String
getToolTipText()
Returns the tool tip text of an objectjavax.swing.JFrame
showGUI()
abstract java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.interfaces.GUIObject
getCoreObject, getFrame, getIcon, getPanel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
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
-
modCount
protected int modCount
-
-
Method Detail
-
toString
public abstract java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fireValueChanged
public void fireValueChanged()
Description copied from interface:GUIObject
Indicates that changed in the object have been made, that should be updated on the screen.- Specified by:
fireValueChanged
in interfaceGUIObject
-
fireValueChanged
public void fireValueChanged(Coordinates coordinates, java.lang.Object object)
- Specified by:
fireValueChanged
in interfaceGUIObject
-
fireValueChanged
public void fireValueChanged(Coordinates start, Coordinates end)
- Specified by:
fireValueChanged
in interfaceGUIObject
-
getToolTipText
public java.lang.String getToolTipText()
Description copied from interface:HasToolTip
Returns the tool tip text of an object- Specified by:
getToolTipText
in interfaceHasToolTip
- Returns:
- the tool tip
-
getModCount
public int getModCount()
- Specified by:
getModCount
in interfaceGUIObject
-
-