Class FlatTabbedPaneCloseIcon

  • All Implemented Interfaces:
    javax.swing.Icon, javax.swing.plaf.UIResource

    public class FlatTabbedPaneCloseIcon
    extends FlatAbstractIcon
    "close" icon for closable tabs in JTabbedPane.
    • Field Detail

      • closeSize

        protected java.awt.Dimension closeSize
      • closeArc

        protected int closeArc
      • closeCrossPlainSize

        protected float closeCrossPlainSize
      • closeCrossFilledSize

        protected float closeCrossFilledSize
      • closeCrossLineWidth

        protected float closeCrossLineWidth
      • closeBackground

        protected java.awt.Color closeBackground
      • closeForeground

        protected java.awt.Color closeForeground
      • closeHoverBackground

        protected java.awt.Color closeHoverBackground
      • closeHoverForeground

        protected java.awt.Color closeHoverForeground
      • closePressedBackground

        protected java.awt.Color closePressedBackground
      • closePressedForeground

        protected java.awt.Color closePressedForeground
    • Constructor Detail

      • FlatTabbedPaneCloseIcon

        public FlatTabbedPaneCloseIcon()
    • Method Detail

      • applyStyleProperty

        public java.lang.Object applyStyleProperty​(java.lang.String key,
                                                   java.lang.Object value)
        Since:
        2
      • getStyleableInfos

        public java.util.Map<java.lang.String,​java.lang.Class<?>> getStyleableInfos()
        Since:
        2
      • getStyleableValue

        public java.lang.Object getStyleableValue​(java.lang.String key)
        Since:
        2.5
      • paintIcon

        protected void paintIcon​(java.awt.Component c,
                                 java.awt.Graphics2D g)
        Specified by:
        paintIcon in class FlatAbstractIcon