Package org.ujmp.gui
Class DefaultMatrixGUIObject
java.lang.Object
org.ujmp.gui.AbstractGUIObject
org.ujmp.gui.AbstractMatrixGUIObject
org.ujmp.gui.DefaultMatrixGUIObject
- All Implemented Interfaces:
Serializable
,Cloneable
,TableModel
,Clearable
,GUIObject
,HasDescription
,HasLabel
,HasToolTip
,MatrixGUIObject
,TableModel64
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
protected boolean
protected final Map<Coordinates,
DataItem> protected Image
protected boolean
protected long
protected boolean
private static final long
protected final List<Coordinates>
Fields inherited from class org.ujmp.gui.AbstractMatrixGUIObject
matrix
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
final void
Indicates that changed in the object have been made, that should be updated on the screen.final void
fireValueChanged
(long row, long column, Object value) void
fireValueChanged
(Coordinates coordinates, Object value) void
fireValueChanged
(Coordinates start, Coordinates end) getColorAt
(long rowIndex, long columnIndex) long
final String
getColumnName
(int columnIndex) final String
getColumnName
(long columnIndex) final String
getIcon()
final String
getLabel()
Returns the String label of an object.final Object
Returns the label of an object.long
getTodo()
getValueAt
(int rowIndex, int columnIndex) getValueAt
(long rowIndex, long columnIndex) boolean
boolean
boolean
void
setColumnCount
(long columnCount) void
setColumnCountUpToDate
(boolean b) final void
setDescription
(String description) void
setIcon
(BufferedImage image) void
setIconUpToDate
(boolean b) final void
Sets the label of an objectvoid
setRowCount
(long rowCount) void
setRowCountUpToDate
(boolean b) final void
setValueAt
(Object aValue, int rowIndex, int columnIndex) final void
setValueAt
(Object aValue, long rowIndex, long columnIndex) final String
toString()
final void
updateUI()
Methods inherited from class org.ujmp.gui.AbstractMatrixGUIObject
addTableModelListener, addTableModelListener, getColumnClass, getColumnClass, getColumnCount, getColumnSelectionModel, getCoreObject, getFrame, getListenerList, getMatrix, getMouseOverCoordinates, getPanel, getRowCount, getRowSelectionModel, isCellEditable, isCellEditable, removeTableModelListener, removeTableModelListener, setMouseOverCoordinates
Methods inherited from class org.ujmp.gui.AbstractGUIObject
getModCount, getToolTipText, showGUI
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
getModCount, showGUI
Methods inherited from interface org.ujmp.core.interfaces.HasToolTip
getToolTipText
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
dataCache
-
todo
-
rowCount
protected volatile long rowCount -
columnCount
protected volatile long columnCount -
iconUpToDate
protected volatile boolean iconUpToDate -
rowCountUpToDate
protected volatile boolean rowCountUpToDate -
columnCountUpToDate
protected volatile boolean columnCountUpToDate -
icon
-
-
Constructor Details
-
DefaultMatrixGUIObject
-
-
Method Details
-
getRowCount64
public long getRowCount64() -
getColumnCount64
public long getColumnCount64() -
fireValueChanged
- Specified by:
fireValueChanged
in interfaceGUIObject
- Overrides:
fireValueChanged
in classAbstractGUIObject
-
fireValueChanged
- Specified by:
fireValueChanged
in interfaceGUIObject
- Overrides:
fireValueChanged
in classAbstractGUIObject
-
fireValueChanged
public final 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
- Overrides:
fireValueChanged
in classAbstractGUIObject
-
updateUI
public final void updateUI() -
fireValueChanged
-
getValueAt
-
getValueAt
-
getColorAt
-
clear
public final void clear() -
getLabel
Description copied from interface:HasLabel
Returns the String label of an object.- Returns:
- the label
-
setLabel
Description copied from interface:HasLabel
Sets the label of an object- Parameters:
label
- the new label.
-
getLabelObject
Description copied from interface:HasLabel
Returns the label of an object.- Returns:
- the label
-
getColumnName
-
getColumnName
-
setValueAt
-
setValueAt
-
getIcon
- Specified by:
getIcon
in interfaceGUIObject
- Overrides:
getIcon
in classAbstractMatrixGUIObject
-
getDescription
-
setDescription
-
toString
- Specified by:
toString
in classAbstractGUIObject
-
isIconUpToDate
public boolean isIconUpToDate() -
setIconUpToDate
public void setIconUpToDate(boolean b) -
setIcon
-
isColumnCountUpToDate
public boolean isColumnCountUpToDate() -
setColumnCount
public void setColumnCount(long columnCount) -
setColumnCountUpToDate
public void setColumnCountUpToDate(boolean b) -
isRowCountUpToDate
public boolean isRowCountUpToDate() -
setRowCount
public void setRowCount(long rowCount) -
setRowCountUpToDate
public void setRowCountUpToDate(boolean b) -
getTodo
-
getDataCache
-