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, XXL
Fields 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 ctorprotected
ColumnControlIcon
(int width, int height) convienient ctorColumnControlIcon
(int size, Color color) ctorprotected
ColumnControlIcon
(Dimension size) convienient ctor with Dimension -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
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:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-