Package org.eclipse.gef.fx.anchors
Class AnchorKey
- java.lang.Object
-
- org.eclipse.gef.fx.anchors.AnchorKey
-
public class AnchorKey extends java.lang.Object
AnchorKey combines an anchoredNode
with aString
qualifier to identify an anchor target.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
javafx.scene.Node
getAnchored()
Returns the anchoredNode
of thisAnchorKey
.java.lang.String
getId()
TheString
identifier of thisAnchorKey
.int
hashCode()
protected void
setAnchored(javafx.scene.Node anchored)
Sets the anchoredNode
of thisAnchorKey
to the given value.protected void
setId(java.lang.String id)
Sets theString
identifier of thisAnchorKey
to the given value.java.lang.String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getAnchored
public javafx.scene.Node getAnchored()
Returns the anchoredNode
of thisAnchorKey
.- Returns:
- The anchored
Node
of thisAnchorKey
.
-
getId
public java.lang.String getId()
TheString
identifier of thisAnchorKey
.- Returns:
- The
String
identifier of thisAnchorKey
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
setAnchored
protected void setAnchored(javafx.scene.Node anchored)
Sets the anchoredNode
of thisAnchorKey
to the given value.- Parameters:
anchored
- The new anchoredNode
for thisAnchorKey
.
-
setId
protected void setId(java.lang.String id)
Sets theString
identifier of thisAnchorKey
to the given value.- Parameters:
id
- The newString
identifier for thisAnchorKey
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-