Class TabContainerControl

    • Field Detail

      • AXIS_PROPERTY

        public static final java.lang.String AXIS_PROPERTY
        The axis bound property.
      • MAX_TAB_COUNT_PROPERTY

        public static final java.lang.String MAX_TAB_COUNT_PROPERTY
        The maximum tab count bound property.
    • Constructor Detail

      • TabContainerControl

        public TabContainerControl()
        Default constructor with default Flow.LINE axis orientation.
      • TabContainerControl

        public TabContainerControl​(Flow axis)
        Axis constructor.
        Parameters:
        axis - The axis along which the tabs are oriented.
        Throws:
        java.lang.NullPointerException - if the given axis is null.
      • TabContainerControl

        public TabContainerControl​(TabLayout layout,
                                   Flow axis)
        Layout and axis constructor.
        Parameters:
        layout - The layout definition for the container.
        axis - The axis along which the tabs are oriented.
        Throws:
        java.lang.NullPointerException - if the given layout, and/or axis is null.
      • TabContainerControl

        public TabContainerControl​(TabLayout layout,
                                   Flow axis,
                                   int maxTabCount)
        Layout, axis, and maximum tab count constructor.
        Parameters:
        layout - The layout definition for the container.
        axis - The axis along which the tabs are oriented.
        maxTabCount - The requested number of visible tabs, or -1 if no maximum tab count is specified.
        Throws:
        java.lang.NullPointerException - if the given layout and/or axis is null.
    • Method Detail

      • getAxis

        public Flow getAxis()
        Returns:
        The flow axis.
      • setAxis

        public void setAxis​(Flow newAxis)
        Sets the flow axis. This is a bound property
        Parameters:
        newAxis - The flow axis.
        Throws:
        java.lang.NullPointerException - if the given axis is null.
        See Also:
        AXIS_PROPERTY
      • getMaxTabCount

        public int getMaxTabCount()
        Returns:
        The estimated number of tabs requested to be visible, or -1 if no tab count is specified.
      • setMaxTabCount

        public void setMaxTabCount​(int newMaxTabCount)
        Sets the estimated number of tabs requested to be visible. This is a bound property of type Integer.
        Parameters:
        newMaxTabCount - The new requested number of visible tabs, or -1 if no tab count is specified.
        See Also:
        MAX_TAB_COUNT_PROPERTY