Package dataModelFX

Class ModuleNodeParams

java.lang.Object
PamController.UsedModuleInfo
dataModelFX.ModuleNodeParams
All Implemented Interfaces:
ConnectionNodeParams, Serializable, ManagedParameters

public class ModuleNodeParams extends UsedModuleInfo implements ConnectionNodeParams, Serializable, ManagedParameters
Holds seriliazbale informations on a ModuleConnectionNode.
Author:
Jamie Macaulay
See Also:
  • Field Details

    • DEFAULT_WIDTH

      public static final double DEFAULT_WIDTH
      See Also:
    • DEFAULT_HEIGHT

      public static final double DEFAULT_HEIGHT
      See Also:
    • DEFAULT_COLOUR

      public static final double[] DEFAULT_COLOUR
      The default colour of a module rectangle.
    • DISABLED_OPACITY

      public static final double DISABLED_OPACITY
      The opacity to set disabled modules
      See Also:
    • prefWidth

      public double prefWidth
      The preferred width of the module connection node
    • prefHeight

      public double prefHeight
      The preferred height of the module connection node.
  • Constructor Details

    • ModuleNodeParams

      public ModuleNodeParams(ModuleConnectionNode moduleConnectionNode)
    • ModuleNodeParams

      public ModuleNodeParams(String className, String unitType, String unitName, javafx.geometry.Point2D location, boolean settingsShowing)
  • Method Details