public class UIPosition
extends java.lang.Object
Constructor and Description |
---|
UIPosition(java.awt.Point location,
CmtModelNode node)
Create a UIPosition for the given location relative to the given node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.awt.Point |
getLocation()
Get the location relative to the Component modeled by the CmtSubcomponent
of an associated CmtModelNode.
|
CmtModelNode |
getModelNode()
Get the CmtModelNode holding the CmtSubcomponent which models the
Component to which the location is relative.
|
java.lang.String |
toString() |
public UIPosition(java.awt.Point location, CmtModelNode node)
location
- a location relative to the live Component modeled by
the CmtSubcomponent of the given CmtModelNode.node
- the CmtModelNode which holds the CmtSubcomponent modeling
the Component to which the given location is relative.public java.awt.Point getLocation()
public CmtModelNode getModelNode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object