Top Fields Constructors Methods
impl.org.controlsfx.skin

public Class InfoOverlaySkin

extends SkinBase<InfoOverlay>
Class Inheritance
Imports
javafx.animation.Animation.Status, .Interpolator, .KeyFrame, .KeyValue, .Timeline, javafx.beans.binding.Bindings, javafx.beans.property.DoubleProperty, .SimpleDoubleProperty, javafx.beans.value.ChangeListener, .ObservableValue, javafx.event.EventHandler, javafx.geometry.HPos, .Insets, .Pos, .VPos, javafx.scene.Cursor, .Node, javafx.scene.control.Label, .SkinBase, .ToggleButton, javafx.scene.image.Image, .ImageView, javafx.scene.input.MouseEvent, javafx.scene.layout.HBox, javafx.util.Duration, org.controlsfx.control.InfoOverlay

Field Summary

Modifier and TypeField and Description
private final ImageView
private Node
private final ImageView
private ToggleButton
private Label
private HBox
private Timeline
private DoubleProperty
private static final Duration

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected double
computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Computes the maximum allowable height of the Skin, based on the provided width.

protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

protected double
computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected double
computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase.

private void
private boolean
protected void
layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

private void
private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMinHeightcomputeMinWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

COLLAPSE_IMAGEback to summary
private final ImageView COLLAPSE_IMAGE
contentback to summary
private Node content
EXPAND_IMAGEback to summary
private final ImageView EXPAND_IMAGE
expandCollapseButtonback to summary
private ToggleButton expandCollapseButton
infoLabelback to summary
private Label infoLabel
infoPanelback to summary
private HBox infoPanel
timelineback to summary
private Timeline timeline
transitionback to summary
private DoubleProperty transition
TRANSITION_DURATIONback to summary
private static final Duration TRANSITION_DURATION

Constructor Detail

InfoOverlaySkinback to summary
public InfoOverlaySkin(final InfoOverlay control)

Method Detail

computeMaxHeightback to summary
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Doc from javafx.scene.control.SkinBase.computeMaxHeight.

Computes the maximum allowable height of the Skin, based on the provided width.

Annotations
@Override
computeMaxWidthback to summary
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Doc from javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

Annotations
@Override
computePrefHeightback to summary
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Doc from javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase. The default implementation calculates this height as the height of the area occupied by its managed children when they are positioned at their current positions at their preferred heights.

Annotations
@Override
computePrefWidthback to summary
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Doc from javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase. The default implementation calculates this width as the width of the area occupied by its managed children when they are positioned at their current positions at their preferred widths.

Annotations
@Override
doToggleback to summary
private void doToggle()
isExpandedback to summary
private boolean isExpanded()
layoutChildrenback to summary
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Doc from javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

Annotations
@Override
toggleInfoPanelback to summary
private void toggleInfoPanel()
updateToggleButtonback to summary
private void updateToggleButton()