Package editor

Class WindowsTreeUI.CollapsedIcon

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

    public static class WindowsTreeUI.CollapsedIcon
    extends WindowsTreeUI.ExpandedIcon
    The plus 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

      • CollapsedIcon

        public CollapsedIcon()
    • Method Detail

      • createCollapsedIcon

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

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