Class TifDescriptor

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

public class TifDescriptor extends SettingDescriptor
Describes a Time In Force order attribute for a strategy.
  • Constructor Details

    • TifDescriptor

      public TifDescriptor(String name, String label, Enums.TIF defaultValue)
      Constructor.
      Parameters:
      name -
      label -
      defaultValue -
  • Method Details

    • getDefaultValue

      public Enums.TIF getDefaultValue()
      Description copied from class: SettingDescriptor
      Gets the default value for this setting.
      Overrides:
      getDefaultValue in class SettingDescriptor
      Returns:
      default value for the setting
    • 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.