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.BACKGROUNDParagraph background color attribute.static final StyleAttribute<Boolean> StyleAttributeMap.BOLDBold typeface text attribute.static final StyleAttribute<String> StyleAttributeMap.BULLETBullet point paragraph attribute.static final StyleAttribute<Double> StyleAttributeMap.FIRST_LINE_INDENTFirst line indent paragraph attribute, in pixels.static final StyleAttribute<String> StyleAttributeMap.FONT_FAMILYFont family text attribute.static final StyleAttribute<Double> StyleAttributeMap.FONT_SIZEFont size text attribute, in pixels.static final StyleAttribute<Boolean> StyleAttributeMap.ITALICItalic type face text attribute.static final StyleAttribute<Double> StyleAttributeMap.LINE_SPACINGLine spacing paragraph attribute.static final StyleAttribute<ParagraphDirection> StyleAttributeMap.PARAGRAPH_DIRECTIONParagraph direction attribute.static final StyleAttribute<Double> StyleAttributeMap.SPACE_ABOVESpace above (top padding) paragraph attribute.static final StyleAttribute<Double> StyleAttributeMap.SPACE_BELOWSpace below (bottom padding) paragraph attribute.static final StyleAttribute<Double> StyleAttributeMap.SPACE_LEFTSpace to the left (left padding) paragraph attribute.static final StyleAttribute<Double> StyleAttributeMap.SPACE_RIGHTSpace to the right (right padding) paragraph attribute.static final StyleAttribute<Boolean> StyleAttributeMap.STRIKE_THROUGHStrike-through text attribute.static final StyleAttribute<TextAlignment> StyleAttributeMap.TEXT_ALIGNMENTText alignment paragraph attribute.static final StyleAttribute<Color> StyleAttributeMap.TEXT_COLORText color attribute.static final StyleAttribute<Boolean> StyleAttributeMap.UNDERLINEUnderline 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 immutableSetview of the mappings contained in this map.Set<StyleAttribute<?>> StyleAttributeMap.getAttributes()Returns the set ofStyleAttributes.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 TypeMethodDescriptionbooleanStyleAttributeMap.contains(StyleAttribute<?> a) Returns true if the attribute is present; false otherwise.<V> VStyleAttributeMap.get(StyleAttribute<V> a) Returns the attribute value, or null if no such attribute is present.booleanStyleAttributeMap.getBoolean(StyleAttribute<Boolean> a) Returns true if the specified attribute containsBoolean.TRUE, false in any other case.doubleStyleAttributeMap.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> StyleAttributeMapStyleAttributeMap.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.