|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfig.objects.FigPolyline
hades.symbols.ErrorMarker
A graphical object to mark an area (normally used to highlight errors).
This class is a subclass of FigPolyline. Default attributes are a bright color (cyan) and a top layer (0). Using a new subclass allows us to easily group and also delete error markers on the object list.
Field Summary | |
(package private) int |
h
|
(package private) int |
w
|
(package private) int |
x
|
(package private) int |
y
|
Fields inherited from class jfig.objects.FigPolyline |
attribs, bbox, comment, debug, is_closed, min_i, min_num_points, painter, renderer, selected, showPoints, syncRedrawFlag, trafo, visible, wcp |
Constructor Summary | |
ErrorMarker()
construct an empty ErrorMarker. |
|
ErrorMarker(int x,
int y,
int w,
int h)
0 --- 1 | 6 4 | 7 / 5 | 3 --- 2 |
Method Summary | |
protected void |
build_attribs()
|
FigObject |
copy()
build a copy of this FigPolyline. |
void |
setPointsFromBoundingBox(FigBbox bbox)
|
void |
setPointsFromCenterWidthHeight(int x,
int y,
int w,
int h)
|
java.lang.String |
toString()
toString() - the usual info method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int x
int y
int w
int h
Constructor Detail |
public ErrorMarker()
public ErrorMarker(int x, int y, int w, int h)
Method Detail |
public void setPointsFromCenterWidthHeight(int x, int y, int w, int h)
public void setPointsFromBoundingBox(FigBbox bbox)
protected void build_attribs()
public FigObject copy()
FigPolyline
copy
in interface FigObject
copy
in class FigPolyline
public java.lang.String toString()
toString
in interface FigObject
toString
in class FigPolyline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |