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

Public Member Functions

 RelationView ()
 
void set (final Relation relation)
 
void notified (final Event event)
 
void addEventListener (final IEventListener eventListener)
 
void addEventListeners (final List< IEventListener > eventListeners)
 
void listen (final EventFirer firer)
 

Static Private Member Functions

static TableModel makeCodedExamplesModel (final String[][] codedExamples)
 

Private Attributes

final JTextField shortNameTextField
 
final JTextField longNameTextField
 
final JTextField parentTextField
 
final JTextField languageTextField
 
final JTextArea descriptionTextArea
 
final JTable codedExampleTable
 
final TregexPatternTable targetPatternsTable
 
Relation relation
 
final EventFirer eventFirer
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Relation view

Author
Bernard Bou

Constructor & Destructor Documentation

◆ RelationView()

grammarscope.common.model.RelationView.RelationView ( )

Constructor

Make popup

Parameters
rowrelation
Returns
pop up menu

Show pop up menu

Parameters
mouseEventmouse event
tabletable

Member Function Documentation

◆ addEventListener()

void grammarscope.common.model.RelationView.addEventListener ( final IEventListener  eventListener)

Add event listener

Parameters
eventListenerevent listener

◆ addEventListeners()

void grammarscope.common.model.RelationView.addEventListeners ( final List< IEventListener eventListeners)

Add event listeners

Parameters
eventListenersevent listeners to add to firer

◆ listen()

void grammarscope.common.model.RelationView.listen ( final EventFirer  firer)

Listen to event source

Parameters
firerevent source

◆ makeCodedExamplesModel()

static TableModel grammarscope.common.model.RelationView.makeCodedExamplesModel ( final String  codedExamples[][])
staticprivate

Make model from array

Parameters
codedExamplesexample-code pairs
Returns
table model

◆ notified()

void grammarscope.common.model.RelationView.notified ( final Event  event)

Event notification

Parameters
eventevent

Implements grammarscope.message.IEventListener.

◆ set()

void grammarscope.common.model.RelationView.set ( final Relation  relation)

Set relation

Parameters
relationrelation to edit

Member Data Documentation

◆ codedExampleTable

final JTable grammarscope.common.model.RelationView.codedExampleTable
private

Example/Coding text area

◆ descriptionTextArea

final JTextArea grammarscope.common.model.RelationView.descriptionTextArea
private

Description text area

◆ eventFirer

final EventFirer grammarscope.common.model.RelationView.eventFirer
private

Event firer

◆ languageTextField

final JTextField grammarscope.common.model.RelationView.languageTextField
private

Language text field

◆ longNameTextField

final JTextField grammarscope.common.model.RelationView.longNameTextField
private

Long name text field

◆ parentTextField

final JTextField grammarscope.common.model.RelationView.parentTextField
private

Parent text field

◆ relation

Relation grammarscope.common.model.RelationView.relation
private

Relation

◆ serialVersionUID

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

◆ shortNameTextField

final JTextField grammarscope.common.model.RelationView.shortNameTextField
private

Short name text field

◆ targetPatternsTable

final TregexPatternTable grammarscope.common.model.RelationView.targetPatternsTable
private

Pattern area


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