JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class LegendWrapper

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

public class LegendWrapper
extends Object
implements Serializable

Wrapper class for Legend properties. Used by the MultiChart Bean.

See Also:
Serialized Form

Field Summary
 int anchor
           
 int orientation
           
 
Constructor Summary
LegendWrapper()
          Default constructor.
LegendWrapper(String orientationString, String anchorString)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(com.klg.jclass.util.legend.JCLegend legend)
          Sets the properties on the specified legend from values stored internally.
 void setWrapperValues(com.klg.jclass.util.legend.JCLegend legend)
          Stores the properties from the specified legend.
 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

orientation

public int orientation

anchor

public int anchor
Constructor Detail

LegendWrapper

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


LegendWrapper

public LegendWrapper(String orientationString,
                     String anchorString)
Constructor. Fills members with parameter Strings.

Parameters:
orientationString - orientation String. Possible values are are Horizontal or Vertical.
anchorString - anchor String. Possible values are Northeast, North, Northwest, East, West, Southeast, South, or Southwest.
Method Detail

setWrapperValues

public void setWrapperValues(com.klg.jclass.util.legend.JCLegend legend)
Stores the properties from the specified legend.

Parameters:
legend - the legend that contains the properties

setPropertyValues

public void setPropertyValues(com.klg.jclass.util.legend.JCLegend legend)
Sets the properties on the specified legend from values stored internally.

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