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 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 CompoundPainter
clearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setDirty, setPainters, setTransform, shouldUseCache, validateMethods inherited from class AbstractPainter
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisibleMethods inherited from class 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:CompoundPainterSubclasses must implement this method and perform custom painting operations here.- Overrides:
doPaintin classCompoundPainter- Parameters:
g- The Graphics2D object in which to paintcomponent-width-height-
-