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

Classes

class  Renderer
 

Public Member Functions

 TregexPatternTable ()
 
 TregexPatternTable (final List< String > patterns)
 
void setRenderer ()
 
void set (final String[] patterns)
 
JPanel makePatternPanel (final boolean editable)
 
void expand ()
 
void shrink ()
 
Dimension getPreferredSize ()
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Table to display/edit TregexPatterns

Author
Bernard Bou

Constructor & Destructor Documentation

◆ TregexPatternTable() [1/2]

grammarscope.common.component.TregexPatternTable.TregexPatternTable ( )

Constructor

◆ TregexPatternTable() [2/2]

grammarscope.common.component.TregexPatternTable.TregexPatternTable ( final List< String >  patterns)

Constructor

Parameters
patternstregex patterns

Member Function Documentation

◆ expand()

void grammarscope.common.component.TregexPatternTable.expand ( )

Expand space for selected pattern

◆ getPreferredSize()

Dimension grammarscope.common.component.TregexPatternTable.getPreferredSize ( )

◆ makePatternPanel()

JPanel grammarscope.common.component.TregexPatternTable.makePatternPanel ( final boolean  editable)

Make pattern panel

Parameters
editableeditable
Returns
panel

◆ set()

void grammarscope.common.component.TregexPatternTable.set ( final String[]  patterns)

Set patterns

Parameters
patternstregex patterns

◆ setRenderer()

void grammarscope.common.component.TregexPatternTable.setRenderer ( )

Set renderer

◆ shrink()

void grammarscope.common.component.TregexPatternTable.shrink ( )

Shrink space for selected pattern

Member Data Documentation

◆ serialVersionUID

final long grammarscope.common.component.TregexPatternTable.serialVersionUID = 1L
staticprivate

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