Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class LimitedTextAreaSkin

extends ResizableTextAreaSkin
Class Inheritance
Imports
com.dlsc.gemsfx.CircleProgressIndicator, .LimitedTextArea, .Spacer, com.dlsc.gemsfx.util.IntegerRange, javafx.application.Platform, javafx.beans.InvalidationListener, javafx.beans.binding.Bindings, javafx.beans.property.ReadOnlyBooleanWrapper, javafx.css.PseudoClass, javafx.event.Event, javafx.geometry.HPos, .VPos, javafx.scene.control.Label, javafx.scene.input.MouseEvent, javafx.scene.layout.HBox, .Priority, .Region, .StackPane, .VBox, org.kordamp.ikonli.javafx.FontIcon, org.kordamp.ikonli.materialdesign.MaterialDesign, java.util.Map, .NavigableMap, .TreeMap

Field Summary

Modifier and TypeField and Description
private final VBox
private static final PseudoClass
ERROR_PSEUDO_CLASS

The pseudo class for the error state.

private final ReadOnlyBooleanWrapper
private CircleProgressIndicator
private static final NavigableMap<Long, String>
private static final PseudoClass
Inherited from com.dlsc.gemsfx.skins.ResizableTextAreaSkin:
contentPanehorizontalScrollBarresizeCornerscrollPaneverticalScrollBar

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private String
abbreviateNumber(long value)

private Label
private CircleProgressIndicator
private HBox
protected void
layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides com.dlsc.gemsfx.skins.ResizableTextAreaSkin.layoutChildren.

Called during the layout pass of the scenegraph.

private void
private void
private void
private void

Field Detail

contentBoxback to summary
private final VBox contentBox
ERROR_PSEUDO_CLASSback to summary
private static final PseudoClass ERROR_PSEUDO_CLASS

The pseudo class for the error state.

outOfRangeback to summary
private final ReadOnlyBooleanWrapper outOfRange
progressIndicatorback to summary
private CircleProgressIndicator progressIndicator
suffixesback to summary
private static final NavigableMap<Long, String> suffixes
WARNING_PSEUDO_CLASSback to summary
private static final PseudoClass WARNING_PSEUDO_CLASS

Constructor Detail

LimitedTextAreaSkinback to summary
public LimitedTextAreaSkin(LimitedTextArea control, ReadOnlyBooleanWrapper outOfRange)

Method Detail

abbreviateNumberback to summary
private String abbreviateNumber(long value)
createLengthLabelback to summary
private Label createLengthLabel(LimitedTextArea control)
createProgressIndicatorback to summary
private CircleProgressIndicator createProgressIndicator(LimitedTextArea control)
initBottomback to summary
private HBox initBottom(LimitedTextArea control)
layoutChildrenback to summary
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides com.dlsc.gemsfx.skins.ResizableTextAreaSkin.layoutChildren.

Doc from javafx.scene.control.skin.TextAreaSkin.layoutChildren.

Called during the layout pass of the scenegraph.

Annotations
@Override
registerListenerback to summary
private void registerListener(LimitedTextArea control)
updateProgressback to summary
private void updateProgress()
updatePseudoClassback to summary
private void updatePseudoClass()
updateTextAndPseudoClassback to summary
private void updateTextAndPseudoClass()