|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.swingx.painter.AbstractPainter<T>
org.jdesktop.swingx.painter.CompoundPainter<T>
org.jdesktop.swingx.painter.AlphaPainter<T>
public class AlphaPainter<T>
Applies an alpha value to an entire stack of painters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jdesktop.swingx.painter.AbstractPainter |
|---|
AbstractPainter.Interpolation |
| Constructor Summary | |
|---|---|
AlphaPainter()
|
|
| Method Summary | |
|---|---|
protected void |
doPaint(java.awt.Graphics2D g,
T component,
int width,
int height)
Subclasses must implement this method and perform custom painting operations here. |
float |
getAlpha()
Returns the current alpha value for this painter. |
void |
setAlpha(float alpha)
Sets the current alpha value for this painter. |
| Methods inherited from class org.jdesktop.swingx.painter.CompoundPainter |
|---|
clearCache, clearLocalCache, configureGraphics, getPainters, getTransform, isCheckingDirtyChildPainters, isClipPreserved, isDirty, setCheckingDirtyChildPainters, setClipPreserved, setDirty, setPainters, setTransform, shouldUseCache, validate |
| Methods inherited from class org.jdesktop.swingx.painter.AbstractPainter |
|---|
getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisible |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlphaPainter()
| Method Detail |
|---|
protected void doPaint(java.awt.Graphics2D g,
T component,
int width,
int height)
doPaint in class CompoundPainter<T>g - The Graphics2D object in which to paintpublic float getAlpha()
public void setAlpha(float alpha)
alpha - the new value of the alpha property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||