public abstract class DatabankColumn
extends com.strategyquant.core.gui.tables.TableColumn
| Constructor and Description |
|---|
DatabankColumn() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
displayString(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
abstract java.lang.String |
displayString(SQResultsGroup strategyResults,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
Display string.
|
java.lang.String |
exportString(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.lang.String |
exportString(SQResultsGroup strategyResults,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
Export string.
|
java.awt.Color |
getBackgroundColor(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.awt.Color |
getBackgroundColor(SQResultsGroup strategyResults,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
Gets the background color.
|
java.lang.String[] |
getCategories() |
java.awt.Color |
getColorByValue(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.awt.Color |
getColorByValue(SQResultsGroup strategyResults,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
Gets the color by value.
|
java.lang.String |
getFullName(java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.lang.String |
getShortName(java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.lang.Object |
getValue(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType) |
java.lang.Object |
getValue(SQResultsGroup strategyResults,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
Gets the value.
|
boolean |
setValue(java.lang.Object value,
java.lang.Object newValue,
java.lang.String dataType,
java.lang.String databankName) |
boolean |
setValue(SQResultsGroup strategyResults,
java.lang.Object value,
java.lang.String dataType,
java.lang.String databankName)
Sets the value.
|
decimalFormat, getClassName, getColumnName, getColumnTooltip, getCorrectPlType, getEditor, getHorizontalAlignment, getPLColor, getPlType, getRenderer, getWidth, isEditable, setEditable, setEditor, setHorizontalAlignment, setName, setPlType, setRenderer, setTooltip, setWidth, toString, twoDecimalFormat, twoDecimalFormatWithPlType, twoDecimalPctFormatpublic abstract java.lang.String displayString(SQResultsGroup strategyResults, java.lang.String dataType, java.lang.String direction, java.lang.String sampleType, java.lang.String plType) throws java.lang.Exception
strategyResults - the strategy resultsdataType - the data typedirection - the directionsampleType - the sample typeplType - the pl typejava.lang.Exception - the exceptionpublic java.lang.String exportString(SQResultsGroup strategyResults, java.lang.String dataType, java.lang.String direction, java.lang.String sampleType, java.lang.String plType) throws java.lang.Exception
strategyResults - the strategy resultsdataType - the data typedirection - the directionsampleType - the sample typeplType - the pl typejava.lang.Exception - the exceptionpublic java.lang.Object getValue(SQResultsGroup strategyResults, java.lang.String dataType, java.lang.String direction, java.lang.String sampleType, java.lang.String plType) throws java.lang.Exception
strategyResults - the strategy resultsdataType - the data typedirection - the directionsampleType - the sample typeplType - the pl typejava.lang.Exception - the exceptionpublic boolean setValue(SQResultsGroup strategyResults, java.lang.Object value, java.lang.String dataType, java.lang.String databankName)
strategyResults - the strategy resultsvalue - the valuedataType - the data typedatabankName - the databank namepublic java.awt.Color getColorByValue(SQResultsGroup strategyResults, java.lang.String dataType, java.lang.String direction, java.lang.String sampleType, java.lang.String plType) throws java.lang.Exception
strategyResults - the strategy resultsdataType - the data typedirection - the directionsampleType - the sample typeplType - the pl typejava.lang.Exception - the exceptionpublic java.lang.String displayString(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
throws java.lang.Exception
displayString in class com.strategyquant.core.gui.tables.TableColumnjava.lang.Exceptionpublic java.lang.String exportString(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
throws java.lang.Exception
exportString in class com.strategyquant.core.gui.tables.TableColumnjava.lang.Exceptionpublic java.lang.Object getValue(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
throws java.lang.Exception
getValue in class com.strategyquant.core.gui.tables.TableColumnjava.lang.Exceptionpublic boolean setValue(java.lang.Object value,
java.lang.Object newValue,
java.lang.String dataType,
java.lang.String databankName)
setValue in class com.strategyquant.core.gui.tables.TableColumnpublic java.awt.Color getColorByValue(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
throws java.lang.Exception
getColorByValue in class com.strategyquant.core.gui.tables.TableColumnjava.lang.Exceptionpublic java.lang.String getFullName(java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
getFullName in class com.strategyquant.core.gui.tables.TableColumnpublic java.lang.String getShortName(java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
getShortName in class com.strategyquant.core.gui.tables.TableColumnpublic java.lang.String[] getCategories()
getCategories in class com.strategyquant.core.gui.tables.TableColumnpublic java.awt.Color getBackgroundColor(SQResultsGroup strategyResults, java.lang.String dataType, java.lang.String direction, java.lang.String sampleType, java.lang.String plType)
strategyResults - the strategy resultsdataType - the data typedirection - the directionsampleType - the sample typeplType - the pl typepublic java.awt.Color getBackgroundColor(java.lang.Object value,
java.lang.String dataType,
java.lang.String direction,
java.lang.String sampleType,
java.lang.String plType)
throws java.lang.Exception
getBackgroundColor in class com.strategyquant.core.gui.tables.TableColumnjava.lang.Exception