com.commsen.apropos.web
Class PropertyTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.wingx.table.XTableModel
com.commsen.apropos.web.PropertyTableModel
- All Implemented Interfaces:
- EventListener, java.io.Serializable, javax.swing.table.TableModel, org.wingx.table.FilterableTableModel, org.wingx.table.RefreshableModel, org.wingx.table.SortableTableModel
public class PropertyTableModel
- extends org.wingx.table.XTableModel
- implements EventListener
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Fields inherited from interface org.wingx.table.SortableTableModel |
SORT_ASCENDING, SORT_DESCENDING, SORT_NONE |
Methods inherited from class org.wingx.table.XTableModel |
getFilter, getSort, setFilter, setSort |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyTableModel
public PropertyTableModel()
- Parameters:
propertyPackagePanel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface javax.swing.table.TableModel
- See Also:
TableModel.getColumnCount()
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface javax.swing.table.TableModel
- See Also:
TableModel.getRowCount()
getValueAt
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface javax.swing.table.TableModel
- See Also:
TableModel.getValueAt(int, int)
getColumnName
public java.lang.String getColumnName(int column)
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
- See Also:
AbstractTableModel.getColumnName(int)
refresh
public void refresh()
- Specified by:
refresh
in interface org.wingx.table.RefreshableModel
- See Also:
RefreshableModel.refresh()
getColumnClass
public java.lang.Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel
- See Also:
AbstractTableModel.isCellEditable(int, int)
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 javax.swing.table.AbstractTableModel
- See Also:
AbstractTableModel.setValueAt(java.lang.Object, int, int)
isParentProperty
public boolean isParentProperty(int row)
isSameAsParent
public boolean isSameAsParent(int row)
handleEvent
public void handleEvent(Event event)
- Specified by:
handleEvent
in interface EventListener
Copyright © 2008 Commsen International. All Rights Reserved.