org.eclipse.graphiti.util
Class LocationInfo
java.lang.Object
org.eclipse.graphiti.util.LocationInfo
- All Implemented Interfaces:
- ILocationInfo
public class LocationInfo
- extends Object
- implements ILocationInfo
The Class LocationInfo.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shape
private Shape shape
graphicsAlgorithm
private GraphicsAlgorithm graphicsAlgorithm
LocationInfo
public LocationInfo(Shape shape,
GraphicsAlgorithm graphicsAlgorithm)
- Creates a new
LocationInfo
with given shape and graphics
algorithm.
- Parameters:
shape
- the shapegraphicsAlgorithm
- the graphics algorithm
getShape
public Shape getShape()
- Description copied from interface:
ILocationInfo
- Gets the shape.
- Specified by:
getShape
in interface ILocationInfo
- Returns:
- the shape of this location information
getGraphicsAlgorithm
public GraphicsAlgorithm getGraphicsAlgorithm()
- Description copied from interface:
ILocationInfo
- Gets the graphics algorithm.
- Specified by:
getGraphicsAlgorithm
in interface ILocationInfo
- Returns:
- the graphics algorithm of this location information
Copyright (c) SAP AG 2005, 2012.