|
|||||||||
| Home >> All >> com >> eireneh >> swing >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.swing.config
Class ColorField.CustomIcon

java.lang.Objectcom.eireneh.swing.config.ColorField.CustomIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Enclosing class:
- ColorField
- class ColorField.CustomIcon
- extends java.lang.Object
- implements javax.swing.Icon
- extends java.lang.Object
The CustomIcon that shows the selected color
| Constructor Summary | |
(package private) |
ColorField.CustomIcon()
|
| Method Summary | |
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draw the icon at the specified location. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ColorField.CustomIcon
ColorField.CustomIcon()
| Method Detail |
getIconHeight
public int getIconHeight()
- Returns the icon's height.
- Specified by:
getIconHeightin interfacejavax.swing.Icon
getIconWidth
public int getIconWidth()
- Returns the icon's width.
- Specified by:
getIconWidthin interfacejavax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Draw the icon at the specified location.
- Specified by:
paintIconin interfacejavax.swing.Icon
|
|||||||||
| Home >> All >> com >> eireneh >> swing >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.swing.config.ColorField.CustomIcon