Package | Description |
---|---|
javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform
Nimbus look and feel.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
Modifier and Type | Method and Description |
---|---|
protected Color |
NimbusStyle.getColorForState(SynthContext ctx,
ColorType type)
Returns the color for the specified state.
|
Modifier and Type | Field and Description |
---|---|
static ColorType |
ColorType.BACKGROUND
ColorType for the background of a region.
|
static ColorType |
ColorType.FOCUS
ColorType for the focus.
|
static ColorType |
ColorType.FOREGROUND
ColorType for the foreground of a region.
|
static ColorType |
ColorType.TEXT_BACKGROUND
ColorType for the background of a region.
|
static ColorType |
ColorType.TEXT_FOREGROUND
ColorType for the foreground of a region.
|
Modifier and Type | Method and Description |
---|---|
Color |
SynthStyle.getColor(SynthContext context,
ColorType type)
Returns the color for the specified state.
|
protected abstract Color |
SynthStyle.getColorForState(SynthContext context,
ColorType type)
Returns the color for the specified state.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.