JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class OutlineStyleWrapper

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

public class OutlineStyleWrapper
extends Object
implements Serializable

Wrapper class for OutlineStyle properties.

See Also:
Serialized Form

Field Summary
protected  int cap
           
protected  Color color
           
protected  int join
           
protected  int pattern
           
protected  int width
           
 
Constructor Summary
OutlineStyleWrapper()
          Default constructor.
OutlineStyleWrapper(int width, Color color, int pattern, int join, int cap)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(com.klg.jclass.chart.ChartDataView view)
          Sets OutlineStyle properties using methods provided by the ChartDataView object.
 void setWrapperValues(com.klg.jclass.chart.ChartDataView view)
          Stores OutlineStyle properties.
 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

width

protected int width

color

protected Color color

pattern

protected int pattern

join

protected int join

cap

protected int cap
Constructor Detail

OutlineStyleWrapper

public OutlineStyleWrapper()
Default constructor.


OutlineStyleWrapper

public OutlineStyleWrapper(int width,
                           Color color,
                           int pattern,
                           int join,
                           int cap)
Constructor.

Parameters:
width - pixel width of outline
color - outline color
pattern - JCLineStyle.NONE, JCLineStyle.SOLID, JCLineStyle.LONG_DASH, JCLineStyle.SHORT_DASH, JCLineStyle.LSL_DASH, or JCLineStyle.DASH_DOT
join - BasicStroke.JOIN_MITER, BasicStroke.JOIN_BEVEL, or BasicStroke.JOIN_ROUND
cap - BasicStroke.CAP_BUTT, BasicStroke.CAP_ROUND, or BasicStroke.CAP_SQUARE
Method Detail

setWrapperValues

public void setWrapperValues(com.klg.jclass.chart.ChartDataView view)
Stores OutlineStyle properties.

Parameters:
view - ChartDataView object with get methods for OutlineStyle properties

setPropertyValues

public void setPropertyValues(com.klg.jclass.chart.ChartDataView view)
Sets OutlineStyle properties using methods provided by the ChartDataView object.

Parameters:
view - ChartDataView object

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.