public class SegmentGraphPainter extends java.lang.Object implements BuildPaintInstructor
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
b_antialias |
(package private) boolean |
b_live |
(package private) SegmentGraph |
graph |
(package private) SegmentGraphPoint |
sgp1 |
(package private) SegmentGraphPoint |
sgp2 |
Constructor and Description |
---|
SegmentGraphPainter() |
Modifier and Type | Method and Description |
---|---|
boolean |
antialias() |
void |
drawSegment(Painter painter,
SegmentGraphPoint sgpa,
SegmentGraphPoint sgpb) |
Box |
getLimitBox() |
Box |
getLimitBox(Painter p) |
void |
instruct(Painter painter,
Builder builder) |
void |
paintReal(SegmentGraphPoint sgp,
Painter painter,
Builder builder) |
void |
setAntialias(boolean b) |
void |
setBuildPoints(boolean b) |
void |
setSegmentGraph(SegmentGraph sg) |
SegmentGraph graph
boolean b_antialias
SegmentGraphPoint sgp1
SegmentGraphPoint sgp2
boolean b_live
public void setSegmentGraph(SegmentGraph sg)
public void setBuildPoints(boolean b)
public void setAntialias(boolean b)
public boolean antialias()
antialias
in interface BuildPaintInstructor
public void instruct(Painter painter, Builder builder)
instruct
in interface BuildPaintInstructor
public void paintReal(SegmentGraphPoint sgp, Painter painter, Builder builder)
public void drawSegment(Painter painter, SegmentGraphPoint sgpa, SegmentGraphPoint sgpb)
public Box getLimitBox()
public Box getLimitBox(Painter p)
getLimitBox
in interface BuildPaintInstructor
Copyright © 2013. All Rights Reserved.