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.
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.
(->ocean-theme)
Constructor.
Creates an instance of OceanTheme
Constructor. Creates an instance of OceanTheme
(add-custom-entries-to-table this table)
Add this theme's custom entries to the defaults table.
table - the defaults table, non-null - javax.swing.UIDefaults
throws: java.lang.NullPointerException - if table is null
Add this theme's custom entries to the defaults table. table - the defaults table, non-null - `javax.swing.UIDefaults` throws: java.lang.NullPointerException - if table is null
(get-control-text-color this)
Returns the control text color. This returns a color with an rgb hex value of 0x333333.
returns: the control text color - javax.swing.plaf.ColorUIResource
Returns the control text color. This returns a color with an rgb hex value of 0x333333. returns: the control text color - `javax.swing.plaf.ColorUIResource`
(get-desktop-color this)
Returns the desktop color. This returns a color with an rgb hex value of 0xFFFFFF.
returns: the desktop color - javax.swing.plaf.ColorUIResource
Returns the desktop color. This returns a color with an rgb hex value of 0xFFFFFF. returns: the desktop color - `javax.swing.plaf.ColorUIResource`
(get-inactive-control-text-color this)
Returns the inactive control text color. This returns a color with an rgb hex value of 0x999999.
returns: the inactive control text color - javax.swing.plaf.ColorUIResource
Returns the inactive control text color. This returns a color with an rgb hex value of 0x999999. returns: the inactive control text color - `javax.swing.plaf.ColorUIResource`
(get-menu-disabled-foreground this)
Returns the menu disabled foreground color. This returns a color with an rgb hex value of 0x999999.
returns: the menu disabled foreground color - javax.swing.plaf.ColorUIResource
Returns the menu disabled foreground color. This returns a color with an rgb hex value of 0x999999. returns: the menu disabled foreground color - `javax.swing.plaf.ColorUIResource`
(get-name this)
Return the name of this theme, "Ocean".
returns: "Ocean" - java.lang.String
Return the name of this theme, "Ocean". returns: "Ocean" - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close