< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/nimbus/AbstractRegionPainter.java

Print this page

        

*** 493,504 **** * class are created once, and reused for each paint request without modification. * This class contains values useful when hinting the cache engine, and when decoding * control points and bezier curve anchors. */ protected static class PaintContext { protected static enum CacheMode { ! NO_CACHING, FIXED_SIZES, NINE_SQUARE_SCALE } private static Insets EMPTY_INSETS = new Insets(0, 0, 0, 0); private Insets stretchingInsets; --- 493,512 ---- * class are created once, and reused for each paint request without modification. * This class contains values useful when hinting the cache engine, and when decoding * control points and bezier curve anchors. */ protected static class PaintContext { + /** + * Cache mode. + */ protected static enum CacheMode { ! /** No caching.*/ ! NO_CACHING, ! /** Fixed sizes.*/ ! FIXED_SIZES, ! /** Nine square scale.*/ ! NINE_SQUARE_SCALE } private static Insets EMPTY_INSETS = new Insets(0, 0, 0, 0); private Insets stretchingInsets;
< prev index next >