Class FlatComboBox<E>

    • Constructor Detail

      • FlatComboBox

        public FlatComboBox()
    • Method Detail

      • getPlaceholderText

        public String getPlaceholderText()
        Returns the placeholder text that is only painted if the editable combo box is empty.
      • setPlaceholderText

        public void setPlaceholderText​(String placeholderText)
        Sets the placeholder text that is only painted if the editable combo box is empty.
      • getMinimumWidth

        public int getMinimumWidth()
        Returns minimum width of a component.
      • setMinimumWidth

        public void setMinimumWidth​(int minimumWidth)
        Specifies minimum width of a component.
      • isRoundRect

        public boolean isRoundRect()
        Returns whether the component is painted with round edges.
      • setRoundRect

        public void setRoundRect​(boolean roundRect)
        Specifies whether the component is painted with round edges.
      • getOutline

        public Object getOutline()
        Returns the outline color of the component border.
      • setOutline

        public void setOutline​(Object outline)
        Specifies the outline color of the component border.

        Allowed Values are:

        • null
        • string "error"
        • string "warning"
        • any color (type Color)
        • an array of two colors (type Color[2]) where the first color is for focused state and the second for unfocused state