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