com.dukascopy.api
Interface IUserInterface


public interface IUserInterface

Provides access to various user interface parts


Method Summary
 JPanel getBottomTab(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
 JPanel getMainTab(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(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(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

JPanel getBottomTab(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(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

JPanel getMainTab(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(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


Copyright © 2009. All Rights Reserved.