Uses of Class jfx.incubator.scene.control.richtext.model.StyleAttribute (JavaFX 25)
Description: use: module: jfx.incubator.richtext, package: jfx.incubator.scene.control.richtext.model, class: StyleAttribute

# Uses of Class
jfx.incubator.scene.control.richtext.model.StyleAttribute

Packages that use StyleAttribute
Package
Description
jfx.incubator.scene.control.richtext
Provides two controls for displaying and editing large, virtualized, rich text documents: `RichTextArea` and `CodeArea`.
jfx.incubator.scene.control.richtext.model
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 StyleAttribute
  Modifier and Type
  Method
  Description
  `<C extends RichTextArea, T>
  void`
  StyleHandlerRegistry.`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>
  void`
  StyleHandlerRegistry.Builder.`setParHandler(StyleAttribute<T> a, StyleAttributeHandler<C,T> h)`
  Sets the paragraph handler for the given attribute.
  `<C extends RichTextArea, T>
  void`
  StyleHandlerRegistry.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 StyleAttribute
  Modifier and Type
  Field
  Description
  `static 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 StyleAttribute
  Modifier and Type
  Method
  Description
  `Set<Map.Entry<StyleAttribute<?>, Object>>`
  StyleAttributeMap.`getAttributeEntrySet()`
  Returns an immutable `Set` view of the mappings contained in this map.
  `Set<StyleAttribute<?>>`
  StyleAttributeMap.`getAttributes()`
  Returns the set of `StyleAttribute`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 StyleAttribute
  Modifier and Type
  Method
  Description
  `boolean`
  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 contains `Boolean.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 a `Number`.
  `static <V> StyleAttributeMap`
  StyleAttributeMap.`of(StyleAttribute<V> attribute, V value)`
  Convenience method creates the instance with a single attribute.
  `<V> StyleAttributeMap.Builder`
  StyleAttributeMap.Builder.`set(StyleAttribute<V> a, V value)`
  Sets the value for the specified attribute.