JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.shape
Class Triangle

java.lang.Object
  |
  +--com.klg.jclass.chart3d.shape.BaseShape
        |
        +--com.klg.jclass.chart3d.shape.Triangle
All Implemented Interfaces:
JCSymbolShape, Serializable
Direct Known Subclasses:
Cone

public class Triangle
extends BaseShape
implements Serializable

The Triangle class is an extension of the BaseShape class that draws a triangle for a point. Used internally for com.klg.jclass.chart3d.JCSymbolStyle.TRIANGLE.

See Also:
BaseShape, JCSymbolShape, JCSymbolStyle, Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.chart3d.shape.BaseShape
size, x, y
 
Constructor Summary
Triangle()
          Default constructor (required)
 
Method Summary
 String getName()
          Return a localized name for this shape
 void resize(int size)
          Overrides BaseShape.resize().
 
Methods inherited from class com.klg.jclass.chart3d.shape.BaseShape
draw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triangle

public Triangle()
Default constructor (required)

Method Detail

getName

public String getName()
Return a localized name for this shape

Specified by:
getName in interface JCSymbolShape
Specified by:
getName in class BaseShape
Returns:
The name of this shape

resize

public void resize(int size)
Overrides BaseShape.resize(). Creates an array of points that will draw a triangle.

Specified by:
resize in interface JCSymbolShape
Overrides:
resize in class BaseShape
Parameters:
size - The size of the triangle

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