Package org.jdesktop.swingx.icon
Class ColumnControlIcon
java.lang.Object
org.jdesktop.swingx.icon.ColumnControlIcon
- All Implemented Interfaces:
Icon,UIResource,SwingConstants,SizingConstants
Icon class for rendering icon which indicates user control of column visibility.
- Version:
- 1.0
- Author:
- Amy Fowler, EUG (support sizes and color)
-
Field Summary
Fields inherited from interface org.jdesktop.swingx.icon.SizingConstants
ACTION_ICON, BUTTON_ICON, L, LAUNCHER_ICON, M, N, S, SMALL_ICON, XL, XS, XXLFields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST -
Constructor Summary
ConstructorsModifierConstructorDescriptionctorColumnControlIcon(int size) convienient ctorprotectedColumnControlIcon(int width, int height) convienient ctorColumnControlIcon(int size, Color color) ctorprotectedColumnControlIcon(Dimension size) convienient ctor with Dimension -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Constructor Details
-
ColumnControlIcon
public ColumnControlIcon()ctor -
ColumnControlIcon
ctor- Parameters:
size- icon width and lengthcolor- circle is filled with
-
ColumnControlIcon
public ColumnControlIcon(int size) convienient ctor- Parameters:
size- icon width and length
-
ColumnControlIcon
protected ColumnControlIcon(int width, int height) convienient ctor- Parameters:
width- of the iconheight- of the icon
-
ColumnControlIcon
convienient ctor with Dimension- Parameters:
size- Dimension
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-