GrammarScope  4.0.0
Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
grammarscope.common.filter.tree.RelationTreeCellRenderer Class Reference
Inheritance diagram for grammarscope.common.filter.tree.RelationTreeCellRenderer:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.common.filter.tree.RelationTreeCellRenderer:
Collaboration graph
[legend]

Public Member Functions

 RelationTreeCellRenderer ()
 
void set (final IMutableFilter< HasId > relationFilter)
 
Component getTreeCellRendererComponent (final JTree tree, final Object value, final boolean isSelected, final boolean expanded, final boolean leaf, final int row, final boolean hasFocus)
 

Static Public Attributes

static final Font font = new Font(Font.DIALOG, Font.PLAIN, 11)
 
static boolean displayLongName = true
 

Protected Member Functions

 RelationTreeCellRenderer (final TreeCell cell)
 

Static Protected Member Functions

static String getToolTip (final Relation relation)
 

Protected Attributes

final TreeCell cell
 
IMutableFilter< HasIdrelationFilter
 

Detailed Description

Tree cell renderer

Author
Bernard Bou

Constructor & Destructor Documentation

◆ RelationTreeCellRenderer() [1/2]

grammarscope.common.filter.tree.RelationTreeCellRenderer.RelationTreeCellRenderer ( )

Constructor

◆ RelationTreeCellRenderer() [2/2]

grammarscope.common.filter.tree.RelationTreeCellRenderer.RelationTreeCellRenderer ( final TreeCell  cell)
protected

Constructor

Parameters
cellcell

Member Function Documentation

◆ getToolTip()

static String grammarscope.common.filter.tree.RelationTreeCellRenderer.getToolTip ( final Relation  relation)
staticprotected

Get tooltip string

Parameters
relationgrammatical relation
Returns
tooltip string

◆ getTreeCellRendererComponent()

Component grammarscope.common.filter.tree.RelationTreeCellRenderer.getTreeCellRendererComponent ( final JTree  tree,
final Object  value,
final boolean  isSelected,
final boolean  expanded,
final boolean  leaf,
final int  row,
final boolean  hasFocus 
)

◆ set()

void grammarscope.common.filter.tree.RelationTreeCellRenderer.set ( final IMutableFilter< HasId relationFilter)

Set filter

Parameters
relationFilterrelation filter

Implements grammarscope.common.filter.tree.IRenderer.

Member Data Documentation

◆ cell

final TreeCell grammarscope.common.filter.tree.RelationTreeCellRenderer.cell
protected

Renderer cell

◆ displayLongName

boolean grammarscope.common.filter.tree.RelationTreeCellRenderer.displayLongName = true
static

Whether to display long names

◆ font

final Font grammarscope.common.filter.tree.RelationTreeCellRenderer.font = new Font(Font.DIALOG, Font.PLAIN, 11)
static

Font

◆ relationFilter

IMutableFilter<HasId> grammarscope.common.filter.tree.RelationTreeCellRenderer.relationFilter
protected

Relation filter


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