com.dukascopy.api
Interface IUserInterface


public interface IUserInterface

Provides access to various user interface parts


Method Summary
 javax.swing.JPanel getBottomTab(java.lang.String key)
          Returns tab by unique key which is used by strategies to display some information and is located in the bottom pane with tabs
 javax.swing.JFrame getMainFrame()
          Returns main frame.
 javax.swing.JPanel getMainTab(java.lang.String key)
          Returns tab by unique key which is used by strategies to display some information and is located in the main panel among charts and strategy source files
 void removeBottomTab(java.lang.String key)
          Removes tab by unique key which is used by strategies to display some information and is located in the bottom pane with tabs.
 void removeMainTab(java.lang.String key)
          Removes tab by unique key which is used by strategies to display some information and is located in the main panel among charts and strategy source files.
 

Method Detail

getBottomTab

javax.swing.JPanel getBottomTab(java.lang.String key)
Returns tab by unique key which is used by strategies to display some information and is located in the bottom pane with tabs

Parameters:
key - unique key which is mapped to a specific bottom tab
Returns:
bottom tab which is mapped to unique key

removeBottomTab

void removeBottomTab(java.lang.String key)
Removes tab by unique key which is used by strategies to display some information and is located in the bottom pane with tabs. If there is no tab mapped to such key no action is taken place.

Parameters:
key - unique key which is mapped to a specific bottom tab

getMainTab

javax.swing.JPanel getMainTab(java.lang.String key)
Returns tab by unique key which is used by strategies to display some information and is located in the main panel among charts and strategy source files

Parameters:
key - unique key which is mapped to a specific main tab
Returns:
main tab which is mapped to unique key

removeMainTab

void removeMainTab(java.lang.String key)
Removes tab by unique key which is used by strategies to display some information and is located in the main panel among charts and strategy source files. If there is no tab mapped to such key no action is taken place.

Parameters:
key - unique key which is mapped to a specific main tab

getMainFrame

javax.swing.JFrame getMainFrame()
Returns main frame. Can be used as parent for dialogs to show them on the same screen

Returns:
main JFrame