|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.axis.AxisSpace
public class AxisSpace
Title: IJChart
Description: a chart library for the Java(tm) platform.
A record that contains the space required at each edge of a plot.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
AxisSpace()
Creates a new axis space record. |
Method Summary | |
---|---|
void |
add(double space,
RectangleEdge edge)
Adds space to the top, bottom, left or right edge of the plot area. |
java.lang.Object |
clone()
Returns a clone of the object. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with another object. |
double |
getBottom()
Returns the space reserved for axes at the bottom of the plot area. |
double |
getLeft()
Returns the space reserved for axes at the left of the plot area. |
double |
getRight()
Returns the space reserved for axes at the right of the plot area. |
double |
getTop()
Returns the space reserved for axes at the top of the plot area. |
int |
hashCode()
Returns a hash code for this object. |
void |
setBottom(double space)
Sets the space reserved for axes at the bottom of the plot area. |
void |
setLeft(double space)
Sets the space reserved for axes at the left of the plot area. |
void |
setRight(double space)
Sets the space reserved for axes at the right of the plot area. |
void |
setTop(double space)
Sets the space reserved for axes at the top of the plot area. |
java.lang.String |
toString()
Returns a string representing the object (for debugging purposes). |
void |
trim(java.awt.geom.Rectangle2D area)
Shrinks the given rectangle by the amount of these space. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AxisSpace()
Method Detail |
---|
public double getTop()
public void setTop(double space)
space
-
The space (in Java2D units).public double getBottom()
public void setBottom(double space)
space
-
The space (in Java2D units).public double getLeft()
public void setLeft(double space)
space
-
The space (in Java2D units).public double getRight()
public void setRight(double space)
space
-
The space (in Java2D units).public void add(double space, RectangleEdge edge)
space
-
The space (in Java2D units).edge
-
The edge (null not permitted).public void trim(java.awt.geom.Rectangle2D area)
area
- Rectangle2D
The rectangle area (null not permitted).public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
The object to compare against.
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |