public class AnchorKey
extends java.lang.Object
Node with a String qualifier
to identify an anchor target.| Constructor and Description |
|---|
AnchorKey(javafx.scene.Node anchored,
java.lang.String id)
Creates a new
AnchorKey for the given anchored
Node with the given id. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
javafx.scene.Node |
getAnchored()
Returns the anchored
Node of this AnchorKey. |
java.lang.String |
getId()
The
String identifier of this AnchorKey. |
int |
hashCode() |
protected void |
setAnchored(javafx.scene.Node anchored)
Sets the anchored
Node of this AnchorKey to the given
value. |
protected void |
setId(java.lang.String id)
Sets the
String identifier of this AnchorKey to the given
value. |
java.lang.String |
toString() |
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic javafx.scene.Node getAnchored()
Node of this AnchorKey.Node of this AnchorKey.public java.lang.String getId()
String identifier of this AnchorKey.String identifier of this AnchorKey.public int hashCode()
hashCode in class java.lang.Objectprotected void setAnchored(javafx.scene.Node anchored)
Node of this AnchorKey to the given
value.anchored - The new anchored Node for this AnchorKey.protected void setId(java.lang.String id)
String identifier of this AnchorKey to the given
value.id - The new String identifier for this AnchorKey.public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2014, 2016 itemis AG and others. All rights reserved.