- java.lang.Object
 -  
      
- java.lang.Enum<AbstractRegionPainter.PaintContext.CacheMode>
 -  
        
- javax.swing.plaf.nimbus.AbstractRegionPainter.PaintContext.CacheMode
 
 
 
-  
        
       
- Enclosing class:
 - AbstractRegionPainter.PaintContext
 
protected static enum AbstractRegionPainter.PaintContext.CacheMode extends Enum<AbstractRegionPainter.PaintContext.CacheMode>
缓存模式。 
-  
        
       
-  
             
Enum Constant Summary
Enum Constants Enum Constant 描述 FIXED_SIZES固定尺寸。NINE_SQUARE_SCALE九平方尺。NO_CACHING没有缓存。 
-  
             
方法摘要
所有方法 静态方法 具体的方法 变量和类型 方法 描述 static AbstractRegionPainter.PaintContext.CacheModevalueOf(String name)返回具有指定名称的此类型的枚举常量。static AbstractRegionPainter.PaintContext.CacheMode[]values()按照声明的顺序返回一个包含此枚举类型常量的数组。 
 -  
             
 
-  
        
       
-  
             
Enum Constant Detail
-  
NO_CACHING
public static final AbstractRegionPainter.PaintContext.CacheMode NO_CACHING
没有缓存。 
-  
FIXED_SIZES
public static final AbstractRegionPainter.PaintContext.CacheMode FIXED_SIZES
固定尺寸。 
-  
NINE_SQUARE_SCALE
public static final AbstractRegionPainter.PaintContext.CacheMode NINE_SQUARE_SCALE
九平方尺。 
 -  
 
-  
             
方法详细信息
-  
values
public static AbstractRegionPainter.PaintContext.CacheMode[] values()
按照声明的顺序返回一个包含此枚举类型常量的数组。 此方法可用于迭代常量,如下所示:for (AbstractRegionPainter.PaintContext.CacheMode c : AbstractRegionPainter.PaintContext.CacheMode.values()) System.out.println(c);- 结果
 - 包含此枚举类型常量的数组,按声明的顺序排列
 
 
-  
valueOf
public static AbstractRegionPainter.PaintContext.CacheMode valueOf(String name)
返回具有指定名称的此类型的枚举常量。 该字符串必须与用于声明此类型中的枚举常量的标识符完全匹配。 (不允许使用无关的空白字符。)- 参数
 -  
              
name- 要返回的枚举常量的名称。 - 结果
 - 具有指定名称的枚举常量
 - 异常
 -  
              
IllegalArgumentException- 如果此枚举类型没有具有指定名称的常量 -  
              
NullPointerException- 如果参数为null 
 
 -  
 
 -