com.steema.teechart.tools
Class DrawLineItem

java.lang.Object
  extended by com.steema.teechart.tools.DrawLineItem

public class DrawLineItem
extends java.lang.Object

Title: DrawLine class

Description: Line of DrawLine Tool.

Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
protected  java.awt.geom.Point2D.Double endPos
           
protected  java.awt.geom.Point2D.Double startPos
           
protected  DrawLineStyle style
           
 
Constructor Summary
DrawLineItem(DrawLine owner)
           
 
Method Summary
 void drawHandles()
           
 DrawLineStyle getDrawLineStyle()
           
 Rectangle getEndHandle()
          Returns Rect of the DrawLine end handle.
 java.awt.geom.Point2D.Double getEndPos()
           
 Rectangle getStartHandle()
          Returns Rect of the DrawLine start handle.
 java.awt.geom.Point2D.Double getStartPos()
           
 void setDrawLineStyle(DrawLineStyle style)
           
 void setEndPos(java.awt.geom.Point2D.Double pos)
           
 void setStartPos(java.awt.geom.Point2D.Double pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

style

protected transient DrawLineStyle style

endPos

protected transient java.awt.geom.Point2D.Double endPos

startPos

protected transient java.awt.geom.Point2D.Double startPos
Constructor Detail

DrawLineItem

public DrawLineItem(DrawLine owner)
Method Detail

getDrawLineStyle

public DrawLineStyle getDrawLineStyle()

setDrawLineStyle

public void setDrawLineStyle(DrawLineStyle style)

getEndPos

public java.awt.geom.Point2D.Double getEndPos()

setEndPos

public void setEndPos(java.awt.geom.Point2D.Double pos)

getStartPos

public java.awt.geom.Point2D.Double getStartPos()

setStartPos

public void setStartPos(java.awt.geom.Point2D.Double pos)

getEndHandle

public Rectangle getEndHandle()
Returns Rect of the DrawLine end handle.

Returns:
Rectangle

getStartHandle

public Rectangle getStartHandle()
Returns Rect of the DrawLine start handle.

Returns:
Rectangle

drawHandles

public void drawHandles()