Package org.jdesktop.beans.editors
Class URLPainter
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.swingx.painter.AbstractPainter
org.jdesktop.swingx.painter.CompoundPainter
org.jdesktop.beans.editors.URLPainter
- All Implemented Interfaces:
Painter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdesktop.swingx.painter.AbstractPainter
AbstractPainter.Interpolation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of URLPainterURLPainter
(File file) URLPainter
(Class<?> baseClass, String resource) URLPainter
(String url) URLPainter
(URL url) -
Method Summary
Methods inherited from class org.jdesktop.swingx.painter.CompoundPainter
clearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setDirty, setPainters, setTransform, shouldUseCache, validate
Methods inherited from class org.jdesktop.swingx.painter.AbstractPainter
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisible
Methods inherited from class org.jdesktop.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
Field Details
-
url
URL url -
loaded
private boolean loaded
-
-
Constructor Details
-
URLPainter
public URLPainter()Creates a new instance of URLPainter -
URLPainter
-
URLPainter
-
URLPainter
-
URLPainter
-
-
Method Details
-
setURL
-
getURL
-
load
private void load() -
doPaint
Description copied from class:CompoundPainter
Subclasses must implement this method and perform custom painting operations here.- Overrides:
doPaint
in classCompoundPainter
- Parameters:
g
- The Graphics2D object in which to paintcomponent
-width
-height
-
-