Package org.ujmp.gui
Class AbstractGUIObject
java.lang.Object
org.ujmp.gui.AbstractGUIObject
- All Implemented Interfaces:
Serializable
,Cloneable
,Clearable
,GUIObject
,HasDescription
,HasLabel
,HasToolTip
- Direct Known Subclasses:
AbstractMatrixGUIObject
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
protected int
static final int
private static final long
static final int
static final int
static final int
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractGUIObject
(String label) AbstractGUIObject
(String label, String description) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Indicates that changed in the object have been made, that should be updated on the screen.void
fireValueChanged
(Coordinates coordinates, Object object) void
fireValueChanged
(Coordinates start, Coordinates end) int
Returns the tool tip text of an objectfinal JFrame
showGUI()
abstract 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 Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
X
public static final int X- See Also:
-
Y
public static final int Y- See Also:
-
Z
public static final int Z- 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:
-
modCount
protected int modCount
-
-
Constructor Details
-
AbstractGUIObject
public AbstractGUIObject() -
AbstractGUIObject
-
AbstractGUIObject
-
-
Method Details
-
toString
-
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
- Specified by:
fireValueChanged
in interfaceGUIObject
-
fireValueChanged
- Specified by:
fireValueChanged
in interfaceGUIObject
-
showGUI
-
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
-