Package com.yworks.yguard
Class YGuardLogParser.Icons
- java.lang.Object
-
- com.yworks.yguard.YGuardLogParser.Icons
-
- All Implemented Interfaces:
javax.swing.Icon
- Enclosing class:
- YGuardLogParser
public static final class YGuardLogParser.Icons extends java.lang.Object implements javax.swing.IconThe type Icons.
-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.IconCLASS_ICONThe constant CLASS_ICON.protected java.awt.ColorcolorThe Color.static javax.swing.IconFIELD_ICONThe constant FIELD_ICON.protected java.lang.StringlabelThe Label.static javax.swing.IconMETHOD_ICONThe constant METHOD_ICON.static javax.swing.IconPACKAGE_ICONThe constant PACKAGE_ICON.
-
Constructor Summary
Constructors Constructor Description Icons(java.awt.Color color, java.lang.String label)Instantiates a new Icons.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Field Detail
-
CLASS_ICON
public static final javax.swing.Icon CLASS_ICON
The constant CLASS_ICON.
-
METHOD_ICON
public static final javax.swing.Icon METHOD_ICON
The constant METHOD_ICON.
-
PACKAGE_ICON
public static final javax.swing.Icon PACKAGE_ICON
The constant PACKAGE_ICON.
-
FIELD_ICON
public static final javax.swing.Icon FIELD_ICON
The constant FIELD_ICON.
-
color
protected java.awt.Color color
The Color.
-
label
protected java.lang.String label
The Label.
-
-
Method Detail
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)- Specified by:
paintIconin interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfacejavax.swing.Icon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfacejavax.swing.Icon
-
-