public class GNodeDecorator extends java.lang.Object implements IDecorator<GNode>
| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color |
backColor |
static java.awt.Color |
foreColor
Colors
|
| Constructor and Description |
|---|
GNodeDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(GNode gNode) |
static Pair<java.awt.Image,java.lang.Boolean> |
decorate(java.lang.String posLabel)
Decorate node image as per pos label
|
public static java.awt.Color foreColor
public static java.awt.Color backColor
public static Pair<java.awt.Image,java.lang.Boolean> decorate(java.lang.String posLabel)
posLabel - part-of-speechpublic void decorate(GNode gNode)
decorate in interface IDecorator<GNode>