Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## contrib.ch.randelshofer.quaqua
Class QuaquaIconFactory

    java.lang.Object
      contrib.ch.randelshofer.quaqua.QuaquaIconFactory

    public class QuaquaIconFactory

extends java.lang.Object

QuaquaIconFactory.

Version:
  3.2 2007-01-05 Issue #1: Changed LazyOptionPaneIcon to load image asynchronously before paintIcon is invoked.
  3.1 2006-12-24 by Karl von Randow: Use Images class to create artwork.
  3.0.2 2006-11-01 Use Graphics2D.drawImage() to scale application image icon instead of using Image.getScaledInstance().
  3.0.1 2006-05-14 Application icon was unnecessarily created multiple times.
  3.0 2006-05-12 Added support for file icon images. Renamed some methods.
  2.1 2006-02-14 Added method createFrameButtonStateIcon.
  2.0 2006-02-12 Added methods createApplicationIcon, compose, createOptionPaneIcon. These methods were contributed by Christopher Atlan.
  1.0 December 4, 2005 Created.
Author:
  Werner Randelshofer, Christopher Atlan

Method Summary
`static java.awt.Image` | `createBufferedImage(java.lang.String location)`
`static javax.swing.Icon` | `createButtonStateIcon(java.lang.String location, int states)`
`static javax.swing.Icon` | `createButtonStateIcon(java.lang.String location, int states, java.awt.Point shift)`
`static javax.swing.Icon` | `createButtonStateIcon(java.lang.String location, int states, java.awt.Rectangle shift)`
`static javax.swing.Icon` | `createIcon(java.lang.Class baseClass, java.lang.String location)`
`static javax.swing.Icon` | `createIcon(java.lang.Class baseClass, java.lang.String location, java.awt.Point shift)`
`static javax.swing.Icon` | `createIcon(java.lang.Class baseClass, java.lang.String location, java.awt.Rectangle shiftAndSize)`
`static javax.swing.Icon` | `createIcon(java.lang.String location, int count, boolean horizontal, int index)`
`static javax.swing.Icon[]` | `createIcons(java.lang.String location, int count, boolean horizontal)`
`static java.awt.Image` | `createImage(java.lang.Class baseClass, java.lang.String location)`
`static java.awt.Image` | `createImage(java.lang.String location)`
`static java.net.URL` | `getResource(java.lang.String location)`

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

Method Detail

### getResource

    public static java.net.URL getResource(java.lang.String location)

### createImage

    public static java.awt.Image createImage(java.lang.String location)

### createImage

    public static java.awt.Image createImage(java.lang.Class baseClass,
                                             java.lang.String location)

### createBufferedImage

    public static java.awt.Image createBufferedImage(java.lang.String location)

### createIcons

    public static javax.swing.Icon[] createIcons(java.lang.String location,
                                                 int count,
                                                 boolean horizontal)

### createIcon

    public static javax.swing.Icon createIcon(java.lang.String location,
                                              int count,
                                              boolean horizontal,
                                              int index)

### createButtonStateIcon

    public static javax.swing.Icon createButtonStateIcon(java.lang.String location,
                                                         int states)

### createButtonStateIcon

    public static javax.swing.Icon createButtonStateIcon(java.lang.String location,
                                                         int states,
                                                         java.awt.Point shift)

### createButtonStateIcon

    public static javax.swing.Icon createButtonStateIcon(java.lang.String location,
                                                         int states,
                                                         java.awt.Rectangle shift)

### createIcon

    public static javax.swing.Icon createIcon(java.lang.Class baseClass,
                                              java.lang.String location)

### createIcon

    public static javax.swing.Icon createIcon(java.lang.Class baseClass,
                                              java.lang.String location,
                                              java.awt.Point shift)

### createIcon

    public static javax.swing.Icon createIcon(java.lang.Class baseClass,
                                              java.lang.String location,
                                              java.awt.Rectangle shiftAndSize)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD