Method Summary |
|
public void | add(double space, RectangleEdge edge) Adds space to the top, bottom, left or right edge of the plot area. |
public Object | clone() Returns a clone of the object. |
public void | ensureAtLeast(AxisSpace space) Ensures that this object reserves at least as much space as another. |
public void | ensureAtLeast(double space, RectangleEdge edge) Ensures there is a minimum amount of space at the edge corresponding to
the specified axis location. |
public boolean | equals(Object obj) Tests this object for equality with another object.
Parameters: obj - the object to compare against. |
public Rectangle2D | expand(Rectangle2D area, Rectangle2D result) Expands an area by the amount of space represented by this object.
Parameters: area - the area to expand. Parameters: result - an optional carrier for the result. |
public double | getBottom() Returns the space reserved for axes at the bottom of the plot area. |
public double | getLeft() Returns the space reserved for axes at the left of the plot area. |
public double | getRight() Returns the space reserved for axes at the right of the plot area. |
public double | getTop() Returns the space reserved for axes at the top of the plot area. |
public int | hashCode() Returns a hash code for this object. |
public Rectangle2D | reserved(Rectangle2D area, RectangleEdge edge) Calculates the reserved area.
Parameters: area - the area. Parameters: edge - the edge. |
public void | setBottom(double space) Sets the space reserved for axes at the bottom of the plot area. |
public void | setLeft(double space) Sets the space reserved for axes at the left of the plot area. |
public void | setRight(double space) Sets the space reserved for axes at the right of the plot area. |
public void | setTop(double space) Sets the space reserved for axes at the top of the plot area. |
public Rectangle2D | shrink(Rectangle2D area, Rectangle2D result) Shrinks an area by the space attributes.
Parameters: area - the area to shrink. Parameters: result - an optional carrier for the result. |
public String | toString() Returns a string representing the object (for debugging purposes). |