public abstract static class PlacementFrame.PlacementNode
extends java.lang.Object
Constructor and Description |
---|
PlacementFrame.PlacementNode() |
Modifier and Type | Method and Description |
---|---|
abstract double |
getHeight()
Method to return the height of this PlacementNode.
|
Orientation |
getPlacementOrientation()
Method to return the Orientation of this PlacementNode.
|
double |
getPlacementX()
Method to return the X-coordinate of the placed location of this PlacementNode.
|
double |
getPlacementY()
Method to return the Y-coordinate of the placed location of this PlacementNode.
|
abstract java.util.List<PlacementFrame.PlacementPort> |
getPorts()
Method to return a list of PlacementPorts on this PlacementNode.
|
abstract java.lang.String |
getTypeName()
Method to return the name of NodeProto of this PlacementNode.
|
java.lang.Object |
getUserObject() |
abstract double |
getWidth()
Method to return the width of this PlacementNode.
|
void |
setOrientation(Orientation o)
Method to set the orientation (rotation and mirroring) of this PlacementNode.
|
void |
setPlacement(double x,
double y)
Method to set the location of this PlacementNode.
|
void |
setUserObject(java.lang.Object obj) |
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object obj)
public abstract java.util.List<PlacementFrame.PlacementPort> getPorts()
public abstract double getWidth()
public abstract double getHeight()
public void setPlacement(double x, double y)
x
- the X-coordinate of the center of this PlacementNode.y
- the Y-coordinate of the center of this PlacementNode.public void setOrientation(Orientation o)
o
- the Orientation of this PlacementNode.public double getPlacementX()
public double getPlacementY()
public Orientation getPlacementOrientation()
public abstract java.lang.String getTypeName()