JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class TitleWrapper

java.lang.Object
  |
  +--com.klg.jclass.chart.beans.TitleWrapper
All Implemented Interfaces:
Serializable

public class TitleWrapper
extends Object
implements Serializable

Wrapper class for Title properties -- headers and footers. Used by the MultiChart Bean.

See Also:
Serialized Form

Field Summary
 Font default_font
           
 Font font
           
 String prefix
           
 String text
           
 
Constructor Summary
TitleWrapper()
          Default constructor.
TitleWrapper(String fontString, String textString)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(JComponent title)
          Sets the properties on the specified title (for example, header, footer) from values stored internally.
 void setWrapperValues(JComponent title)
          Stores the properties from the specified title (for example, header, footer).
 String toString()
          Converts properties to String for code generation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

font

public Font font

text

public String text

default_font

public Font default_font

prefix

public String prefix
Constructor Detail

TitleWrapper

public TitleWrapper()
Default constructor. Members will be empty.


TitleWrapper

public TitleWrapper(String fontString,
                    String textString)
Constructor. Fills members with parameter Strings.

Parameters:
fontString - font String. Values should be of the format "style-name-pointsize".
textString - text String
Method Detail

setWrapperValues

public void setWrapperValues(JComponent title)
Stores the properties from the specified title (for example, header, footer).

Parameters:
title - the title object that contains the properties

setPropertyValues

public void setPropertyValues(JComponent title)
Sets the properties on the specified title (for example, header, footer) from values stored internally.

Parameters:
title - the title object that we need to set these values on

toString

public String toString()
Converts properties to String for code generation.

Overrides:
toString in class Object
Returns:
String containing properties for code generation

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.