Uses of Interface javax.swing.Painter (Java Platform SE 8 )
Date: 2015-11-18

## Uses of Interface
javax.swing.Painter

- Packages that use Painter
  Package | Description
  --- | ---
  javax.swing.plaf.nimbus | Provides user interface objects built according to the cross-platform Nimbus look and feel.

- - ### Uses of Painter in javax.swing.plaf.nimbus

    Classes in javax.swing.plaf.nimbus that implement Painter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractRegionPainter` Convenient base class for defining Painter instances for rendering a region or component in Nimbus.

    Methods in javax.swing.plaf.nimbus that return Painter
    Modifier and Type | Method and Description
    --- | ---
    `Painter` | NimbusStyle.`getBackgroundPainter(SynthContext ctx)` Gets the appropriate background Painter, if there is one, for the state specified in the given SynthContext.
    `Painter` | NimbusStyle.`getBorderPainter(SynthContext ctx)` Gets the appropriate border Painter, if there is one, for the state specified in the given SynthContext.
    `Painter` | NimbusStyle.`getForegroundPainter(SynthContext ctx)` Gets the appropriate foreground Painter, if there is one, for the state specified in the given SynthContext.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.