Top Description Constructors Methods
jfx.incubator.scene.control.richtext.skin

public Class CodeAreaSkin

extends RichTextAreaSkin
Class Inheritance
Imports
java.util.Locale, javafx.scene.text.Font, com.sun.jfx.incubator.scene.control.richtext.RichTextAreaSkinHelper, com.sun.jfx.incubator.scene.control.richtext.util.ListenerHelper, .RichUtils, jfx.incubator.scene.control.richtext.CodeArea, jfx.incubator.scene.control.richtext.model.StyleAttributeMap

The skin for CodeArea.
Since
24

Constructor Summary

AccessConstructor and Description
public
CodeAreaSkin(CodeArea
the CodeArea instance
control
)

Constructs the CodeArea skin.

Method Summary

Modifier and TypeMethod and Description
public void
applyStyles(CellContext
the cell context
cx
,
StyleAttributeMap
the attributes
attrs
,
boolean
determines whether the styles are applied to the paragraph (true), or text segment (false)
forParagraph
)

Overrides jfx.incubator.scene.control.richtext.skin.RichTextAreaSkin.applyStyles.

Applies styles based on supplied attribute set to either the whole paragraph or the text segment.

Inherited from jfx.incubator.scene.control.richtext.skin.RichTextAreaSkin:
computeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthcopyTextcreateHScrollBarcreateVScrollBardisposeexecuteAccessibleActiongetStyleResolverinstallpasteTextqueryAccessibleAttributerefreshLayout

Constructor Detail

CodeAreaSkinback to summary
public CodeAreaSkin(CodeArea control)

Constructs the CodeArea skin.

Parameters
control:CodeArea

the CodeArea instance

Method Detail

applyStylesback to summary
public void applyStyles(CellContext cx, StyleAttributeMap attrs, boolean forParagraph)

Overrides jfx.incubator.scene.control.richtext.skin.RichTextAreaSkin.applyStyles.

Doc from jfx.incubator.scene.control.richtext.skin.RichTextAreaSkin.applyStyles.

Applies styles based on supplied attribute set to either the whole paragraph or the text segment. This method can be overriden by other skin implementations to provide additional styling. The overriding method must call super implementation.

Parameters
cx:CellContext

the cell context

attrs:StyleAttributeMap

the attributes

forParagraph:boolean

determines whether the styles are applied to the paragraph (true), or text segment (false)

Annotations
@Override