Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gtk.java.swing.plaf.gtk
Class GtkIconFactory.CheckBoxIcon  view GtkIconFactory.CheckBoxIcon download GtkIconFactory.CheckBoxIcon.java

java.lang.Object
  extended byorg.gtk.java.swing.plaf.gtk.GtkIconFactory.CheckBoxIcon
All Implemented Interfaces:
javax.swing.Icon, java.io.Serializable, javax.swing.plaf.UIResource
Enclosing class:
GtkIconFactory

private static class GtkIconFactory.CheckBoxIcon
extends java.lang.Object
implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable


Field Summary
(package private) static int csize
           
private  java.awt.Color darkShadow
           
private  java.awt.Color lightShadow
           
private  java.awt.Color mediumShadow
           
private  java.awt.Color windowDark
           
 
Constructor Summary
private GtkIconFactory.CheckBoxIcon()
           
 
Method Summary
 int getIconHeight()
          Returns the height of the icon.
 int getIconWidth()
          Returns the width of the icon.
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          Draws the icon at the location (x, y) on the specified graphics device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

csize

static final int csize
See Also:
Constant Field Values

lightShadow

private java.awt.Color lightShadow

mediumShadow

private java.awt.Color mediumShadow

darkShadow

private java.awt.Color darkShadow

windowDark

private java.awt.Color windowDark
Constructor Detail

GtkIconFactory.CheckBoxIcon

private GtkIconFactory.CheckBoxIcon()
Method Detail

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Description copied from interface: javax.swing.Icon
Draws the icon at the location (x, y) on the specified graphics device.

Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Description copied from interface: javax.swing.Icon
Returns the width of the icon.

Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Description copied from interface: javax.swing.Icon
Returns the height of the icon.

Specified by:
getIconHeight in interface javax.swing.Icon