net.sourceforge.mewt
Interface Themeable

All Known Implementing Classes:
DefaultForm, IFormCommon, ListCanvas, ListCustomItem, ListForm, Settings, Table, TableForm, Tree, TreeForm

public interface Themeable

The Interface Themeable.


Method Summary
 void applyTheme(Theme t)
          Apply theme.
 int getBackground()
          Gets the background.
 int getBorder1()
          Gets the border1.
 int getBorder2()
          Gets the border2.
 int getButtonBgDark()
          Gets the button bg dark.
 int getButtonBgLight()
          Gets the button bg light.
 int getButtonSelDark()
          Gets the button sel dark.
 int getButtonSelLight()
          Gets the button sel light.
 int getForeground()
          Gets the foreground.
 int getSelectedBackground()
          Gets the selected background.
 int getSelectedForeground()
          Gets the selected foreground.
 int getTitleBackground()
          Gets the title background.
 int getTitleForeground()
          Gets the title foreground.
 void setBackground(int background)
          Sets the background.
 void setBorder1(int c)
          Sets the border1.
 void setBorder2(int c)
          Sets the border2.
 void setForeground(int foreground)
          Sets the foreground.
 void setSelectedBackground(int selectColor)
          Sets the selected background.
 void setSelectedForeground(int selectColor)
          Sets the selected foreground.
 

Method Detail

applyTheme

void applyTheme(Theme t)
Apply theme.

Parameters:
t - the t

getForeground

int getForeground()
Gets the foreground.

Returns:
the foreground

setForeground

void setForeground(int foreground)
Sets the foreground.

Parameters:
foreground - the new foreground

getBackground

int getBackground()
Gets the background.

Returns:
the background

setBackground

void setBackground(int background)
Sets the background.

Parameters:
background - the new background

getSelectedBackground

int getSelectedBackground()
Gets the selected background.

Returns:
the selected background

setSelectedBackground

void setSelectedBackground(int selectColor)
Sets the selected background.

Parameters:
selectColor - the new selected background

getSelectedForeground

int getSelectedForeground()
Gets the selected foreground.

Returns:
the selected foreground

setSelectedForeground

void setSelectedForeground(int selectColor)
Sets the selected foreground.

Parameters:
selectColor - the new selected foreground

getBorder1

int getBorder1()
Gets the border1.

Returns:
the border1

setBorder1

void setBorder1(int c)
Sets the border1.

Parameters:
c - the new border1

getBorder2

int getBorder2()
Gets the border2.

Returns:
the border2

setBorder2

void setBorder2(int c)
Sets the border2.

Parameters:
c - the new border2

getButtonBgDark

int getButtonBgDark()
Gets the button bg dark.

Returns:
the button bg dark

getButtonBgLight

int getButtonBgLight()
Gets the button bg light.

Returns:
the button bg light

getButtonSelDark

int getButtonSelDark()
Gets the button sel dark.

Returns:
the button sel dark

getButtonSelLight

int getButtonSelLight()
Gets the button sel light.

Returns:
the button sel light

getTitleBackground

int getTitleBackground()
Gets the title background.

Returns:
the title background

getTitleForeground

int getTitleForeground()
Gets the title foreground.

Returns:
the title foreground