Class AbstractThemedIcon

    • Field Detail

      • width

        protected int width
      • height

        protected int height
      • disabled

        protected boolean disabled
    • Constructor Detail

      • AbstractThemedIcon

        public AbstractThemedIcon()
    • Method Detail

      • disabled

        public ThemedIcon disabled()
        Description copied from interface: ThemedIcon
        Returns a new icon that renders the same image as this icon, but as if for a permanently disabled component.
        Specified by:
        disabled in interface ThemedIcon
        Returns:
        a disabled verison of the icon
      • paintIcon

        public final void paintIcon​(java.awt.Component c,
                                    java.awt.Graphics g,
                                    int x,
                                    int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
      • paintIcon

        protected abstract void paintIcon​(java.awt.Component c,
                                          java.awt.Graphics2D g,
                                          int x,
                                          int y)
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface javax.swing.Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface javax.swing.Icon
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object