Calendar Bean Suite V2.0

com.ibm.calendar
Class GrayTheme

java.lang.Object
  |
  +--com.ibm.calendar.GrayTheme

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
 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, equals, 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
Tags copied from 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
Tags copied from 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()

Calendar Bean Suite V2.0

Copyright © 2001 IBM Corp. All rights reserved. Java, JavaBeans, Swing and 100 Pure Java are trademarks of Sun Microsystems, Inc. All other trademarks are the property of their respective owners.