Class LabelDescriptor

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

public class LabelDescriptor extends SettingDescriptor
Describes a label that is displayed form. Note there is no setting associated with this, its for display only.
  • Constructor Details

    • LabelDescriptor

      public LabelDescriptor(String label)
      Constructor
      Parameters:
      label - label displayed to the user
    • LabelDescriptor

      public LabelDescriptor(String label, boolean bold)
      Constructor
      Parameters:
      label - label displayed to the user
      bold - true if this label should be displayed in bold
  • 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