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 inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor and Description AbstractMatrixGUIObject(Matrix matrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddTableModelListener(javax.swing.event.TableModelListener l)voidaddTableModelListener(TableModelListener64 l)java.lang.Class<?>getColumnClass(int columnIndex)java.lang.Class<?>getColumnClass(long columnIndex)intgetColumnCount()FastListSelectionModel64getColumnSelectionModel()CoreObjectgetCoreObject()javax.swing.JFramegetFrame()This method will return a JFrame for this object.java.awt.ImagegetIcon()javax.swing.event.EventListenerListgetListenerList()MatrixgetMatrix()long[]getMouseOverCoordinates()javax.swing.JPanelgetPanel()This method will return a JPanel for this object.intgetRowCount()FastListSelectionModel64getRowSelectionModel()booleanisCellEditable(int rowIndex, int columnIndex)booleanisCellEditable(long rowIndex, long columnIndex)voidremoveTableModelListener(javax.swing.event.TableModelListener l)voidremoveTableModelListener(TableModelListener64 l)voidsetMouseOverCoordinates(long... coordinates)-
Methods inherited from class org.ujmp.gui.AbstractGUIObject
fireValueChanged, fireValueChanged, fireValueChanged, getModCount, getToolTipText, showGUI, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.core.interfaces.GUIObject
fireValueChanged, fireValueChanged, fireValueChanged, getModCount, showGUI
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
Methods inherited from interface org.ujmp.core.interfaces.HasToolTip
getToolTipText
-
Methods inherited from interface org.ujmp.gui.table.TableModel64
getColumnCount64, getColumnName, getRowCount64, getValueAt, setValueAt
-
-
-
-
Constructor Detail
-
AbstractMatrixGUIObject
public AbstractMatrixGUIObject(Matrix matrix)
-
-
Method Detail
-
getListenerList
public final javax.swing.event.EventListenerList getListenerList()
- Specified by:
getListenerListin interfaceMatrixGUIObject
-
addTableModelListener
public final void addTableModelListener(TableModelListener64 l)
- Specified by:
addTableModelListenerin interfaceTableModel64
-
removeTableModelListener
public final void removeTableModelListener(TableModelListener64 l)
- Specified by:
removeTableModelListenerin interfaceTableModel64
-
addTableModelListener
public final void addTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
addTableModelListenerin interfacejavax.swing.table.TableModel
-
removeTableModelListener
public final void removeTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
removeTableModelListenerin interfacejavax.swing.table.TableModel
-
getColumnSelectionModel
public final FastListSelectionModel64 getColumnSelectionModel()
- Specified by:
getColumnSelectionModelin interfaceMatrixGUIObject
-
getRowSelectionModel
public final FastListSelectionModel64 getRowSelectionModel()
- Specified by:
getRowSelectionModelin interfaceMatrixGUIObject
-
getColumnCount
public final int getColumnCount()
- Specified by:
getColumnCountin interfacejavax.swing.table.TableModel
-
getRowCount
public final int getRowCount()
- Specified by:
getRowCountin interfacejavax.swing.table.TableModel
-
getFrame
public final javax.swing.JFrame getFrame()
Description copied from interface:GUIObjectThis method will return a JFrame for this object.
-
getPanel
public final javax.swing.JPanel getPanel()
Description copied from interface:GUIObjectThis method will return a JPanel for this object.
-
isCellEditable
public final boolean isCellEditable(int rowIndex, int columnIndex)- Specified by:
isCellEditablein interfacejavax.swing.table.TableModel
-
isCellEditable
public final boolean isCellEditable(long rowIndex, long columnIndex)- Specified by:
isCellEditablein interfaceTableModel64
-
getMatrix
public final Matrix getMatrix()
- Specified by:
getMatrixin interfaceMatrixGUIObject
-
getColumnClass
public final java.lang.Class<?> getColumnClass(long columnIndex)
- Specified by:
getColumnClassin interfaceTableModel64
-
getColumnClass
public final java.lang.Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClassin interfacejavax.swing.table.TableModel
-
getCoreObject
public final CoreObject getCoreObject()
- Specified by:
getCoreObjectin interfaceGUIObject
-
setMouseOverCoordinates
public void setMouseOverCoordinates(long... coordinates)
- Specified by:
setMouseOverCoordinatesin interfaceMatrixGUIObject
-
getMouseOverCoordinates
public long[] getMouseOverCoordinates()
- Specified by:
getMouseOverCoordinatesin interfaceMatrixGUIObject
-
-
DataMelt 3.0 © DataMelt by jWork.ORG