hep.aida.ref.plotter.style.editor
Class StylePropertyTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.l2fprod.common.propertysheet.PropertySheetTableModel
          extended by hep.aida.ref.plotter.style.editor.StylePropertyTableModel
All Implemented Interfaces:
com.l2fprod.common.propertysheet.PropertySheet, com.l2fprod.common.swing.ObjectTableModel, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.table.TableModel

public class StylePropertyTableModel
extends com.l2fprod.common.propertysheet.PropertySheetTableModel

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.l2fprod.common.propertysheet.PropertySheetTableModel
com.l2fprod.common.propertysheet.PropertySheetTableModel.Item, com.l2fprod.common.propertysheet.PropertySheetTableModel.NaturalOrderStringComparator, com.l2fprod.common.propertysheet.PropertySheetTableModel.PropertyComparator
 
Field Summary
static int EDIT_COLUMN
           
static java.lang.String EDIT_COLUMN_TEXT
           
 
Fields inherited from class com.l2fprod.common.propertysheet.PropertySheetTableModel
NAME_COLUMN, NUM_COLUMNS, VALUE_COLUMN
 
Fields inherited from interface com.l2fprod.common.propertysheet.PropertySheet
VIEW_AS_CATEGORIES, VIEW_AS_FLAT_LIST
 
Constructor Summary
StylePropertyTableModel(hep.aida.IBaseStyle style)
           
 
Method Summary
 int getColumnCount()
           
 hep.aida.IBaseStyle getStyle()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
           
 
Methods inherited from class com.l2fprod.common.propertysheet.PropertySheetTableModel
addProperty, addProperty, addPropertyChangeListener, getColumnClass, getMode, getObject, getProperties, getPropertyCount, getPropertySheetElement, getRowCount, isSortingCategories, isSortingProperties, propertyIterator, removeProperty, removePropertyChangeListener, setCategorySortingComparator, setMode, setProperties, setPropertySortingComparator, setSortingCategories, setSortingProperties
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnName, isCellEditable, removeTableModelListener
 

Field Detail

EDIT_COLUMN

public static final int EDIT_COLUMN
See Also:
Constant Field Values

EDIT_COLUMN_TEXT

public static final java.lang.String EDIT_COLUMN_TEXT
See Also:
Constant Field Values
Constructor Detail

StylePropertyTableModel

public StylePropertyTableModel(hep.aida.IBaseStyle style)
Method Detail

getStyle

public hep.aida.IBaseStyle getStyle()

setValueAt

public void setValueAt(java.lang.Object value,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class com.l2fprod.common.propertysheet.PropertySheetTableModel

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class com.l2fprod.common.propertysheet.PropertySheetTableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel
Overrides:
getColumnCount in class com.l2fprod.common.propertysheet.PropertySheetTableModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)
Specified by:
getValueAt in interface javax.swing.table.TableModel
Overrides:
getValueAt in class com.l2fprod.common.propertysheet.PropertySheetTableModel


jHepWork 1.1 (C) Chekanov