|
org.netbeans.swing.tabcontrol 1.36 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.swing.tabcontrol.plaf.ChicletWrapper
public class ChicletWrapper
GenericGlowingChiclet works nicely to draw Aqua-style decorations, but is a bit slow. In particular, Area.pruneEdges() is not cheap, but is heavily used to divide the geometry. This wrapper class provides a cache of bitmaps painted by GenericGlowingChiclet, timestamped against the last time they were used, and occasionally prunes not recently used bitmaps.
| Constructor Summary | |
|---|---|
ChicletWrapper()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
draw(Graphics g)
Deprecated. |
Long |
hash()
Deprecated. |
void |
run()
Deprecated. |
void |
setAllowVertical(boolean b)
Deprecated. |
void |
setArcs(float a,
float b,
float c,
float d)
Deprecated. |
void |
setBounds(int x,
int y,
int w,
int h)
Deprecated. |
void |
setNotch(boolean right,
boolean left)
Deprecated. |
void |
setState(int state)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChicletWrapper()
| Method Detail |
|---|
public void setState(int state)
public void setBounds(int x,
int y,
int w,
int h)
public void draw(Graphics g)
public void setArcs(float a,
float b,
float c,
float d)
public void setAllowVertical(boolean b)
public void setNotch(boolean right,
boolean left)
public Long hash()
public void run()
run in interface Runnable
|
org.netbeans.swing.tabcontrol 1.36 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||