java.lang.Object | |||
↳ | javax.swing.plaf.metal.MetalTheme | ||
↳ | javax.swing.plaf.metal.DefaultMetalTheme | ||
↳ | javax.swing.plaf.metal.OceanTheme |
The default theme for the MetalLookAndFeel
.
The designers of the Metal Look and Feel strive to keep the default look up to date, possibly through the use of new themes in the future. Therefore, developers should only use this class directly when they wish to customize the "Ocean" look, or force it to be the current theme, regardless of future updates.
All colors returned by OceanTheme
are completely
opaque.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of
OceanTheme
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add this theme's custom entries to the defaults table.
| |||||||||||
Returns the control text color.
| |||||||||||
Returns the desktop color.
| |||||||||||
Returns the inactive control text color.
| |||||||||||
Returns the menu disabled foreground color.
| |||||||||||
Return the name of this theme, "Ocean".
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the black color.
| |||||||||||
Returns the primary 1 color.
| |||||||||||
Returns the primary 2 color.
| |||||||||||
Returns the primary 3 color.
| |||||||||||
Returns the secondary 1 color.
| |||||||||||
Returns the secondary 2 color.
| |||||||||||
Returns the secondary 3 color.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates an instance of OceanTheme
Add this theme's custom entries to the defaults table.
table | the defaults table, non-null |
---|
NullPointerException | if table is null
|
---|
Returns the control text color. This returns a color with an
rgb hex value of 0x333333
.
Returns the desktop color. This returns a color with an rgb hex
value of 0xFFFFFF
.
Returns the inactive control text color. This returns a color with an
rgb hex value of 0x999999
.
Returns the menu disabled foreground color. This returns a color with an
rgb hex value of 0x999999
.
Returns the black color. This returns a color with an rgb hex
value of 0x333333
.
Returns the primary 1 color. This returns a color with an rgb hex value
of 0x6382BF
.
Returns the primary 2 color. This returns a color with an rgb hex value
of 0xA3B8CC
.
Returns the primary 3 color. This returns a color with an rgb hex value
of 0xB8CFE5
.
Returns the secondary 1 color. This returns a color with an rgb hex
value of 0x7A8A99
.
Returns the secondary 2 color. This returns a color with an rgb hex
value of 0xB8CFE5
.
Returns the secondary 3 color. This returns a color with an rgb hex
value of 0xEEEEEE
.