org.openstreetmap.josm.gui.history
Class HistoryBrowserModel.RelationMemberTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.openstreetmap.josm.gui.history.HistoryBrowserModel.RelationMemberTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
HistoryBrowserModel

public class HistoryBrowserModel.RelationMemberTableModel
extends javax.swing.table.AbstractTableModel

The table model for the relation members of the version at PointInTimeType.REFERENCE_POINT_IN_TIME or PointInTimeType.CURRENT_POINT_IN_TIME

See Also:
Serialized Form

Field Summary
private  PointInTimeType pointInTimeType
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
private HistoryBrowserModel.RelationMemberTableModel(PointInTimeType pointInTimeType)
           
 
Method Summary
 int getColumnCount()
           
protected  HistoryRelation getOppositeRelation()
           
protected  HistoryRelation getRelation()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable(int row, int column)
           
 boolean isInOppositeWay(int row)
           
 boolean isSameInOppositeWay(int row)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pointInTimeType

private PointInTimeType pointInTimeType
Constructor Detail

HistoryBrowserModel.RelationMemberTableModel

private HistoryBrowserModel.RelationMemberTableModel(PointInTimeType pointInTimeType)
Method Detail

getRowCount

public int getRowCount()

getRelation

protected HistoryRelation getRelation()

getOppositeRelation

protected HistoryRelation getOppositeRelation()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

isSameInOppositeWay

public boolean isSameInOppositeWay(int row)

isInOppositeWay

public boolean isInOppositeWay(int row)

getColumnCount

public int getColumnCount()


JOSM