GrammarScope  4.0.0
Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
grammarscope.common.model.RelationTableModel Class Reference
Inheritance diagram for grammarscope.common.model.RelationTableModel:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.common.model.RelationTableModel:
Collaboration graph
[legend]

Public Member Functions

 RelationTableModel ()
 
 RelationTableModel (final RelationModel relationModel)
 
RelationModel getRelationModel ()
 
boolean isCellEditable (final int rowIndex, final int columnIndex)
 

Static Private Member Functions

static Vector< Vector< Object > > getData (final Collection< Relation > relations)
 

Private Attributes

final RelationModel relationModel
 

Static Private Attributes

static final long serialVersionUID = 1L
 
static final String[] columnNames = { "", "", "name", "hierarchy", "long name" }
 

Detailed Description

Relation table model

Author
Bernard Bou

Constructor & Destructor Documentation

◆ RelationTableModel() [1/2]

grammarscope.common.model.RelationTableModel.RelationTableModel ( )

Constructor

◆ RelationTableModel() [2/2]

grammarscope.common.model.RelationTableModel.RelationTableModel ( final RelationModel  relationModel)

Constructor

Parameters
relationModelrelation model

Member Function Documentation

◆ getData()

static Vector<Vector<Object> > grammarscope.common.model.RelationTableModel.getData ( final Collection< Relation relations)
staticprivate

Get data vector

Parameters
relationslist of grammatical relations
Returns
data vector

◆ getRelationModel()

RelationModel grammarscope.common.model.RelationTableModel.getRelationModel ( )

Access to relation model

Returns
relation model

◆ isCellEditable()

boolean grammarscope.common.model.RelationTableModel.isCellEditable ( final int  rowIndex,
final int  columnIndex 
)

Member Data Documentation

◆ columnNames

final String [] grammarscope.common.model.RelationTableModel.columnNames = { "", "", "name", "hierarchy", "long name" }
staticprivate

Column names

◆ relationModel

final RelationModel grammarscope.common.model.RelationTableModel.relationModel
private

Relation model

◆ serialVersionUID

final long grammarscope.common.model.RelationTableModel.serialVersionUID = 1L
staticprivate

The documentation for this class was generated from the following file: