public class WWOMeasureToolControlPoints extends java.lang.Object implements WWOMeasureTool.ControlPointList, Renderable
Modifier and Type | Class and Description |
---|---|
class |
WWOMeasureToolControlPoints.ControlPoint |
Modifier and Type | Field and Description |
---|---|
protected AnnotationAttributes |
controlPointAttributes |
protected WWOMeasureTool |
measureTool |
protected java.util.ArrayList<WWOMeasureToolControlPoints.ControlPoint> |
points |
Constructor and Description |
---|
WWOMeasureToolControlPoints(WWOMeasureTool measureTool) |
Modifier and Type | Method and Description |
---|---|
void |
add(WWOMeasureTool.ControlPoint controlPoint) |
void |
addToLayer(RenderableLayer layer) |
void |
clear() |
WWOMeasureTool.ControlPoint |
createControlPoint(Position position) |
WWOMeasureTool.ControlPoint |
get(int index) |
void |
remove(int index) |
void |
remove(WWOMeasureTool.ControlPoint controlPoint) |
void |
removeFromLayer(RenderableLayer layer) |
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
int |
size() |
protected AnnotationAttributes controlPointAttributes
protected WWOMeasureTool measureTool
protected java.util.ArrayList<WWOMeasureToolControlPoints.ControlPoint> points
public WWOMeasureToolControlPoints(WWOMeasureTool measureTool)
public void add(WWOMeasureTool.ControlPoint controlPoint)
add
in interface WWOMeasureTool.ControlPointList
public void addToLayer(RenderableLayer layer)
addToLayer
in interface WWOMeasureTool.ControlPointList
public void clear()
clear
in interface WWOMeasureTool.ControlPointList
public WWOMeasureTool.ControlPoint createControlPoint(Position position)
createControlPoint
in interface WWOMeasureTool.ControlPointList
public WWOMeasureTool.ControlPoint get(int index)
get
in interface WWOMeasureTool.ControlPointList
public void remove(int index)
remove
in interface WWOMeasureTool.ControlPointList
public void remove(WWOMeasureTool.ControlPoint controlPoint)
remove
in interface WWOMeasureTool.ControlPointList
public void removeFromLayer(RenderableLayer layer)
removeFromLayer
in interface WWOMeasureTool.ControlPointList
public void render(DrawContext dc)
Renderable
Renderable
to render itself using the provided draw context.render
in interface Renderable
render
in interface WWOMeasureTool.ControlPointList
dc
- the DrawContext
to be usedDrawContext
public int size()
size
in interface WWOMeasureTool.ControlPointList