Package org.ujmp.gui
Class AbstractMatrixGUIObject
- java.lang.Object
-
- org.ujmp.gui.AbstractGUIObject
-
- org.ujmp.gui.AbstractMatrixGUIObject
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.table.TableModel
,Clearable
,GUIObject
,HasDescription
,HasLabel
,HasToolTip
,MatrixGUIObject
,TableModel64
- Direct Known Subclasses:
DefaultMatrixGUIObject
public abstract class AbstractMatrixGUIObject extends AbstractGUIObject implements MatrixGUIObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private FastListSelectionModel64
columnSelectionModel
private javax.swing.JFrame
frame
private javax.swing.event.EventListenerList
listenerList
protected Matrix
matrix
private long[]
mouseOverCoordinates
private javax.swing.JPanel
panel
private FastListSelectionModel64
rowSelectionModel
private static long
serialVersionUID
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description AbstractMatrixGUIObject(Matrix matrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTableModelListener(javax.swing.event.TableModelListener l)
void
addTableModelListener(TableModelListener64 l)
java.lang.Class<?>
getColumnClass(int columnIndex)
java.lang.Class<?>
getColumnClass(long columnIndex)
int
getColumnCount()
FastListSelectionModel64
getColumnSelectionModel()
CoreObject
getCoreObject()
javax.swing.JFrame
getFrame()
This method will return a JFrame for this object.java.awt.Image
getIcon()
javax.swing.event.EventListenerList
getListenerList()
Matrix
getMatrix()
long[]
getMouseOverCoordinates()
javax.swing.JPanel
getPanel()
This method will return a JPanel for this object.int
getRowCount()
FastListSelectionModel64
getRowSelectionModel()
boolean
isCellEditable(int rowIndex, int columnIndex)
boolean
isCellEditable(long rowIndex, long columnIndex)
void
removeTableModelListener(javax.swing.event.TableModelListener l)
void
removeTableModelListener(TableModelListener64 l)
void
setMouseOverCoordinates(long... coordinates)
-
Methods inherited from class org.ujmp.gui.AbstractGUIObject
fireValueChanged, fireValueChanged, fireValueChanged, getModCount, getToolTipText, showGUI, 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
fireValueChanged, fireValueChanged, fireValueChanged, getModCount, showGUI
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasToolTip
getToolTipText
-
Methods inherited from interface org.ujmp.gui.MatrixGUIObject
fireValueChanged, getColorAt, getDataCache, getTodo, isColumnCountUpToDate, isIconUpToDate, isRowCountUpToDate, setColumnCount, setColumnCountUpToDate, setIcon, setIconUpToDate, setRowCount, setRowCountUpToDate
-
Methods inherited from interface org.ujmp.gui.table.TableModel64
getColumnCount64, getColumnName, getRowCount64, getValueAt, setValueAt
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
listenerList
private transient javax.swing.event.EventListenerList listenerList
-
rowSelectionModel
private transient FastListSelectionModel64 rowSelectionModel
-
columnSelectionModel
private transient FastListSelectionModel64 columnSelectionModel
-
frame
private transient javax.swing.JFrame frame
-
panel
private transient javax.swing.JPanel panel
-
matrix
protected final Matrix matrix
-
mouseOverCoordinates
private long[] mouseOverCoordinates
-
-
Constructor Detail
-
AbstractMatrixGUIObject
public AbstractMatrixGUIObject(Matrix matrix)
-
-
Method Detail
-
getListenerList
public final javax.swing.event.EventListenerList getListenerList()
- Specified by:
getListenerList
in interfaceMatrixGUIObject
-
addTableModelListener
public final void addTableModelListener(TableModelListener64 l)
- Specified by:
addTableModelListener
in interfaceTableModel64
-
removeTableModelListener
public final void removeTableModelListener(TableModelListener64 l)
- Specified by:
removeTableModelListener
in interfaceTableModel64
-
addTableModelListener
public final void addTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
addTableModelListener
in interfacejavax.swing.table.TableModel
-
removeTableModelListener
public final void removeTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
removeTableModelListener
in interfacejavax.swing.table.TableModel
-
getColumnSelectionModel
public final FastListSelectionModel64 getColumnSelectionModel()
- Specified by:
getColumnSelectionModel
in interfaceMatrixGUIObject
-
getRowSelectionModel
public final FastListSelectionModel64 getRowSelectionModel()
- Specified by:
getRowSelectionModel
in interfaceMatrixGUIObject
-
getColumnCount
public final int getColumnCount()
- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
-
getRowCount
public final int getRowCount()
- Specified by:
getRowCount
in interfacejavax.swing.table.TableModel
-
getFrame
public final javax.swing.JFrame getFrame()
Description copied from interface:GUIObject
This method will return a JFrame for this object.
-
getPanel
public final javax.swing.JPanel getPanel()
Description copied from interface:GUIObject
This method will return a JPanel for this object.
-
isCellEditable
public final boolean isCellEditable(int rowIndex, int columnIndex)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
-
isCellEditable
public final boolean isCellEditable(long rowIndex, long columnIndex)
- Specified by:
isCellEditable
in interfaceTableModel64
-
getMatrix
public final Matrix getMatrix()
- Specified by:
getMatrix
in interfaceMatrixGUIObject
-
getColumnClass
public final java.lang.Class<?> getColumnClass(long columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel64
-
getColumnClass
public final java.lang.Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
-
getCoreObject
public final CoreObject getCoreObject()
- Specified by:
getCoreObject
in interfaceGUIObject
-
setMouseOverCoordinates
public void setMouseOverCoordinates(long... coordinates)
- Specified by:
setMouseOverCoordinates
in interfaceMatrixGUIObject
-
getMouseOverCoordinates
public long[] getMouseOverCoordinates()
- Specified by:
getMouseOverCoordinates
in interfaceMatrixGUIObject
-
-