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

Public Member Functions

 RelationTreeCellRendererEditor ()
 
void set (final IMutableFilter< HasId > filter)
 
JCheckBox prepare (final JCheckBox checkBox, final Relation relation)
 
Component getTreeCellRendererComponent (final JTree tree, final Object value, final boolean isSelected, final boolean expanded, final boolean leaf, final int row, final boolean hasFocus)
 
Component getTreeCellEditorComponent (final JTree tree, final Object value, final boolean isSelected, final boolean expanded, final boolean leaf, final int row)
 
Object getCellEditorValue ()
 

Static Public Attributes

static final Color backColor = UIManager.getColor("Tree.background")
 
static boolean displayLongName
 

Protected Attributes

RelationTreeValue value
 

Private Attributes

IMutableFilter< HasIdrelationFilter
 
final JCheckBox renderingCheckBox
 
final JCheckBox editingCheckBox
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Tree cell renderer

Author
Bernard Bou

Constructor & Destructor Documentation

◆ RelationTreeCellRendererEditor()

grammarscope.common.filter.tree.RelationTreeCellRendererEditor.RelationTreeCellRendererEditor ( )

Constructor

Member Function Documentation

◆ getCellEditorValue()

Object grammarscope.common.filter.tree.RelationTreeCellRendererEditor.getCellEditorValue ( )

◆ getTreeCellEditorComponent()

Component grammarscope.common.filter.tree.RelationTreeCellRendererEditor.getTreeCellEditorComponent ( final JTree  tree,
final Object  value,
final boolean  isSelected,
final boolean  expanded,
final boolean  leaf,
final int  row 
)

◆ getTreeCellRendererComponent()

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

◆ prepare()

JCheckBox grammarscope.common.filter.tree.RelationTreeCellRendererEditor.prepare ( final JCheckBox  checkBox,
final Relation  relation 
)

Prepare checkbox with relation data

Parameters
checkBoxcheckbox
relationrelation
Returns
prepared checkbox

◆ set()

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

Set filter

Parameters
filterfilter

Implements grammarscope.common.filter.tree.IEditor.

Member Data Documentation

◆ backColor

final Color grammarscope.common.filter.tree.RelationTreeCellRendererEditor.backColor = UIManager.getColor("Tree.background")
static

Back color

◆ displayLongName

boolean grammarscope.common.filter.tree.RelationTreeCellRendererEditor.displayLongName
static

Display long names

◆ editingCheckBox

final JCheckBox grammarscope.common.filter.tree.RelationTreeCellRendererEditor.editingCheckBox
private

Editing checkbox

◆ relationFilter

IMutableFilter<HasId> grammarscope.common.filter.tree.RelationTreeCellRendererEditor.relationFilter
private

Relation filter

◆ renderingCheckBox

final JCheckBox grammarscope.common.filter.tree.RelationTreeCellRendererEditor.renderingCheckBox
private

Rendering checkbox

◆ serialVersionUID

final long grammarscope.common.filter.tree.RelationTreeCellRendererEditor.serialVersionUID = 1L
staticprivate

◆ value

RelationTreeValue grammarscope.common.filter.tree.RelationTreeCellRendererEditor.value
protected

Edited value (this is needed so that getCellEditorValue() returns composite data)


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