org.siebengeisslein.pgui
Class PImageIcon
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.client.Immutable
org.siebengeisslein.pgui.PImageIcon
- All Implemented Interfaces:
- java.lang.Cloneable, CloneAndMergeAware, CloneAware, Instrumented, MergeAware
public class PImageIcon
- extends Immutable
Contains an image icon.
This class could implement the icon interface, but since swing
only displays ImageIcons greyed out in disabled buttons, it
is better to return an ImageIcon.
|
Method Summary |
javax.swing.ImageIcon |
getIcon()
|
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PImageIcon
public PImageIcon(java.net.URL url)
throws java.io.IOException
- Throws:
java.io.IOException
PImageIcon
public PImageIcon(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
getIcon
public javax.swing.ImageIcon getIcon()