Documentation of 'com.jstatcom.equation.SubMatModel' Java class
SubMatModel
com.jstatcom.equation

Class SubMatModel

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.event.ListSelectionListener, javax.swing.table.TableColumnModel


    public final class SubMatModel
    extends javax.swing.table.DefaultTableColumnModel
    A special table column model for the CoeffTable.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SubMatModel(int part)
      Creates a SubMatModel for an index denoting the part and a table.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addColumn(javax.swing.table.TableColumn tc)
      Adds only those columns that are in the sub matrix range.
      int getIndex()
      Gets the index represented by this part.
      int getNumberOfColumns()
      Gets the number of columns of this table model.
      void setIndex(int arg)
      Sets the index of this part of the equation.
      void setNumberOfColumns(int arg)
      Sets the number of columns in this model.
      • Methods inherited from class javax.swing.table.DefaultTableColumnModel

        addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SubMatModel

        public SubMatModel(int part)
        Creates a SubMatModel for an index denoting the part and a table.
        Parameters:
        part - index running from 0,...,n
    • Method Detail

      • addColumn

        public void addColumn(javax.swing.table.TableColumn tc)
        Adds only those columns that are in the sub matrix range.
        Specified by:
        addColumn in interface javax.swing.table.TableColumnModel
        Overrides:
        addColumn in class javax.swing.table.DefaultTableColumnModel
        Parameters:
        tc - the column to add
      • getIndex

        public int getIndex()
        Gets the index represented by this part.
        Returns:
        index
      • getNumberOfColumns

        public int getNumberOfColumns()
        Gets the number of columns of this table model.
        Returns:
        col number
      • setIndex

        public void setIndex(int arg)
        Sets the index of this part of the equation.
        Parameters:
        arg - index
      • setNumberOfColumns

        public void setNumberOfColumns(int arg)
        Sets the number of columns in this model.
        Parameters:
        arg - number of columns

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.