IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.theme.internal
Class Theme

java.lang.Object
  extended by com.ibm.btt.rcp.theme.internal.Theme

public class Theme
extends java.lang.Object

Theme class including logics about color and font.


Constructor Summary
Theme()
           
 
Method Summary
 void dispose()
          Dispose resources which created by theme instance.
 java.lang.String getId()
          Get id attribute
 org.eclipse.swt.graphics.Color getInputBackgroundColor()
          Get input widget background color
 org.eclipse.swt.graphics.Font getInputFont()
          Get input widget font
 org.eclipse.swt.graphics.Color getInputForegroundColor()
          Get input widget foreground color
 org.eclipse.swt.graphics.Color getNormalBackgroundColor()
          Get background for normal use
 org.eclipse.swt.graphics.Font getNormalFont()
          Get font for normal use
 org.eclipse.swt.graphics.Color getNormalForegroundColor()
          Get foreground for normal use
 void initializeFrom(org.eclipse.core.runtime.IConfigurationElement element)
          Initialize theme instance from extension point definition
 boolean isDefault()
          Get if this theme is the default theme
 void setDefault(java.lang.String value)
          Set this theme to be the default theme
 void setId(java.lang.String id)
          Set id attribute
 void setInputBackgroundColor(java.lang.String strInputBackgroundColor)
          Set input widget background color
 void setInputFont(java.lang.String strInputFont)
          Set input widget font
 void setInputForegroundColor(java.lang.String strInputForegroundColor)
          Set input widget foreground color
 void setNormalBackgroundColor(java.lang.String strNormalBackgroundColor)
          Set background for normal use
 void setNormalFont(java.lang.String strNormalFont)
          Set font for normal use
 void setNormalForegroundColor(java.lang.String strNormalForegroundColor)
          Set foreground for normal use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme()
Method Detail

initializeFrom

public void initializeFrom(org.eclipse.core.runtime.IConfigurationElement element)
Initialize theme instance from extension point definition

Parameters:
element -

getId

public java.lang.String getId()
Get id attribute

Returns:

setId

public void setId(java.lang.String id)
Set id attribute

Parameters:
id -

isDefault

public boolean isDefault()
Get if this theme is the default theme

Returns:

setDefault

public void setDefault(java.lang.String value)
Set this theme to be the default theme

Parameters:
value -

setNormalFont

public void setNormalFont(java.lang.String strNormalFont)
Set font for normal use

Parameters:
strNormalFont -

getNormalFont

public org.eclipse.swt.graphics.Font getNormalFont()
Get font for normal use

Returns:

getInputBackgroundColor

public org.eclipse.swt.graphics.Color getInputBackgroundColor()
Get input widget background color

Returns:

setInputBackgroundColor

public void setInputBackgroundColor(java.lang.String strInputBackgroundColor)
Set input widget background color

Parameters:
strInputBackgroundColor -

getInputFont

public org.eclipse.swt.graphics.Font getInputFont()
Get input widget font

Returns:

setInputFont

public void setInputFont(java.lang.String strInputFont)
Set input widget font

Parameters:
strInputFont -

getInputForegroundColor

public org.eclipse.swt.graphics.Color getInputForegroundColor()
Get input widget foreground color

Returns:

setInputForegroundColor

public void setInputForegroundColor(java.lang.String strInputForegroundColor)
Set input widget foreground color

Parameters:
strInputForegroundColor -

getNormalBackgroundColor

public org.eclipse.swt.graphics.Color getNormalBackgroundColor()
Get background for normal use

Returns:

setNormalBackgroundColor

public void setNormalBackgroundColor(java.lang.String strNormalBackgroundColor)
Set background for normal use

Parameters:
strNormalBackgroundColor -

getNormalForegroundColor

public org.eclipse.swt.graphics.Color getNormalForegroundColor()
Get foreground for normal use

Returns:

setNormalForegroundColor

public void setNormalForegroundColor(java.lang.String strNormalForegroundColor)
Set foreground for normal use

Parameters:
strNormalForegroundColor -

dispose

public void dispose()
Dispose resources which created by theme instance.


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009