org.jdesktop.swingx
public class URLPainter extends CompoundPainter
AbstractPainter.Interpolation
Constructor and Description |
---|
URLPainter()
Creates a new instance of URLPainter
|
URLPainter(java.lang.Class<?> baseClass,
java.lang.String resource) |
URLPainter(java.io.File file) |
URLPainter(java.lang.String url) |
URLPainter(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
void |
doPaint(java.awt.Graphics2D g,
java.lang.Object component,
int width,
int height)
Subclasses must implement this method and perform custom painting operations
here.
|
java.net.URL |
getURL() |
void |
setURL(java.net.URL url) |
clearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setPainters, setTransform, shouldUseCache, validate
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setDirty, setFilters, setInterpolation, setVisible
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
public URLPainter()
public URLPainter(java.net.URL url)
public URLPainter(java.io.File file)
public URLPainter(java.lang.String url)
public URLPainter(java.lang.Class<?> baseClass, java.lang.String resource)
public void setURL(java.net.URL url)
public java.net.URL getURL()
public void doPaint(java.awt.Graphics2D g, java.lang.Object component, int width, int height)
CompoundPainter
doPaint
in class CompoundPainter
g
- The Graphics2D object in which to paint