|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractLocator
org.jhotdraw.draw.RelativeLocator
public class RelativeLocator
A locator that specfies a point that is relative to the bounds of a figure.
| Constructor Summary | |
|---|---|
RelativeLocator()
|
|
RelativeLocator(double relativeX,
double relativeY)
Creates a new instance. |
|
| Method Summary | |
|---|---|
static Locator |
center()
Center. |
static Locator |
east()
|
java.awt.geom.Point2D.Double |
locate(Figure owner)
Locates a position on the provided figure. |
static Locator |
north()
North. |
static Locator |
northEast()
North east. |
static Locator |
northWest()
North west. |
void |
read(DOMInput in)
|
static Locator |
south()
South. |
static Locator |
southEast()
South east. |
static Locator |
southWest()
South west. |
static Locator |
west()
West. |
void |
write(DOMOutput out)
|
| Methods inherited from class org.jhotdraw.draw.AbstractLocator |
|---|
locate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelativeLocator()
public RelativeLocator(double relativeX,
double relativeY)
| Method Detail |
|---|
public java.awt.geom.Point2D.Double locate(Figure owner)
Locator
public static Locator east()
public static Locator north()
public static Locator west()
public static Locator northEast()
public static Locator northWest()
public static Locator south()
public static Locator southEast()
public static Locator southWest()
public static Locator center()
public void write(DOMOutput out)
public void read(DOMInput in)
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||