Relation palette
- Author
- Bernard Bou
◆ RelationPalette() [1/2]
grammarscope.common.filter.RelationPalette.RelationPalette |
( |
final String |
description | ) |
|
◆ RelationPalette() [2/2]
grammarscope.common.filter.RelationPalette.RelationPalette |
( |
final RelationPalette |
relationPalette | ) |
|
Copy constructor
- Parameters
-
relationPalette | source palette |
◆ color()
Color grammarscope.common.filter.RelationPalette.color |
( |
final HasId |
object | ) |
|
◆ fromProperties()
void grammarscope.common.filter.RelationPalette.fromProperties |
( |
final Properties |
properties | ) |
|
Load properties into maps
- Parameters
-
properties | properties to read from |
◆ main()
static void grammarscope.common.filter.RelationPalette.main |
( |
final String[] |
args | ) |
|
|
static |
◆ makeColorMap()
static Map<String, Color> grammarscope.common.filter.RelationPalette.makeColorMap |
( |
| ) |
|
|
staticprivate |
Make color map
- Returns
- default color map
◆ makeFromProperties()
static RelationPalette grammarscope.common.filter.RelationPalette.makeFromProperties |
( |
final Properties |
properties, |
|
|
final String |
description |
|
) |
| |
|
static |
Load palette from properties
- Parameters
-
properties | properties to read from |
description | description |
- Returns
- relation filter
◆ setColor()
void grammarscope.common.filter.RelationPalette.setColor |
( |
final HasId |
object, |
|
|
final Color |
color |
|
) |
| |
Set color
- Parameters
-
object | object |
color | object's color |
◆ toProperties()
Properties grammarscope.common.filter.RelationPalette.toProperties |
( |
| ) |
|
To properties
- Returns
- properties
◆ toString()
String grammarscope.common.filter.RelationPalette.toString |
( |
| ) |
|
◆ colorMap
final Map<String, Color> grammarscope.common.filter.RelationPalette.colorMap |
|
private |
◆ description
String grammarscope.common.filter.RelationPalette.description |
The documentation for this class was generated from the following file: