|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.output.color_scheme
This object holds a set of colors that work well together. It is intended to provide programmers with an abstraction so that the job of assigning colors to interface elements can be made without modifying interface code.
The following named colors are provided in a color scheme:
Field Summary | |
protected java.awt.Color |
_background
background color for the color scheme |
protected java.awt.Color |
_base
base color for the color scheme |
protected java.awt.Color |
_foreground
foreground color for the color scheme |
protected java.awt.Color |
_highlight
highlight color for the color scheme |
protected java.awt.Color |
_shadow
shadow color for the color scheme |
protected java.awt.Color |
_splash
splash color for the color scheme |
protected java.awt.Color |
_text_background
text_background color for the color scheme |
Constructor Summary | |
color_scheme(java.awt.Color text_bg,
java.awt.Color fg,
java.awt.Color bg,
java.awt.Color base_color,
java.awt.Color shad,
java.awt.Color high,
java.awt.Color splash)
Construct a new color scheme by providing all the colors. |
Method Summary | |
java.awt.Color |
background()
Retrieve the background color. |
java.awt.Color |
base()
Retrieve the base color. |
java.awt.Color |
foreground()
Retrieve the foreground color. |
java.awt.Color |
highlight()
Retrieve the highlight color. |
java.awt.Color |
shadow()
Retrieve the shadow color. |
java.awt.Color |
splash()
Retrieve the splash color. |
java.awt.Color |
text_background()
Retrieve the text background color. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.awt.Color _text_background
protected java.awt.Color _foreground
protected java.awt.Color _background
protected java.awt.Color _base
protected java.awt.Color _shadow
protected java.awt.Color _highlight
protected java.awt.Color _splash
Constructor Detail |
public color_scheme(java.awt.Color text_bg, java.awt.Color fg, java.awt.Color bg, java.awt.Color base_color, java.awt.Color shad, java.awt.Color high, java.awt.Color splash)
Color
- text_bg the background for text editing and displaying
large amounts of text for reading.Color
- fg the foreground color for this scheme.Color
- bg a color with high contrast for use with the
foreground color but one which will not be used for
display large amounts of textColor
- base_color the basic color for this interface. It should be
well matched with the shadow and highlight color
to allow beveling.Color
- shad the color used for putting shadows on the object
drawn with the base color.Color
- high the color used for putting highlights on the
object drawn with the base colorColor
- splash the color used for special effects (such as the
center of a radio button, or the checkmark on a
checkbox) in this scheme.Method Detail |
public java.awt.Color text_background()
public java.awt.Color background()
public java.awt.Color foreground()
public java.awt.Color base()
public java.awt.Color highlight()
public java.awt.Color shadow()
public java.awt.Color splash()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |