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, validate
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, 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(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 © 2019. All rights reserved.