Package dataModelFX.structures
Class StructureParams
java.lang.Object
dataModelFX.structures.StructureParams
- All Implemented Interfaces:
ConnectionNodeParams
,Serializable
- Direct Known Subclasses:
PamStructureParams
Contains saveable information for connection structures.
- Author:
- Jamie Macaulay
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface dataModelFX.ConnectionNodeParams
ConnectionNodeParams.PAMConnectionNodeType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetID()
Get the unique ID for the node.double
The x location of the module.double
The y location of the module.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dataModelFX.ConnectionNodeParams
getNodeType
-
Field Details
-
layoutX
public double layoutXThe X position of the node in it's connection pane. -
layoutY
public double layoutYThe Y position of the node in it's connection pane. -
id
-
-
Constructor Details
-
StructureParams
-
-
Method Details
-
getLayoutX
public double getLayoutX()Description copied from interface:ConnectionNodeParams
The x location of the module.- Specified by:
getLayoutX
in interfaceConnectionNodeParams
-
getLayoutY
public double getLayoutY()Description copied from interface:ConnectionNodeParams
The y location of the module.- Specified by:
getLayoutY
in interfaceConnectionNodeParams
-
getID
Description copied from interface:ConnectionNodeParams
Get the unique ID for the node. This should eb the same after the node has been saved.- Specified by:
getID
in interfaceConnectionNodeParams
- Returns:
- the unique ID number.
-