Package com.strategyquant.tradinglib
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
FieldsFields inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
_text, editableFields 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.jdom2.ElementgetXML()Gets the xml.voidsetFromXML(org.jdom2.Element mmElem)Sets the from XML.voidSets the name.Methods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
equals, getClone, getDescription, getEngine, getFormatedName, getName, getNote, isEditable, isUsed, newInstance, printFormatedName, setEditable, setFromParameterEl, setUsedMethods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties
getParametersList, getParameterValue, getParams, getPGParameterValue, setDefaultValues, setParameterValue, setParamsMethods inherited from class com.strategyquant.tradinglib.debug.Debugger
debug, fdebug
-
Field Details
-
name
The name.
-
-
Constructor Details
-
ScalingMethod
public ScalingMethod()
-
-
Method Details
-
setName
Sets the name.- Parameters:
name- the new name
-
getXML
public org.jdom2.Element getXML()Gets the xml.- Specified by:
getXMLin interfacecom.strategyquant.lib.settings.IXMLAble- Overrides:
getXMLin classcom.strategyquant.tradinglib.propertygrid.ParametersTableItem- Returns:
- the xml
-
setFromXML
Sets the from XML.- Specified by:
setFromXMLin interfacecom.strategyquant.lib.settings.IXMLAble- Overrides:
setFromXMLin classcom.strategyquant.tradinglib.propertygrid.ParametersTableItem- Parameters:
mmElem- the new from XML- Throws:
Exception- the exception
-