Class SegmentedBar.SegmentView

    • Constructor Detail

      • SegmentView

        public SegmentView​(T segment)
        Constructs a new segment view.
        Parameters:
        segment - the segment for which the view will be created.
    • Method Detail

      • layoutChildren

        protected void layoutChildren()
        The layout method has been overridden to ensure that the label used for displaying the text of a segment will be made invisible when there is not enough space to show the entire text.
        Overrides:
        layoutChildren in class StackPane