Verified Owner
Top Fields Constructors Methods
org.jabref.gui.util

public Class TextFlowLimited

extends TextFlow
Class Inheritance
Imports
javafx.animation.Animation, .Transition, javafx.geometry.HPos, .VPos, javafx.scene.control.Hyperlink, javafx.scene.layout.Region, javafx.scene.shape.Rectangle, javafx.scene.text.Text, .TextFlow, javafx.util.Duration, org.jabref.logic.l10n.Localization

Field Summary

Modifier and TypeField and Description
private Rectangle
private boolean
private Hyperlink

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected double
computePrefHeight(double width)

Overrides javafx.scene.text.TextFlow.computePrefHeight.

Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy.

private void
protected void
layoutChildren()

Overrides javafx.scene.text.TextFlow.layoutChildren.

Invoked during the layout pass to layout the children in this Parent.

Inherited from javafx.scene.text.TextFlow:
caretShapecomputeMinHeightcomputePrefWidthgetBaselineOffsetgetCaretShapegetClassCssMetaDatagetContentBiasgetCssMetaDatagetHitInfogetLayoutInfogetLineSpacinggetRangeShapegetStrikeThroughShapegetTabSizegetTabStopPolicygetTextAlignmentgetUnderlineShapehitTestlineSpacingPropertyqueryAccessibleAttributerangeShaperequestLayoutsetLineSpacingsetTabSizesetTabStopPolicysetTextAlignmentsetWidthtabSizePropertytabStopPolicyPropertytextAlignmentPropertyunderlineShapeusesMirroring

Field Detail

clipback to summary
private Rectangle clip
isCollapsedback to summary
private boolean isCollapsed

Constructor Detail

TextFlowLimitedback to summary
public TextFlowLimited(Text... texts)

Method Detail

computePrefHeightback to summary
protected double computePrefHeight(double width)

Overrides javafx.scene.text.TextFlow.computePrefHeight.

Doc from javafx.scene.layout.Region.computePrefHeight.

Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.

Annotations
@Override
expandback to summary
private void expand()
layoutChildrenback to summary
protected void layoutChildren()

Overrides javafx.scene.text.TextFlow.layoutChildren.

Doc from javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning.

Subclasses should override this function to layout content as needed.

Annotations
@Override