|
JHotDraw 7.0.9 | ||||||||
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
org.jhotdraw.draw.RelativeDecoratorLocator
public class RelativeDecoratorLocator
A locator that specfies a point that is relative to the bounds of a figures decorator.
Field Summary |
---|
Fields inherited from class org.jhotdraw.draw.RelativeLocator |
---|
isTransform, relativeX, relativeY |
Constructor Summary | |
---|---|
RelativeDecoratorLocator()
|
|
RelativeDecoratorLocator(double relativeX,
double relativeY)
Creates a new instance. |
|
RelativeDecoratorLocator(double relativeX,
double relativeY,
boolean isQuadratic)
|
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. |
static Locator |
south()
South. |
static Locator |
southEast()
South east. |
static Locator |
southWest()
South west. |
static Locator |
west()
West. |
Methods inherited from class org.jhotdraw.draw.RelativeLocator |
---|
center, east, north, northEast, northWest, read, south, southEast, southWest, west, write |
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 RelativeDecoratorLocator()
public RelativeDecoratorLocator(double relativeX, double relativeY)
public RelativeDecoratorLocator(double relativeX, double relativeY, boolean isQuadratic)
Method Detail |
---|
public java.awt.geom.Point2D.Double locate(Figure owner)
Locator
locate
in interface Locator
locate
in class RelativeLocator
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()
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |