|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjcckit.plot.PositionHint
public class PositionHint
An immutable Hint capsulating two GraphPoints.
| Field Summary | |
|---|---|
static String |
ORIGIN_KEY
Configuration parameter key. |
static String |
POSITION_KEY
Configuration parameter key. |
| Constructor Summary | |
|---|---|
PositionHint(ConfigParameters config)
Creates an instance from the specified configuration parameters. |
|
PositionHint(GraphPoint origin,
GraphPoint position)
Creates an instance based on two points. |
|
| Method Summary | |
|---|---|
GraphPoint |
getOrigin()
Returns the origin. |
GraphPoint |
getPosition()
Returns the position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String POSITION_KEY
public static final String ORIGIN_KEY
| Constructor Detail |
|---|
public PositionHint(ConfigParameters config)
| Key & Default Value | Type | Mandatory | Description |
|---|---|---|---|
| position = null | double[] | no | Definition of position. |
| origin = position or (0,0) if position undefined | double[] | no | Definition of origin. |
public PositionHint(GraphPoint origin,
GraphPoint position)
origin - The origin.position - The position.| Method Detail |
|---|
public GraphPoint getPosition()
public GraphPoint getOrigin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||