Home » openjdk-7 » javax.swing.plaf.nimbus » [javadoc | source]
javax.swing.plaf.nimbus
final class: ToolBarSeparatorPainter [javadoc | source]
java.lang.Object
   javax.swing.plaf.nimbus.AbstractRegionPainter
      javax.swing.plaf.nimbus.ToolBarSeparatorPainter

All Implemented Interfaces:
    Painter

A special painter implementation for tool bar separators in Nimbus. The designer tool doesn't have support for painters which render repeated patterns, but that's exactly what the toolbar separator design is for Nimbus. This custom painter is designed to handle this situation. When support is added to the design tool / code generator to deal with repeated patterns, then we can remove this class.

Method from javax.swing.plaf.nimbus.ToolBarSeparatorPainter Summary:
doPaint,   getPaintContext
Methods from javax.swing.plaf.nimbus.AbstractRegionPainter:
configureGraphics,   decodeAnchorX,   decodeAnchorY,   decodeColor,   decodeColor,   decodeGradient,   decodeRadialGradient,   decodeX,   decodeY,   doPaint,   getComponentColor,   getExtendedCacheKeys,   getPaintContext,   paint
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.nimbus.ToolBarSeparatorPainter Detail:
 protected  void doPaint(Graphics2D g,
    JComponent c,
    int width,
    int height,
    Object[] extendedCacheKeys) 
 protected PaintContext getPaintContext()