com.tradeideas.external
Class TIMain

java.lang.Object
  extended by com.tradeideas.external.TIMain

public class TIMain
extends java.lang.Object

This is the starting place for interacting with the TI code from the main program.


Method Summary
static PanelPair createPanelPair()
          Create the contents of a new TI window.
static void setObfuscatedUserName(java.lang.String username)
          This is required for us to log in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setObfuscatedUserName

public static void setObfuscatedUserName(java.lang.String username)
This is required for us to log in. Nothing will work until you do this. If you create other windows before doing this, it won’t blow up, but the user won’t see data. Do this before creating a TI window for the first time.

Parameters:
username - The input is the same as E*TRADE is already giving to the older TI library.

createPanelPair

public static PanelPair createPanelPair()
Create the contents of a new TI window. There is only one version of the window, as far as the API is concerned. The user can use the GUI to request different types of functions.

Returns:
The body of the new window.
Throws:
java.lang.IllegalStateException - if not logged in.