JHotDraw 7.6

org.jhotdraw.gui
Class DisclosureIcon

java.lang.Object
  extended by org.jhotdraw.gui.DisclosureIcon
All Implemented Interfaces:
javax.swing.Icon

public class DisclosureIcon
extends java.lang.Object
implements javax.swing.Icon

DisclosureIcon.

Version:
$Id: DisclosureIcon.java 717 2010-11-21 12:30:57Z rawcoder $
Author:
Werner Randelshofer

Field Summary
static java.lang.String CURRENT_STATE_PROPERTY
          This client property needs to be set on the component.
static java.lang.String STATE_COUNT_PROPERTY
          This client property needs to be set on the component.
 
Constructor Summary
DisclosureIcon()
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component component, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_COUNT_PROPERTY

public static final java.lang.String STATE_COUNT_PROPERTY
This client property needs to be set on the component. The value must be a positive Integer.

See Also:
Constant Field Values

CURRENT_STATE_PROPERTY

public static final java.lang.String CURRENT_STATE_PROPERTY
This client property needs to be set on the component. The value must be a positive Integer.

See Also:
Constant Field Values
Constructor Detail

DisclosureIcon

public DisclosureIcon()
Method Detail

paintIcon

public void paintIcon(java.awt.Component component,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.