com.powerml.structures.shapes.connectors
Class SpStraightConnector

java.lang.Object
  extended bycom.powerml.structures.shapes.Shape
      extended bycom.powerml.structures.shapes.connectors.SpStraightConnector
All Implemented Interfaces:
java.io.Serializable

public class SpStraightConnector
extends Shape

Represents a straight connector.

See Also:
Serialized Form

Method Summary
 Point getEndPoint()
          Returns the end point of the connector.
 Point getStartPoint()
          Returns the start point of the connector
 int getTypeId()
          Returns the shape's type ID.
 
Methods inherited from class com.powerml.structures.shapes.Shape
addXml, getAngle, getDescription, getFillStyle, getHeight, getHyperlink, getId, getLineStyle, getMasterShapeId, getParentGroup, getPlaceholderDescriptor, getShadowStyle, getSpatialStyle, getText, getTextLayout, getWidth, getX, getY, isHorizontalFlip, isVerticalFlip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEndPoint

public Point getEndPoint()
Returns the end point of the connector.

Returns:
end point

getStartPoint

public Point getStartPoint()
Returns the start point of the connector

Returns:
start point

getTypeId

public int getTypeId()
Description copied from class: Shape
Returns the shape's type ID.

Specified by:
getTypeId in class Shape
Returns:
type ID
See Also:
ShapeTypes


© 2004-2005 Ralf Terdic. All rights reserved.
www.powerml.com