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, removeVetoableChangeListener
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisible
clearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setDirty, setPainters, setTransform, shouldUseCache, validate
public 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)
CompoundPainter
doPaint
in class CompoundPainter
g
- The Graphics2D object in which to paintCopyright © 2018. All rights reserved.