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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()Get the unique ID for the node.doubleThe x location of the module.doubleThe y location of the module.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ConnectionNodeParamsThe x location of the module.- Specified by:
getLayoutXin interfaceConnectionNodeParams
-
getLayoutY
public double getLayoutY()Description copied from interface:ConnectionNodeParamsThe y location of the module.- Specified by:
getLayoutYin interfaceConnectionNodeParams
-
getID
Description copied from interface:ConnectionNodeParamsGet the unique ID for the node. This should eb the same after the node has been saved.- Specified by:
getIDin interfaceConnectionNodeParams- Returns:
- the unique ID number.
-