Package editor

Class WindowsTreeUI.ExpandedIcon

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.Icon
    Direct Known Subclasses:
    WindowsTreeUI.CollapsedIcon
    Enclosing class:
    WindowsTreeUI

    public static class WindowsTreeUI.ExpandedIcon
    extends java.lang.Object
    implements javax.swing.Icon, java.io.Serializable
    The minus sign button icon

    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

    See Also:
    Serialized Form
    • Constructor Detail

      • ExpandedIcon

        public ExpandedIcon()
    • Method Detail

      • createExpandedIcon

        public static javax.swing.Icon createExpandedIcon()
      • paintIcon

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

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

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