Class CardTabControl

    • Constructor Detail

      • CardTabControl

        public CardTabControl​(CardControl cardControl,
                              Flow axis)
        Card control and axis constructor.
        Parameters:
        cardControl - The card control to be controlled.
        axis - The axis along which the tabs are oriented.
        Throws:
        java.lang.NullPointerException - if the given card control and/or axis is null.
      • CardTabControl

        public CardTabControl​(CardControl cardControl,
                              Flow axis,
                              int maxTabCount)
        Card control, axis, and maximum tab count constructor.
        Parameters:
        cardControl - The card control to be controlled.
        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 card control and/or axis is null.
      • CardTabControl

        public CardTabControl​(CardControl cardControl,
                              ListSelectControl.ValueRepresentationStrategy<Component> valueRepresentationStrategy,
                              Flow axis)
        Card control, value representation strategy, and axis constructor.
        Parameters:
        cardControl - The card control to be controlled.
        valueRepresentationStrategy - The strategy to create label models to represent this model's values.
        axis - The axis along which the tabs are oriented.
        Throws:
        java.lang.NullPointerException - if the given card control, value representation strategy, and/or axis is null.
      • CardTabControl

        public CardTabControl​(CardControl cardControl,
                              ListSelectControl.ValueRepresentationStrategy<Component> valueRepresentationStrategy,
                              Flow axis,
                              int maxTabCount)
        Card control, value representation strategy, axis, and maximum tab count constructor.
        Parameters:
        cardControl - The card control to be controlled.
        valueRepresentationStrategy - The strategy to create label models to represent this model's values.
        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 card control, value representation strategy, and/or axis is null.