Class SpacerDescriptor

java.lang.Object
com.motivewave.platform.sdk.common.desc.SettingDescriptor
com.motivewave.platform.sdk.common.desc.SpacerDescriptor

public class SpacerDescriptor extends SettingDescriptor
Adds horizontal/vertical space to the form.
  • Constructor Details

    • SpacerDescriptor

      public SpacerDescriptor(int width)
      Constructor
      Parameters:
      width - spacer width
    • SpacerDescriptor

      public SpacerDescriptor(double width, double height)
      Constructor
      Parameters:
      width - spacer width
      height - spacer height
  • Method Details

    • createInputFX

      public javafx.scene.Node createInputFX(Settings settings, boolean readOnly)
      Description copied from class: SettingDescriptor
      Creates the component that will accept the user input. This is called by the study framework.
      Specified by:
      createInputFX in class SettingDescriptor
      Parameters:
      settings - settings for the study
      readOnly - true if the component should not accept user input
      Returns:
      component that will accept user input.
    • fromJson

      public Object fromJson(Object json)
      Overrides:
      fromJson in class SettingDescriptor