public class LineBuilder extends AVListImpl
setArmed(boolean) method with an argument of true. LineBuilder object by calling its setArmed(boolean)
 method with an argument of false. LineBuilder is constructed. 
 
 This class contains a main method implementing an example program illustrating use of
 LineBuilder. | Constructor and Description | 
|---|
| LineBuilder(WorldWindow wwd,
           RenderableLayer lineLayer,
           gov.nasa.worldwind.render.Polyline polyline)Construct a new line builder using the specified polyline and layer and drawing events from the specified world
 window. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Removes all positions from the polyline. | 
| RenderableLayer | getLayer()Returns the layer holding the polyline being created. | 
| gov.nasa.worldwind.render.Polyline | getLine()Returns the layer currently used to display the polyline. | 
| boolean | isArmed()Identifies whether the line builder is armed. | 
| void | setArmed(boolean armed)Arms and disarms the line builder. | 
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuespublic LineBuilder(WorldWindow wwd, RenderableLayer lineLayer, gov.nasa.worldwind.render.Polyline polyline)
wwd - the world window to draw events from.lineLayer - the layer holding the polyline. May be null, in which case a new layer is created.polyline - the polyline object to build. May be null, in which case a new polyline is created.public void clear()
public RenderableLayer getLayer()
public gov.nasa.worldwind.render.Polyline getLine()
public boolean isArmed()
public void setArmed(boolean armed)
armed - true to arm the line builder, false to disarm it.