com.ijchart.xychart.constant
Class LegendTitlePosition

java.lang.Object
  extended by com.ijchart.xychart.constant.LegendTitlePosition
All Implemented Interfaces:
java.io.Serializable

public final class LegendTitlePosition
extends java.lang.Object
implements java.io.Serializable

Title: IJChart

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

The constant for legend position.

Copyright: Copyright (c) 2013

Company:

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

Field Summary
static LegendTitlePosition IN_RENDER_AREA_BOTTOM_CENTER
           The bottom-center of in render area.
static LegendTitlePosition IN_RENDER_AREA_BOTTOM_LEFT
           The bottom-left of in render area.
static LegendTitlePosition IN_RENDER_AREA_BOTTOM_RIGHT
           The bottom-right of in render area.
static LegendTitlePosition IN_RENDER_AREA_CENTER_CENTER
           The center-center of in render area.
static LegendTitlePosition IN_RENDER_AREA_CENTER_LEFT
           The center-left of in render area.
static LegendTitlePosition IN_RENDER_AREA_CENTER_RIGHT
           The center-right of in render area.
static LegendTitlePosition IN_RENDER_AREA_TOP_CENTER
           The top-center of in render area.
static LegendTitlePosition IN_RENDER_AREA_TOP_LEFT
           The top-left of in render area.
static LegendTitlePosition IN_RENDER_AREA_TOP_RIGHT
           The top-right of in render area.
static LegendTitlePosition OUTER_RENDER_AREA_BOTTOM
           The bottom of out render area.
static LegendTitlePosition OUTER_RENDER_AREA_LEFT
           The left of out render area.
static LegendTitlePosition OUTER_RENDER_AREA_RIGHT
           The right of out render area.
static LegendTitlePosition OUTER_RENDER_AREA_TOP
           The top of out render area.
 
Method Summary
 boolean equals(java.lang.Object o)
           Returns true if this object is equal to the specified object, and false otherwise.
 int hashCode()
           Returns a hash code value for the object
static boolean isInRenderArea(LegendTitlePosition position)
           Returns a boolean value that indiciate whether or not position is in render area.
static boolean isOutRenderArea(LegendTitlePosition position)
           Returns a boolean value that indiciate whether or not position is out render area.
 java.lang.String toString()
           Returns a string representing the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OUTER_RENDER_AREA_TOP

public static final LegendTitlePosition OUTER_RENDER_AREA_TOP
The top of out render area.


OUTER_RENDER_AREA_BOTTOM

public static final LegendTitlePosition OUTER_RENDER_AREA_BOTTOM
The bottom of out render area.


OUTER_RENDER_AREA_LEFT

public static final LegendTitlePosition OUTER_RENDER_AREA_LEFT
The left of out render area.


OUTER_RENDER_AREA_RIGHT

public static final LegendTitlePosition OUTER_RENDER_AREA_RIGHT
The right of out render area.


IN_RENDER_AREA_TOP_LEFT

public static final LegendTitlePosition IN_RENDER_AREA_TOP_LEFT
The top-left of in render area.


IN_RENDER_AREA_TOP_CENTER

public static final LegendTitlePosition IN_RENDER_AREA_TOP_CENTER
The top-center of in render area.


IN_RENDER_AREA_TOP_RIGHT

public static final LegendTitlePosition IN_RENDER_AREA_TOP_RIGHT
The top-right of in render area.


IN_RENDER_AREA_CENTER_LEFT

public static final LegendTitlePosition IN_RENDER_AREA_CENTER_LEFT
The center-left of in render area.


IN_RENDER_AREA_CENTER_CENTER

public static final LegendTitlePosition IN_RENDER_AREA_CENTER_CENTER
The center-center of in render area.


IN_RENDER_AREA_CENTER_RIGHT

public static final LegendTitlePosition IN_RENDER_AREA_CENTER_RIGHT
The center-right of in render area.


IN_RENDER_AREA_BOTTOM_LEFT

public static final LegendTitlePosition IN_RENDER_AREA_BOTTOM_LEFT
The bottom-left of in render area.


IN_RENDER_AREA_BOTTOM_CENTER

public static final LegendTitlePosition IN_RENDER_AREA_BOTTOM_CENTER
The bottom-center of in render area.


IN_RENDER_AREA_BOTTOM_RIGHT

public static final LegendTitlePosition IN_RENDER_AREA_BOTTOM_RIGHT
The bottom-right of in render area.

Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
The string.

isInRenderArea

public static boolean isInRenderArea(LegendTitlePosition position)
Returns a boolean value that indiciate whether or not position is in render area.

Parameters:
position - LegendTitlePosition The LegendTitlePosition object (null not permitted).
Returns:
boolean A boolean.

isOutRenderArea

public static boolean isOutRenderArea(LegendTitlePosition position)
Returns a boolean value that indiciate whether or not position is out render area.

Parameters:
position - LegendTitlePosition The LegendTitlePosition object (null not permitted).
Returns:
boolean A boolean.

equals

public boolean equals(java.lang.Object o)
Returns true if this object is equal to the specified object, and false otherwise.

Overrides:
equals in class java.lang.Object
Parameters:
o - the other object.
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.