public interface ApplicationSkin
Modifier and Type | Interface and Description |
---|---|
static class |
ApplicationSkin.SkinMode
Available skins used by the application.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackgroundColor()
Return the current background color for normal GUI elements.
|
java.awt.Color |
getDisabledBackgroundColor()
Return the current "disabled" background color.
|
java.awt.Color |
getDisabledTextColor()
Return the current color for disabled text.
|
java.awt.Color |
getEnabledTextColor()
Return the current color for enabled text.
|
java.awt.Color |
getLightBackgroundColor()
Return the current "lighter" background color for highlighted or
otherwise differentiated GUI elements.
|
ApplicationSkin.SkinMode |
getSkin()
Returns the current Micro-Manager skin.
|
void |
resume()
Restores the mode that was active before suspendToMode was called.
|
void |
setSkin(ApplicationSkin.SkinMode mode)
Sets the background color of the GUI to the selected mode.
|
void |
suspendToMode(ApplicationSkin.SkinMode mode)
If the specified mode is not currently active, then we switch to that
mode without updating the UI.
|
void setSkin(ApplicationSkin.SkinMode mode)
mode
- The mode to use.ApplicationSkin.SkinMode getSkin()
java.awt.Color getBackgroundColor()
java.awt.Color getLightBackgroundColor()
java.awt.Color getDisabledBackgroundColor()
java.awt.Color getEnabledTextColor()
java.awt.Color getDisabledTextColor()
void suspendToMode(ApplicationSkin.SkinMode mode)
mode
- SkinMode to switch to (but without updating the UI)void resume()