Top Fields Constructors Methods
impl.org.controlsfx.skin

public Class SegmentedButtonSkin

extends SkinBase<SegmentedButton>
Class Inheritance
Imports
java.util.Collections, javafx.beans.InvalidationListener, .Observable, javafx.collections.ObservableList, javafx.scene.control.SkinBase, .ToggleButton, .ToggleGroup, javafx.scene.layout.HBox, org.controlsfx.control.SegmentedButton

Field Summary

Modifier and TypeField and Description
private static final String
private final HBox
private static final String
private static final String
private static final String

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.

private ObservableList<ToggleButton>
private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

CENTER_PILLback to summary
private static final String CENTER_PILL
containerback to summary
private final HBox container
LEFT_PILLback to summary
private static final String LEFT_PILL
ONLY_BUTTONback to summary
private static final String ONLY_BUTTON
RIGHT_PILLback to summary
private static final String RIGHT_PILL

Constructor Detail

SegmentedButtonSkinback to summary
public SegmentedButtonSkin(SegmentedButton 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
getButtonsback to summary
private ObservableList<ToggleButton> getButtons()
updateButtonsback to summary
private void updateButtons()