com.ibm.calendar
Class GrayTheme

java.lang.Object
  extended by com.ibm.calendar.GrayTheme
All Implemented Interfaces:
Theme, java.io.Serializable

public class GrayTheme
extends java.lang.Object
implements Theme, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
GrayTheme()
          GrayTheme constructor initialize the resources of the theme by loading the images and determins the startup point of the year and month names controls in the calendar bean.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAboutThisBean()
          Gets the aboutThisBean property (java.lang.String) value.
 java.awt.Image getImage(java.lang.String key)
          getImage method returns the corresponding image determined by the key string .
 java.lang.Object getProperty(java.lang.String key)
          getProperty method returns the coordinates of that is usefull for the calendar.
 void setAboutThisBean(java.lang.String aboutThisBean)
          Sets the aboutThisBean property (java.lang.String) value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrayTheme

public GrayTheme()
GrayTheme constructor initialize the resources of the theme by loading the images and determins the startup point of the year and month names controls in the calendar bean.

Method Detail

getAboutThisBean

public java.lang.String getAboutThisBean()
Gets the aboutThisBean property (java.lang.String) value.

Returns:
The aboutThisBean property value.
See Also:
setAboutThisBean(java.lang.String)

getImage

public java.awt.Image getImage(java.lang.String key)
getImage method returns the corresponding image determined by the key string .

Specified by:
getImage in interface Theme
Parameters:
key - represent a string to be the key to retrive the specified image.
Returns:
java.awt.Image

getProperty

public java.lang.Object getProperty(java.lang.String key)
getProperty method returns the coordinates of that is usefull for the calendar.

Specified by:
getProperty in interface Theme
Parameters:
key - java.lang.String
Returns:
java.lang.Object

setAboutThisBean

public void setAboutThisBean(java.lang.String aboutThisBean)
Sets the aboutThisBean property (java.lang.String) value.

Parameters:
aboutThisBean - The new value for the property.
See Also:
getAboutThisBean()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object