Class ScalingMethod

java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties
com.strategyquant.tradinglib.propertygrid.ParametersTableItem
com.strategyquant.tradinglib.ScalingMethod
All Implemented Interfaces:
com.strategyquant.lib.settings.IXMLAble, Serializable

public abstract class ScalingMethod extends com.strategyquant.tradinglib.propertygrid.ParametersTableItem
The Class ScalingMethod.
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The name.

    Fields inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem

    _text, editable

    Fields inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties

    df, Log, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_INT, TYPE_INT_LIST, TYPE_STR_LIST, TYPE_STRING, TYPE_TIME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jdom2.Element
    Gets the xml.
    void
    setFromXML​(org.jdom2.Element mmElem)
    Sets the from XML.
    void
    setName​(String name)
    Sets the name.

    Methods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem

    equals, getClone, getDescription, getEngine, getFormatedName, getName, getNote, isEditable, isUsed, newInstance, printFormatedName, setEditable, setFromParameterEl, setUsed

    Methods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties

    getParametersList, getParameterValue, getParams, getPGParameterValue, setDefaultValues, setParameterValue, setParams

    Methods inherited from class com.strategyquant.tradinglib.debug.Debugger

    debug, fdebug

    Methods inherited from class java.lang.Object

    getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public String name
      The name.
  • Constructor Details

    • ScalingMethod

      public ScalingMethod()
  • Method Details

    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getXML

      public org.jdom2.Element getXML()
      Gets the xml.
      Specified by:
      getXML in interface com.strategyquant.lib.settings.IXMLAble
      Overrides:
      getXML in class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
      Returns:
      the xml
    • setFromXML

      public void setFromXML(org.jdom2.Element mmElem) throws Exception
      Sets the from XML.
      Specified by:
      setFromXML in interface com.strategyquant.lib.settings.IXMLAble
      Overrides:
      setFromXML in class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
      Parameters:
      mmElem - the new from XML
      Throws:
      Exception - the exception