Painter<T>public class URLPainter extends CompoundPainter
AbstractPainter.Interpolation| Constructor | Description |
|---|---|
URLPainter() |
Creates a new instance of URLPainter
|
URLPainter(File file) |
|
URLPainter(Class<?> baseClass,
String resource) |
|
URLPainter(String url) |
|
URLPainter(URL url) |
| Modifier and Type | Method | 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) |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenergetFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisibleclearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setDirty, setPainters, setTransform, shouldUseCache, validatepublic 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 © 2018. All rights reserved.