|
static Boolean[] | split (final Long compositeMode) |
|
static Long | merge (final Boolean posesMode, final Boolean namedEntitiesMode, final Boolean relationsMode, final Boolean typedDependenciesMode, final Boolean sentimentsMode, final Boolean corefsMode, final Boolean highlightHeadMode) |
|
static long | merge (final RenderMode... renderModes) |
|
static int | padBits (final long compositeMode0) |
|
static RenderMode[] | orderedValues () |
|
|
static final int | ALPHA = 0xE0 |
|
static final long | PAD_MASK = POSES.mask | NAMEDENTITIES.mask | RELATIONS.mask | TYPEDDEPENDENCIES.mask | SENTIMENTS.mask | COREFERENCES.mask |
|
Rendering mode
- Author
- Bernard Bou
◆ RenderMode()
grammarscope.browser.View.RenderMode.RenderMode |
( |
final long |
mask | ) |
|
◆ mask()
long grammarscope.browser.View.RenderMode.mask |
( |
| ) |
|
◆ merge() [1/2]
static Long grammarscope.browser.View.RenderMode.merge |
( |
final Boolean |
posesMode, |
|
|
final Boolean |
namedEntitiesMode, |
|
|
final Boolean |
relationsMode, |
|
|
final Boolean |
typedDependenciesMode, |
|
|
final Boolean |
sentimentsMode, |
|
|
final Boolean |
corefsMode, |
|
|
final Boolean |
highlightHeadMode |
|
) |
| |
|
static |
Merge modes into composite value
- Parameters
-
posesMode | POS mode |
namedEntitiesMode | named entities mode |
relationsMode | relations mode |
typedDependenciesMode | typed dependencies mode |
sentimentsMode | sentiments mode |
corefsMode | coreference mode |
highlightHeadMode | highlight heads mode |
- Returns
- composite mode
◆ merge() [2/2]
static long grammarscope.browser.View.RenderMode.merge |
( |
final RenderMode... |
renderModes | ) |
|
|
static |
Merge modes into composite value
- Parameters
-
- Returns
- composite value
◆ orderedValues()
static RenderMode [] grammarscope.browser.View.RenderMode.orderedValues |
( |
| ) |
|
|
static |
Ordered modes
- Returns
- array of modes
◆ padBits()
static int grammarscope.browser.View.RenderMode.padBits |
( |
final long |
compositeMode0 | ) |
|
|
static |
Number of bits set in composite value
- Parameters
-
compositeMode0 | composite mode |
- Returns
- number of bits set in composite value
◆ split()
static Boolean [] grammarscope.browser.View.RenderMode.split |
( |
final Long |
compositeMode | ) |
|
|
static |
Split composite value into its component parts
- Parameters
-
compositeMode | composite value |
- Returns
- array of booleans: [0] POSES, [1] NAMEDENTITIES, [2] RELATIONS, [3] TYPEDDEPENDENCIES, [4] SENTIMENTS, [5] COREFERENCES, [6] HIGHLIGHTHEAD
◆ test()
boolean grammarscope.browser.View.RenderMode.test |
( |
final long |
compositeMode | ) |
|
Test if this composite value has this mode
- Parameters
-
compositeMode | composite mode |
- Returns
- true if this composite value has this mode
◆ toggle()
long grammarscope.browser.View.RenderMode.toggle |
( |
final long |
compositeMode | ) |
|
Toggle bit in composite value
- Parameters
-
compositeMode | composite mode |
- Returns
- toggled composite mode
◆ ALL
grammarscope.browser.View.RenderMode.ALL =(0x3F) |
◆ ALPHA
final int grammarscope.browser.View.RenderMode.ALPHA = 0xE0 |
|
static |
◆ COREFERENCES
grammarscope.browser.View.RenderMode.COREFERENCES =(0x20) |
◆ HIGHLIGHT
grammarscope.browser.View.RenderMode.HIGHLIGHT =(0x100) |
◆ mask
final long grammarscope.browser.View.RenderMode.mask |
|
private |
◆ NAMEDENTITIES
grammarscope.browser.View.RenderMode.NAMEDENTITIES =(0x2) |
◆ NONE
grammarscope.browser.View.RenderMode.NONE =(0) |
◆ PAD_MASK
final long grammarscope.browser.View.RenderMode.PAD_MASK = POSES.mask | NAMEDENTITIES.mask | RELATIONS.mask | TYPEDDEPENDENCIES.mask | SENTIMENTS.mask | COREFERENCES.mask |
|
static |
◆ POSES
grammarscope.browser.View.RenderMode.POSES =(0x1) |
◆ RELATIONS
grammarscope.browser.View.RenderMode.RELATIONS =(0x4) |
◆ SENTIMENTS
grammarscope.browser.View.RenderMode.SENTIMENTS =(0x10) |
◆ TYPEDDEPENDENCIES
grammarscope.browser.View.RenderMode.TYPEDDEPENDENCIES =(0x8) |
The documentation for this enum was generated from the following file:
- grammarscope/browser/src/main/java/grammarscope/browser/View.java