Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdesktop.swingx.icon
Class PainterIcon

    java.lang.Object
      org.jdesktop.swingx.icon.PainterIcon

All Implemented Interfaces:
  javax.swing.Icon

    public class PainterIcon

extends java.lang.Object
implements javax.swing.Icon

Constructor Summary
`PainterIcon(java.awt.Dimension size)`

Method Summary
`int` | `getIconHeight()`
`int` | `getIconWidth()`
`Painter` | `getPainter()`
`void` | `paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)`
`void` | `setPainter(Painter painter)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PainterIcon

    public PainterIcon(java.awt.Dimension size)

Method Detail

### getIconHeight

    public int getIconHeight()

  Specified by:
    `getIconHeight` in interface `javax.swing.Icon`

### getIconWidth

    public int getIconWidth()

  Specified by:
    `getIconWidth` in interface `javax.swing.Icon`

### paintIcon

    public void paintIcon(java.awt.Component c,
                          java.awt.Graphics g,
                          int x,
                          int y)

  Specified by:
    `paintIcon` in interface `javax.swing.Icon`

### getPainter

    public Painter getPainter()

### setPainter

    public void setPainter(Painter painter)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010. All Rights Reserved.