| Modifier and Type | Field and Description |
|---|---|
| private StyleAttributeMap | |
| private TextCell | |
| private Node | |
| private final StringBuilder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addStyle(String fxStyle)
Implements jfx. Adds an inline style. |
| pack-priv void | |
| public <T> void | decorateRun(StyleAttribute<T> a, CellContext.
Implements jfx. Decorates the current segment with the specified attribute by coalescing adjacent runs into a single decoration pass. |
| public StyleAttributeMap | getAttributes()
Implements jfx. Returns the current attributes. |
| public Node | getNode()
Implements jfx. Returns the node being styled. |
| pack-priv void |
| attrs | back to summary |
|---|---|
| private StyleAttributeMap attrs | |
| cell | back to summary |
|---|---|
| private TextCell cell | |
| node | back to summary |
|---|---|
| private Node node | |
| style | back to summary |
|---|---|
| private final StringBuilder style | |
| VFlowCellContext | back to summary |
|---|---|
| public VFlowCellContext() | |
| addStyle | back to summary |
|---|---|
| public void addStyle(String fxStyle) Implements jfx. Doc from jfx. Adds an inline style.
The inline style must be a valid CSS style string, for example
| |
| apply | back to summary |
|---|---|
| pack-priv void apply() | |
| decorateRun | back to summary |
|---|---|
| public <T> void decorateRun(StyleAttribute<T> a, CellContext. Implements jfx. Doc from jfx. Decorates the current segment with the specified attribute by coalescing adjacent runs into a single decoration pass. This method is used when the visual representation requires uninterrupted segments instead of several adjacent ones, for example in the case of wavy underline, in order to avoid breaks in the wave. This method expects that for any attribute the corresponding type and styleName are the same.
| |
| getAttributes | back to summary |
|---|---|
| public StyleAttributeMap getAttributes() Implements jfx. Doc from jfx. Returns the current attributes.
| |
| getNode | back to summary |
|---|---|
| public Node getNode() Implements jfx. Doc from jfx. Returns the node being styled. This might be a TextFlow (for the paragraph cell context) or Text (for the text segment cell context).
| |
| reset | back to summary |
|---|---|
| pack-priv void reset(TextCell cell, Node n, StyleAttributeMap a) | |