public class ShapePoint extends java.lang.Object implements AbsLocated
Modifier and Type | Field and Description |
---|---|
(package private) int |
index |
(package private) Position |
pAbs |
(package private) Shape |
parentShape |
(package private) Position |
pCache |
(package private) PickablePoint |
pickablePoint |
(package private) java.lang.String |
type |
Constructor and Description |
---|
ShapePoint(Shape parent,
Position p,
int icol) |
Modifier and Type | Method and Description |
---|---|
void |
cachePosition() |
Position |
getAbsolutePosition() |
Position |
getCachedPosition() |
int |
getIndex() |
Shape |
getParent() |
PickablePoint |
getPickablePoint() |
Position |
getPosition() |
java.lang.String |
getType() |
boolean |
isType(java.lang.String s) |
void |
setColor(int icol) |
void |
setIndex(int i) |
void |
setPosition(Position p) |
void |
setType(java.lang.String s) |
void |
shiftFromCache(Position p) |
Shape parentShape
Position pAbs
Position pCache
PickablePoint pickablePoint
java.lang.String type
int index
public void setColor(int icol)
public void setType(java.lang.String s)
public java.lang.String getType()
public boolean isType(java.lang.String s)
public void setIndex(int i)
public int getIndex()
public Shape getParent()
public void shiftFromCache(Position p)
public void setPosition(Position p)
public Position getAbsolutePosition()
getAbsolutePosition
in interface AbsLocated
public Position getPosition()
public PickablePoint getPickablePoint()
public void cachePosition()
public Position getCachedPosition()
Copyright © 2013. All Rights Reserved.