APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.jfx.incubator.scene.control.richtext

public Class Params

extends Object
Class Inheritance
Imports
javafx.util.Duration

Internal constants and defaults.

Field Summary

Modifier and TypeField and Description
public static final int
ACCESSIBILITY_TEXT_MAX_PARAGRAPHS

max number of paragraphs for accessible selected text

public static final double
AUTO_SCROLL_FAST_THRESHOLD

autoscroll switches to fast mode when mouse is moved further out of the view, pixels.

public static final int
AUTO_SCROLL_PERIOD

autoscroll animation period, milliseconds.

public static final double
AUTO_SCROLL_STEP_FAST

"fast" autoscroll step, in pixels.

public static final double
AUTO_SCROLL_STEP_SLOW

"slow" autoscroll step, in pixels.

public static final int
CELL_CACHE_SIZE

cell cache size.

public static final boolean
DEFAULT_DISPLAY_CARET

default value for displayCaret property

public static final boolean
DEFAULT_HIGHLIGHT_CURRENT_PARAGRAPH

default value for highlightCurrentParagraph property

public static final int
DEFAULT_TAB_SIZE

default tab size in the CodeArea

public static final boolean
DEFAULT_USE_CONTENT_HEIGHT

default value for useContentHeight property

public static final boolean
DEFAULT_USE_CONTENT_WIDTH

default value for useContentWidth property

public static final boolean
DEFAULT_WRAP_TEXT

default value for wrapText property

public static final double
HORIZONTAL_GUARD

ensures the caret is always visible when reaching the edge of screen in unwrapped mode, in pixels.

public static final int
IME_MAX_TEXT_LENGTH

maximum length of the text to pass to IME subsystem

public static final double
LAYOUT_FOCUS_BORDER

focus background outline size

public static final double
LAYOUT_MIN_HEIGHT

min height of the content area when use content width = true and empty model

public static final double
LAYOUT_MIN_WIDTH

min width of the content area when use content width = true and empty model

public static final double
MAX_HEIGHT_SAFEGUARD

prevents lockup when useContentHeight is enabled with a large model

public static final double
MAX_WIDTH_FOR_LAYOUT

maximum width for unwrapped TextFlow layout.

public static final double
MIN_HEIGHT

default minimum height

public static final double
MIN_VIEWPORT_WIDTH

minimum viewport width prevents extra tall text flows

public static final double
MIN_WIDTH

default minimum width

public static final double
PREF_HEIGHT

default preferred height

public static final double
PREF_WIDTH

default preferred width

public static final double
SCROLL_BARS_BLOCK_INCREMENT

scroll bars block increment, fraction of view width/height (between 0.0 and 1.0).

public static final double
SCROLL_BARS_UNIT_INCREMENT

scroll bars unit increment, fraction of view width/height (between 0.0 and 1.0).

public static final double
SCROLL_SHEEL_BLOCK_SIZE_HORIZONTAL

horizontal mouse wheel scroll block size as a fraction of window width.

public static final double
SCROLL_WHEEL_BLOCK_SIZE_VERTICAL

vertical mouse wheel scroll block size as a fraction of window height.

public static final int
SLIDING_WINDOW_EXTENT

The number of paragraphs to lay out before and after the view point in VFlow.

public static final String
STYLE_TEXT_HIGHLIGHT_1

Style name for text highlight (background color) 1

public static final String
STYLE_TEXT_HIGHLIGHT_2

Style name for text highlight (background color) 2

public static final String
STYLE_TEXT_HIGHLIGHT_3

Style name for text highlight (background color) 3

public static final String
STYLE_TEXT_HIGHLIGHT_4

Style name for text highlight (background color) 4

public static final String
STYLE_TEXT_HIGHLIGHT_5

Style name for text highlight (background color) 5

public static final String
STYLE_WAVY_UNDERLINE_1

Style name for wavy underline color 1

public static final String
STYLE_WAVY_UNDERLINE_2

Style name for wavy underline color 2

public static final String
STYLE_WAVY_UNDERLINE_3

Style name for wavy underline color 3

public static final String
VERSION_3

RichTextModel format version.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ACCESSIBILITY_TEXT_MAX_PARAGRAPHSback to summary
public static final int ACCESSIBILITY_TEXT_MAX_PARAGRAPHS

max number of paragraphs for accessible selected text

AUTO_SCROLL_FAST_THRESHOLDback to summary
public static final double AUTO_SCROLL_FAST_THRESHOLD

autoscroll switches to fast mode when mouse is moved further out of the view, pixels.

AUTO_SCROLL_PERIODback to summary
public static final int AUTO_SCROLL_PERIOD

autoscroll animation period, milliseconds.

AUTO_SCROLL_STEP_FASTback to summary
public static final double AUTO_SCROLL_STEP_FAST

"fast" autoscroll step, in pixels.

AUTO_SCROLL_STEP_SLOWback to summary
public static final double AUTO_SCROLL_STEP_SLOW

"slow" autoscroll step, in pixels.

CELL_CACHE_SIZEback to summary
public static final int CELL_CACHE_SIZE

cell cache size.

DEFAULT_DISPLAY_CARETback to summary
public static final boolean DEFAULT_DISPLAY_CARET

default value for displayCaret property

DEFAULT_HIGHLIGHT_CURRENT_PARAGRAPHback to summary
public static final boolean DEFAULT_HIGHLIGHT_CURRENT_PARAGRAPH

default value for highlightCurrentParagraph property

DEFAULT_TAB_SIZEback to summary
public static final int DEFAULT_TAB_SIZE

default tab size in the CodeArea

DEFAULT_USE_CONTENT_HEIGHTback to summary
public static final boolean DEFAULT_USE_CONTENT_HEIGHT

default value for useContentHeight property

DEFAULT_USE_CONTENT_WIDTHback to summary
public static final boolean DEFAULT_USE_CONTENT_WIDTH

default value for useContentWidth property

DEFAULT_WRAP_TEXTback to summary
public static final boolean DEFAULT_WRAP_TEXT

default value for wrapText property

HORIZONTAL_GUARDback to summary
public static final double HORIZONTAL_GUARD

ensures the caret is always visible when reaching the edge of screen in unwrapped mode, in pixels.

IME_MAX_TEXT_LENGTHback to summary
public static final int IME_MAX_TEXT_LENGTH

maximum length of the text to pass to IME subsystem

LAYOUT_FOCUS_BORDERback to summary
public static final double LAYOUT_FOCUS_BORDER

focus background outline size

LAYOUT_MIN_HEIGHTback to summary
public static final double LAYOUT_MIN_HEIGHT

min height of the content area when use content width = true and empty model

LAYOUT_MIN_WIDTHback to summary
public static final double LAYOUT_MIN_WIDTH

min width of the content area when use content width = true and empty model

MAX_HEIGHT_SAFEGUARDback to summary
public static final double MAX_HEIGHT_SAFEGUARD

prevents lockup when useContentHeight is enabled with a large model

MAX_WIDTH_FOR_LAYOUTback to summary
public static final double MAX_WIDTH_FOR_LAYOUT

maximum width for unwrapped TextFlow layout. Neither Double.MAX_VALUE nor 1e20 work, probably bc float

MIN_HEIGHTback to summary
public static final double MIN_HEIGHT

default minimum height

MIN_VIEWPORT_WIDTHback to summary
public static final double MIN_VIEWPORT_WIDTH

minimum viewport width prevents extra tall text flows

MIN_WIDTHback to summary
public static final double MIN_WIDTH

default minimum width

PREF_HEIGHTback to summary
public static final double PREF_HEIGHT

default preferred height

PREF_WIDTHback to summary
public static final double PREF_WIDTH

default preferred width

SCROLL_BARS_BLOCK_INCREMENTback to summary
public static final double SCROLL_BARS_BLOCK_INCREMENT

scroll bars block increment, fraction of view width/height (between 0.0 and 1.0).

SCROLL_BARS_UNIT_INCREMENTback to summary
public static final double SCROLL_BARS_UNIT_INCREMENT

scroll bars unit increment, fraction of view width/height (between 0.0 and 1.0).

SCROLL_SHEEL_BLOCK_SIZE_HORIZONTALback to summary
public static final double SCROLL_SHEEL_BLOCK_SIZE_HORIZONTAL

horizontal mouse wheel scroll block size as a fraction of window width.

SCROLL_WHEEL_BLOCK_SIZE_VERTICALback to summary
public static final double SCROLL_WHEEL_BLOCK_SIZE_VERTICAL

vertical mouse wheel scroll block size as a fraction of window height.

SLIDING_WINDOW_EXTENTback to summary
public static final int SLIDING_WINDOW_EXTENT

The number of paragraphs to lay out before and after the view point in VFlow.

STYLE_TEXT_HIGHLIGHT_1back to summary
public static final String STYLE_TEXT_HIGHLIGHT_1

Style name for text highlight (background color) 1

STYLE_TEXT_HIGHLIGHT_2back to summary
public static final String STYLE_TEXT_HIGHLIGHT_2

Style name for text highlight (background color) 2

STYLE_TEXT_HIGHLIGHT_3back to summary
public static final String STYLE_TEXT_HIGHLIGHT_3

Style name for text highlight (background color) 3

STYLE_TEXT_HIGHLIGHT_4back to summary
public static final String STYLE_TEXT_HIGHLIGHT_4

Style name for text highlight (background color) 4

STYLE_TEXT_HIGHLIGHT_5back to summary
public static final String STYLE_TEXT_HIGHLIGHT_5

Style name for text highlight (background color) 5

STYLE_WAVY_UNDERLINE_1back to summary
public static final String STYLE_WAVY_UNDERLINE_1

Style name for wavy underline color 1

STYLE_WAVY_UNDERLINE_2back to summary
public static final String STYLE_WAVY_UNDERLINE_2

Style name for wavy underline color 2

STYLE_WAVY_UNDERLINE_3back to summary
public static final String STYLE_WAVY_UNDERLINE_3

Style name for wavy underline color 3

VERSION_3back to summary
public static final String VERSION_3

RichTextModel format version.

Constructor Detail

Paramsback to summary
public Params()