org.netbeans.swing.tabcontrol 1.36

org.netbeans.swing.tabcontrol.plaf
Class ChicletWrapper

java.lang.Object
  extended by org.netbeans.swing.tabcontrol.plaf.ChicletWrapper
All Implemented Interfaces:
Runnable

Deprecated. The new brushed metal look and feel doesn't need this class anymore.

public class ChicletWrapper
extends Object
implements Runnable

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

ChicletWrapper

public ChicletWrapper()
Deprecated. 
Method Detail

setState

public void setState(int state)
Deprecated. 

setBounds

public void setBounds(int x,
                      int y,
                      int w,
                      int h)
Deprecated. 

draw

public void draw(Graphics g)
Deprecated. 

setArcs

public void setArcs(float a,
                    float b,
                    float c,
                    float d)
Deprecated. 

setAllowVertical

public void setAllowVertical(boolean b)
Deprecated. 

setNotch

public void setNotch(boolean right,
                     boolean left)
Deprecated. 

hash

public Long hash()
Deprecated. 

run

public void run()
Deprecated. 
Specified by:
run in interface Runnable

org.netbeans.swing.tabcontrol 1.36

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.