JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Class Diamond

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

public class Diamond
extends JCShape
implements Serializable

An extension of the JCShape class that draws a diamond for a point. Used inside JClass Chart for JCSymbolStyle.DIAMOND.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.chart.JCShape
size, x, y
 
Constructor Summary
Diamond()
          Default constructor (required).
 
Method Summary
protected  void resize(int sz)
          Overrides JCShape.resize().
 
Methods inherited from class com.klg.jclass.chart.JCShape
draw, draw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Diamond

public Diamond()
Default constructor (required).

Method Detail

resize

protected void resize(int sz)
Overrides JCShape.resize(). Creates an array of points that will draw a diamond.

Specified by:
resize in class JCShape
Parameters:
sz -

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