Package com.strategyquant.tradinglib
Class TradelistColumn
java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.table.TableColumn
com.strategyquant.tradinglib.TradelistColumn
public abstract class TradelistColumn
extends com.strategyquant.tradinglib.table.TableColumn
The Class DatabankColumn.
-
Field Summary
Fields inherited from class com.strategyquant.tradinglib.table.TableColumn
currencySymbol, Decimal2, Decimal2Pct, Decimal2Pips, Decimal2PL, Decimal4, Decimal5, HORIZONTAL_ALIGNMENT_CENTER, HORIZONTAL_ALIGNMENT_LEFT, HORIZONTAL_ALIGNMENT_RIGHT, Integer, Log, NOT_AVAILABLE, Text, Time -
Constructor Summary
ConstructorsConstructorDescriptionTradelistColumn(String columnName)Instantiates a new tradelist column.TradelistColumn(String columnName, String formatType)Instantiates a new tradelist column.TradelistColumn(String columnName, String formatType, boolean fontBold)Instantiates a new tradelist column. -
Method Summary
Methods inherited from class com.strategyquant.tradinglib.table.TableColumn
getName, getNumericValue, getStatsValueName, getType, getWidth, isEditable, isFontBold, isSpecialValue, printPlValue, printPlValue, printsSpecialValue, printValue, setEditable, setName, setTooltip, setWidthMethods inherited from class com.strategyquant.tradinglib.debug.Debugger
debug, fdebug
-
Constructor Details
-
TradelistColumn
Instantiates a new tradelist column.- Parameters:
columnName- the column name
-
TradelistColumn
Instantiates a new tradelist column.- Parameters:
columnName- the column nameformatType- the format type
-
TradelistColumn
Instantiates a new tradelist column.- Parameters:
columnName- the column nameformatType- the format typefontBold- the font bold
-
-
Method Details
-
setValue
Sets the value.- Parameters:
order- the ordervalue- the value- Returns:
- true, if successful
- Throws:
Exception- the exception
-
getValue
Gets the value.- Parameters:
order- the order- Returns:
- the value
- Throws:
Exception- the exception
-
getFormattedValue
Gets the formatted value.- Parameters:
value- the value- Returns:
- the formatted value
- Throws:
Exception- the exception
-