Class ColumnControlIcon

java.lang.Object
org.jdesktop.swingx.icon.ColumnControlIcon
All Implemented Interfaces:
Icon, UIResource

public class ColumnControlIcon extends Object implements Icon, UIResource
Icon class for rendering icon which indicates user control of column visibility.
Version:
1.0
  • Field Details

    • width

      private int width
    • height

      private int height
  • Constructor Details

    • ColumnControlIcon

      public ColumnControlIcon()
      TODO: need to support small, medium, large
  • Method Details

    • getIconWidth

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

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • main

      public static void main(String[] args)