com.ijchart.xychart.ui
Class DefaultEffect3D

java.lang.Object
  extended by com.ijchart.xychart.ui.DefaultEffect3D
All Implemented Interfaces:
IEffect3D, java.io.Serializable, java.lang.Cloneable

public class DefaultEffect3D
extends java.lang.Object
implements IEffect3D, java.lang.Cloneable, java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

A class that implements interface IEffect3D

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Constructor Summary
DefaultEffect3D()
           The default constructor.
DefaultEffect3D(double xOffset, double yOffset)
           The default constructor.
 
Method Summary
 java.lang.Object clone()
           Creates and returns a copy of this object.
 boolean equals(java.lang.Object obj)
           Tests this instance for equality with an arbitrary object.
 double getXOffset()
           Returns the x-offset (in Java2D units) for the 3D effect.
 double getYOffset()
           Returns the y-offset (in Java2D units) for the 3D effect.
 int hashCode()
           Returns a hash code value for the object.
 java.lang.String toString()
           Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultEffect3D

public DefaultEffect3D()
The default constructor.


DefaultEffect3D

public DefaultEffect3D(double xOffset,
                       double yOffset)
The default constructor.

Parameters:
xOffset - double The offset.
yOffset - double The offset.
Method Detail

getXOffset

public double getXOffset()
Returns the x-offset (in Java2D units) for the 3D effect.

Specified by:
getXOffset in interface IEffect3D
Returns:
double The offset.

getYOffset

public double getYOffset()
Returns the y-offset (in Java2D units) for the 3D effect.

Specified by:
getYOffset in interface IEffect3D
Returns:
double The offset.

equals

public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
int A hash code value for this object.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and returns a copy of this object.

Overrides:
clone in class java.lang.Object
Returns:
object a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.