com.dukascopy.api
Interface IClientChartController

All Known Subinterfaces:
ITesterChartController

public interface IClientChartController

Allows control over the chart objects and mouse listeners NOTE: Used only by Standalone JForex API.

See Also:
IChart, IClientGUI, IClientChartPresentationManager

Method Summary
 void activateChannelLines()
          The Channel Lines activation allows to manually draw Channel Lines on the chart.
 void activateHorizontalLine()
          The Horizontal Line activation allows to manually draw Horizontal Line on the chart.
 void activateLongLine()
          The Long Line activation allows to manually draw Long Line on the chart.
 void activatePercentLines()
          The Percent Lines activation allows to manually draw Percent Lines on the chart.
 void activatePolyLine()
          The Poly Line activation allows to manually draw Poly Line on the chart.
 void activatePriceMarker()
          The Price Marker activation allows to manually draw price marker lines on the chart.
 void activateRayLine()
          The Ray Line activation allows to manually draw Ray Line on the chart.
 void activateShortLine()
          The Short Line activation allows to manually draw Short Line on the chart.
 void activateTextMode()
          The Text mode activation allows to add Text on the chart.
 void activateTimeMarker()
          The Time Marker activation allows to manually draw Time Marker line on the chart.
 void activateVerticalLine()
          The Vertical Line activation allows to manually draw Vertical Line on the chart.
 void addIndicators()
          Displays the "Add Indicator" dialog.
 void addMouseListener(java.awt.event.MouseListener ml)
          Adds the specified mouse listener to receive mouse events from this chart.
 void addMouseMotionListener(java.awt.event.MouseMotionListener mml)
          Adds the specified mouse motion listener to receive mouse motion events from chart.
 void addMouseWheelListener(java.awt.event.MouseWheelListener mwl)
          Adds the specified mouse wheel listener to receive mouse wheel events from chart.
 void addOHLCInformer()
          Adds OHLC Informer on the chart
 void removeMouseListener(java.awt.event.MouseListener ml)
          Removes the specified mouse listener so that it no longer receives mouse events from this chart
 void removeMouseMotionListener(java.awt.event.MouseMotionListener mml)
          Removes the specified mouse motion listener so that it no longer receives mouse motion events from chart.
 void removeMouseWheelListener(java.awt.event.MouseWheelListener mwl)
          Removes the specified mouse wheel listener so that it no longer receives mouse wheel events from chart.
 void setCursorPointer(boolean show)
          Set the cruciform cursor pointer visibility on the chart
 

Method Detail

addIndicators

void addIndicators()
Displays the "Add Indicator" dialog.


activatePriceMarker

void activatePriceMarker()
The Price Marker activation allows to manually draw price marker lines on the chart.


activateTimeMarker

void activateTimeMarker()
The Time Marker activation allows to manually draw Time Marker line on the chart.


activatePercentLines

void activatePercentLines()
The Percent Lines activation allows to manually draw Percent Lines on the chart.


activateChannelLines

void activateChannelLines()
The Channel Lines activation allows to manually draw Channel Lines on the chart.


activatePolyLine

void activatePolyLine()
The Poly Line activation allows to manually draw Poly Line on the chart.


activateShortLine

void activateShortLine()
The Short Line activation allows to manually draw Short Line on the chart.


activateLongLine

void activateLongLine()
The Long Line activation allows to manually draw Long Line on the chart.


activateRayLine

void activateRayLine()
The Ray Line activation allows to manually draw Ray Line on the chart.


activateHorizontalLine

void activateHorizontalLine()
The Horizontal Line activation allows to manually draw Horizontal Line on the chart.


activateVerticalLine

void activateVerticalLine()
The Vertical Line activation allows to manually draw Vertical Line on the chart.


activateTextMode

void activateTextMode()
The Text mode activation allows to add Text on the chart.


addOHLCInformer

void addOHLCInformer()
Adds OHLC Informer on the chart


setCursorPointer

void setCursorPointer(boolean show)
Set the cruciform cursor pointer visibility on the chart

Parameters:
show - true cursor pointer visible, false otherwise

addMouseListener

void addMouseListener(java.awt.event.MouseListener ml)
Adds the specified mouse listener to receive mouse events from this chart.

Parameters:
ml - the mouse listener

addMouseMotionListener

void addMouseMotionListener(java.awt.event.MouseMotionListener mml)
Adds the specified mouse motion listener to receive mouse motion events from chart.

Parameters:
mml - the mouse motion listener

addMouseWheelListener

void addMouseWheelListener(java.awt.event.MouseWheelListener mwl)
Adds the specified mouse wheel listener to receive mouse wheel events from chart.

Parameters:
mwl - the mouse wheel listener

removeMouseListener

void removeMouseListener(java.awt.event.MouseListener ml)
Removes the specified mouse listener so that it no longer receives mouse events from this chart

Parameters:
ml - the mouse listener

removeMouseMotionListener

void removeMouseMotionListener(java.awt.event.MouseMotionListener mml)
Removes the specified mouse motion listener so that it no longer receives mouse motion events from chart.

Parameters:
mml - the mouse motion listener

removeMouseWheelListener

void removeMouseWheelListener(java.awt.event.MouseWheelListener mwl)
Removes the specified mouse wheel listener so that it no longer receives mouse wheel events from chart.

Parameters:
mwl - the mouse wheel listener.