JIDE 3.5.15

com.jidesoft.editor
Interface ColorStyle

All Superinterfaces:
Style
All Known Implementing Classes:
SyntaxStyle

public interface ColorStyle
extends Style

ColorStyle is an interface for colors. It basically has two colors - background or foreground. User can set and get both colors using this interface.


Method Summary
 Color getBackground()
          Gets the background.
 Color getForeground()
          Gets the foreground.
 void setBackground(Color background)
          Sets the background.
 void setForeground(Color foreground)
          Sets the foreground.
 

Method Detail

setBackground

void setBackground(Color background)
Sets the background.

Parameters:
background - the new background.

getBackground

Color getBackground()
Gets the background.

Returns:
the background.

setForeground

void setForeground(Color foreground)
Sets the foreground.

Parameters:
foreground - the new foreground.

getForeground

Color getForeground()
Gets the foreground.

Returns:
the foreground.

JIDE 3.5.15