Package org.eclipse.gef.fx.anchors
Class AnchorKey
- java.lang.Object
-
- org.eclipse.gef.fx.anchors.AnchorKey
-
public class AnchorKey extends java.lang.ObjectAnchorKey combines an anchoredNodewith aStringqualifier to identify an anchor target.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)javafx.scene.NodegetAnchored()Returns the anchoredNodeof thisAnchorKey.java.lang.StringgetId()TheStringidentifier of thisAnchorKey.inthashCode()protected voidsetAnchored(javafx.scene.Node anchored)Sets the anchoredNodeof thisAnchorKeyto the given value.protected voidsetId(java.lang.String id)Sets theStringidentifier of thisAnchorKeyto the given value.java.lang.StringtoString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getAnchored
public javafx.scene.Node getAnchored()
Returns the anchoredNodeof thisAnchorKey.- Returns:
- The anchored
Nodeof thisAnchorKey.
-
getId
public java.lang.String getId()
TheStringidentifier of thisAnchorKey.- Returns:
- The
Stringidentifier of thisAnchorKey.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
setAnchored
protected void setAnchored(javafx.scene.Node anchored)
Sets the anchoredNodeof thisAnchorKeyto the given value.- Parameters:
anchored- The new anchoredNodefor thisAnchorKey.
-
setId
protected void setId(java.lang.String id)
Sets theStringidentifier of thisAnchorKeyto the given value.- Parameters:
id- The newStringidentifier for thisAnchorKey.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-