com.dukascopy.api.system.tester
Interface ITesterChartController

All Superinterfaces:
IClientChartController

public interface ITesterChartController
extends IClientChartController

Allows control over the chart object.


Method Summary
 void changePeriod(DataType dataType, Period period)
          Deprecated. 
 Filter getFilter()
           
 void setChartAutoShift()
          Activates chart Auto Shift
 void setFeedDescriptor(IFeedDescriptor feedDescriptor)
          Changes chart type.
 void setFilter(Filter filter)
          Sets the Filter globally which will be propagated to all open charts.
 void showBalanceIndicator(boolean show)
          Makes the indicator visible or invisible.
 void showEquityIndicator(boolean show)
          Makes the indicator visible or invisible.
 void showProfitLossIndicator(boolean show)
          Makes the indicator visible or invisible.
 void switchOfferSide(OfferSide offerSide)
          Switches OfferSide
 void zoomIn()
          Zooms in chart
 void zoomOut()
          Zooms out chart
 
Methods inherited from interface com.dukascopy.api.IClientChartController
activateChannelLines, activateHorizontalLine, activateLongLine, activatePercentLines, activatePolyLine, activatePriceMarker, activateRayLine, activateShortLine, activateTextMode, activateTimeMarker, activateVerticalLine, addIndicators, addMouseListener, addMouseMotionListener, addMouseWheelListener, addOHLCInformer, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, setCursorPointer
 

Method Detail

changePeriod

@Deprecated
void changePeriod(DataType dataType,
                             Period period)
Deprecated. 

Changes chart time period. Use for the DataType.TIME_PERIOD_AGGREGATION

Parameters:
dataType - - see DataType.
period - - see Period.

setFeedDescriptor

void setFeedDescriptor(IFeedDescriptor feedDescriptor)
Changes chart type.
The Instrument and OfferSide of the IFeedDescriptor are ignored.
To change OfferSide use switchOfferSide(OfferSide).
The Filter value of the IFeedDescriptor is set globally and propagated to all open charts.

Parameters:
feedDescriptor - - see IFeedDescriptor
See Also:
setFilter(Filter), getFilter()

setChartAutoShift

void setChartAutoShift()
Activates chart Auto Shift


zoomIn

void zoomIn()
Zooms in chart


zoomOut

void zoomOut()
Zooms out chart


switchOfferSide

void switchOfferSide(OfferSide offerSide)
Switches OfferSide

Parameters:
offerSide -

showEquityIndicator

void showEquityIndicator(boolean show)
Makes the indicator visible or invisible.

Parameters:
show - true to make the indicator visible; false to make it invisible

showProfitLossIndicator

void showProfitLossIndicator(boolean show)
Makes the indicator visible or invisible.

Parameters:
show - true to make the indicator visible; false to make it invisible

showBalanceIndicator

void showBalanceIndicator(boolean show)
Makes the indicator visible or invisible.

Parameters:
show - true to make the indicator visible; false to make it invisible

getFilter

Filter getFilter()
Returns:
the Filter which is shared by all ICharts

setFilter

void setFilter(Filter filter)
Sets the Filter globally which will be propagated to all open charts.

Parameters:
filter - Filter to filter flats data