JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class AppearanceWrapper

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

public class AppearanceWrapper
extends Object
implements Serializable

Wrapper class for appearance related properties. Used by the MultiChart Bean.

See Also:
Serialized Form

Field Summary
 boolean axisbounding
           
 Color background
           
 String border
           
 int bw_def
           
 Color foreground
           
 boolean opaque
           
 String prefix
           
 int thisobj
           
 boolean visible
           
 
Constructor Summary
AppearanceWrapper()
          Default constructor.
AppearanceWrapper(String backgroundString, String foregroundString, boolean visibleBoolean, boolean opaqueBoolean, String thisBorder, boolean axisBoundingBoolean)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(Object obj)
          Sets the appearance properties on the specified object.
 void setWrapperValues(Object obj)
          Stores the appearance properties from the specified object.
 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

background

public Color background

foreground

public Color foreground

visible

public boolean visible

opaque

public boolean opaque

axisbounding

public boolean axisbounding

border

public String border

thisobj

public int thisobj

prefix

public String prefix

bw_def

public int bw_def
Constructor Detail

AppearanceWrapper

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


AppearanceWrapper

public AppearanceWrapper(String backgroundString,
                         String foregroundString,
                         boolean visibleBoolean,
                         boolean opaqueBoolean,
                         String thisBorder,
                         boolean axisBoundingBoolean)
Constructor. Fills members with parameter Strings.

Parameters:
backgroundString - background color String. Value should be a String representing a color name (for example, "blue") or an rgb value represented as "r-g-b".
foregroundString - foreground color String. Value should be a string representing a color name (for example, "blue") or an rgb value represented as "r-g-b".
visibleBoolean - visible value
opaqueBoolean - opaque value
thisBorder - border value
axisBoundingBoolean - axis bounding box value
Method Detail

setWrapperValues

public void setWrapperValues(Object obj)
Stores the appearance properties from the specified object.
Note: Not currently used. Wrapper value setting is done in the Bean's get...Appearance() methods (for example, getLegendAppearance).

Parameters:
obj - the object that contains the properties

setPropertyValues

public void setPropertyValues(Object obj)
Sets the appearance properties on the specified object.
Note: Not currently used. Property setting is done in the Bean's set...Appearance() methods (for example, setLegendAppearance).

Parameters:
obj - the 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.