JHotDraw 6.0b1

org.jhotdraw.util
Class PaletteIcon

java.lang.Object
  extended by org.jhotdraw.util.PaletteIcon

public class PaletteIcon
extends java.lang.Object

A three state icon that can be used in Palettes.

See Also:
PaletteButton

Constructor Summary
PaletteIcon(java.awt.Dimension size, java.awt.Image normal, java.awt.Image pressed, java.awt.Image selected)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 java.awt.Image normal()
           
 java.awt.Image pressed()
           
 java.awt.Image selected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteIcon

public PaletteIcon(java.awt.Dimension size,
                   java.awt.Image normal,
                   java.awt.Image pressed,
                   java.awt.Image selected)
Method Detail

normal

public java.awt.Image normal()

pressed

public java.awt.Image pressed()

selected

public java.awt.Image selected()

getWidth

public int getWidth()

getHeight

public int getHeight()

JHotDraw 6.0b1