com.partnersoft.v3x.apps.Redliner
Class RedlineNode

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapPoint
      extended by com.partnersoft.v3x.apps.MapBrowser.MapTreeNode
          extended by com.partnersoft.v3x.apps.Redliner.RedlineNode
All Implemented Interfaces:
RedlinePoint, java.io.Serializable

public class RedlineNode
extends MapTreeNode
implements RedlinePoint

This is a control point for an annotation polyline.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.partnersoft.v3x.apps.MapBrowser.MapPoint
coords
 
Constructor Summary
RedlineNode()
          Create a new, blank RedlineNode.
RedlineNode(Coord3D coord, RedlineNode parent)
          Create a new RedlineNode at coord with parent.
 
Method Summary
 java.lang.Object deepCopy()
           
 int getGpsID()
           
 java.lang.String getLinetypeName()
           
 int getTotalDrawLength()
           
 void paintOn(java.awt.Graphics g, java.awt.Point p, boolean inverse)
          Subclasses should override this.
 void paintOn(java.awt.Graphics g, RenderMold mold)
          Paints it on the SheetCoord.
 void paintSpan(java.awt.Graphics g, RenderMold mold)
           
 void setGpsID(int newGpsID)
           
 void setLinetypeName(java.lang.String newLinetypeName)
           
 java.lang.String toString()
           
 
Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.MapTreeNode
addChild, children, containsDescendent, descendents, formsLoop, getBackSpanDeflection, getBackSpanVector, getChildrenSet, getDistanceToParent, getFrontSpanDeflections, getFrontSpanVector, getNumberOfChildren, getParent, hasChildren, isLoopWith, listAllConnectedNodes, listChildren, remove, removeChild, setParent
 
Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.MapPoint
clearGuid, copyFromExistingPoint, getCoords, getGuid, getPostprocessingPoint, getXyPoint, isSelected, setCoords, setGuid, setPostprocessingPoint, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedlineNode

public RedlineNode(Coord3D coord,
                   RedlineNode parent)
Create a new RedlineNode at coord with parent.


RedlineNode

public RedlineNode()
Create a new, blank RedlineNode.

Method Detail

paintOn

public void paintOn(java.awt.Graphics g,
                    RenderMold mold)
Paints it on the SheetCoord.

Specified by:
paintOn in interface RedlinePoint
Overrides:
paintOn in class MapPoint

paintOn

public void paintOn(java.awt.Graphics g,
                    java.awt.Point p,
                    boolean inverse)
Description copied from class: MapPoint
Subclasses should override this.

Specified by:
paintOn in class MapPoint

paintSpan

public void paintSpan(java.awt.Graphics g,
                      RenderMold mold)

getLinetypeName

public java.lang.String getLinetypeName()

setLinetypeName

public void setLinetypeName(java.lang.String newLinetypeName)

getTotalDrawLength

public int getTotalDrawLength()

deepCopy

public java.lang.Object deepCopy()
Specified by:
deepCopy in interface RedlinePoint
Overrides:
deepCopy in class MapTreeNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGpsID

public int getGpsID()

setGpsID

public void setGpsID(int newGpsID)