Uses of Class
jfx.incubator.scene.control.richtext.model.StyleAttribute
Packages that use StyleAttribute
Package
Description
Provides two controls for displaying and editing large, virtualized, rich text documents:
RichTextArea
and
CodeArea
.Provides common models for
RichTextArea
and
CodeArea
controls.-
Uses of StyleAttribute in jfx.incubator.scene.control.richtext
Methods in jfx.incubator.scene.control.richtext with parameters of type StyleAttributeModifier and TypeMethodDescription<C extends RichTextArea,
T>
voidStyleHandlerRegistry.process
(C control, boolean forParagraph, CellContext cx, StyleAttribute<T> a, T value) Invokes the handler, if present, for the specified attribute in the context of the specified control.<C extends RichTextArea,
T>
voidStyleHandlerRegistry.Builder.setParHandler
(StyleAttribute<T> a, StyleAttributeHandler<C, T> h) Sets the paragraph handler for the given attribute.<C extends RichTextArea,
T>
voidStyleHandlerRegistry.Builder.setSegHandler
(StyleAttribute<T> a, StyleAttributeHandler<C, T> h) Sets the text segment handler for the given attribute. -
Uses of StyleAttribute in jfx.incubator.scene.control.richtext.model
Fields in jfx.incubator.scene.control.richtext.model declared as StyleAttributeModifier and TypeFieldDescriptionstatic final StyleAttribute
<Color> StyleAttributeMap.BACKGROUND
Paragraph background color attribute.static final StyleAttribute
<Boolean> StyleAttributeMap.BOLD
Bold typeface text attribute.static final StyleAttribute
<String> StyleAttributeMap.BULLET
Bullet point paragraph attribute.static final StyleAttribute
<Double> StyleAttributeMap.FIRST_LINE_INDENT
First line indent paragraph attribute, in pixels.static final StyleAttribute
<String> StyleAttributeMap.FONT_FAMILY
Font family text attribute.static final StyleAttribute
<Double> StyleAttributeMap.FONT_SIZE
Font size text attribute, in pixels.static final StyleAttribute
<Boolean> StyleAttributeMap.ITALIC
Italic type face text attribute.static final StyleAttribute
<Double> StyleAttributeMap.LINE_SPACING
Line spacing paragraph attribute.static final StyleAttribute
<ParagraphDirection> StyleAttributeMap.PARAGRAPH_DIRECTION
Paragraph direction attribute.static final StyleAttribute
<Double> StyleAttributeMap.SPACE_ABOVE
Space above (top padding) paragraph attribute.static final StyleAttribute
<Double> StyleAttributeMap.SPACE_BELOW
Space below (bottom padding) paragraph attribute.static final StyleAttribute
<Double> StyleAttributeMap.SPACE_LEFT
Space to the left (left padding) paragraph attribute.static final StyleAttribute
<Double> StyleAttributeMap.SPACE_RIGHT
Space to the right (right padding) paragraph attribute.static final StyleAttribute
<Boolean> StyleAttributeMap.STRIKE_THROUGH
Strike-through text attribute.static final StyleAttribute
<TextAlignment> StyleAttributeMap.TEXT_ALIGNMENT
Text alignment paragraph attribute.static final StyleAttribute
<Color> StyleAttributeMap.TEXT_COLOR
Text color attribute.static final StyleAttribute
<Boolean> StyleAttributeMap.UNDERLINE
Underline text attribute.Methods in jfx.incubator.scene.control.richtext.model that return types with arguments of type StyleAttributeModifier and TypeMethodDescriptionSet
<Map.Entry<StyleAttribute<?>, Object>> StyleAttributeMap.getAttributeEntrySet()
Returns an immutableSet
view of the mappings contained in this map.Set
<StyleAttribute<?>> StyleAttributeMap.getAttributes()
Returns the set ofStyleAttribute
s.protected Set
<StyleAttribute<?>> StyledTextModel.getSupportedAttributes()
Returns the set of attributes supported attributes.Methods in jfx.incubator.scene.control.richtext.model with parameters of type StyleAttributeModifier and TypeMethodDescriptionboolean
StyleAttributeMap.contains
(StyleAttribute<?> a) Returns true if the attribute is present; false otherwise.<V> V
StyleAttributeMap.get
(StyleAttribute<V> a) Returns the attribute value, or null if no such attribute is present.boolean
StyleAttributeMap.getBoolean
(StyleAttribute<Boolean> a) Returns true if the specified attribute containsBoolean.TRUE
, false in any other case.double
StyleAttributeMap.getDouble
(StyleAttribute<? extends Number> a, double defaultValue) Returns the value of the specified attribute, or defaultValue if the specified attribute is not present or is not aNumber
.static <V> StyleAttributeMap
StyleAttributeMap.of
(StyleAttribute<V> attribute, V value) Convenience method creates the instance with a single attribute.StyleAttributeMap.Builder.set
(StyleAttribute<V> a, V value) Sets the value for the specified attribute.