net.sf.jameleon.plugin.jiffie.ui
Class IEActionPointGenerator

java.lang.Object
  extended by net.sf.jameleon.plugin.jiffie.ui.IEActionPointGenerator
All Implemented Interfaces:
BrowserCache, DocumentDelegate

public class IEActionPointGenerator
extends Object
implements DocumentDelegate, BrowserCache


Nested Class Summary
 class IEActionPointGenerator.HTMLFormTableModel
           
 
Field Summary
static int FIELD_NAME
           
static int FIELD_TYPE
           
static int INCLUDE
           
static int REQUIRED
           
static int VAR_DESC
           
static int VAR_NAME
           
 
Constructor Summary
IEActionPointGenerator()
           
 
Method Summary
protected  void addActionFormSelectionActionListener(JComboBox formOptions)
           
 void addBrowser(InternetExplorer ie)
          Add a browser instance to the cache.
protected  void addFormsToList(JComboBox formOptions, ElementList forms)
           
 void findFields(IHTMLFormElement form)
           
 void findForms()
           
 void genGUI()
           
 InternetExplorer getBrowserAt(int i)
          Get the i-th browser window from the cache.
 Vector getBrowserCache()
           
 InternetExplorer getBrowserWithTitle(String title)
          This method returns null
 InternetExplorer getCurrentIE()
           
 IHTMLDocument2 getDocument()
           
 InternetExplorer getFirstBrowser()
          Get the first browser window from the cache.
 IHTMLFormElement getWorkingForm()
           
 boolean highlightActiveElement()
           
static void main(String[] args)
           
 void removeBrowser(InternetExplorer ie)
          Remove a browser instance from the cache.
 void setCurrentIE(InternetExplorer ie)
           
 void setExternalCloseListener(WindowAdapter cl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_NAME

public static final int FIELD_NAME
See Also:
Constant Field Values

FIELD_TYPE

public static final int FIELD_TYPE
See Also:
Constant Field Values

VAR_NAME

public static final int VAR_NAME
See Also:
Constant Field Values

VAR_DESC

public static final int VAR_DESC
See Also:
Constant Field Values

REQUIRED

public static final int REQUIRED
See Also:
Constant Field Values

INCLUDE

public static final int INCLUDE
See Also:
Constant Field Values
Constructor Detail

IEActionPointGenerator

public IEActionPointGenerator()
Method Detail

setExternalCloseListener

public void setExternalCloseListener(WindowAdapter cl)

main

public static void main(String[] args)

getDocument

public IHTMLDocument2 getDocument()
Specified by:
getDocument in interface DocumentDelegate

getWorkingForm

public IHTMLFormElement getWorkingForm()
Specified by:
getWorkingForm in interface DocumentDelegate

highlightActiveElement

public boolean highlightActiveElement()
Specified by:
highlightActiveElement in interface DocumentDelegate

genGUI

public void genGUI()

getCurrentIE

public InternetExplorer getCurrentIE()

setCurrentIE

public void setCurrentIE(InternetExplorer ie)

findFields

public void findFields(IHTMLFormElement form)

findForms

public void findForms()

addFormsToList

protected void addFormsToList(JComboBox formOptions,
                              ElementList forms)

addActionFormSelectionActionListener

protected void addActionFormSelectionActionListener(JComboBox formOptions)

getBrowserCache

public Vector getBrowserCache()
Specified by:
getBrowserCache in interface BrowserCache

addBrowser

public void addBrowser(InternetExplorer ie)
Description copied from interface: BrowserCache
Add a browser instance to the cache. Usually newly opened browser windows should be added to the cache.

Specified by:
addBrowser in interface BrowserCache
Parameters:
ie - The browser window that should be added to the cache.

removeBrowser

public void removeBrowser(InternetExplorer ie)
Description copied from interface: BrowserCache
Remove a browser instance from the cache. This should usually happen on quit of the browser window.

Specified by:
removeBrowser in interface BrowserCache
Parameters:
ie - The browser window that should be removed from the cache.

getFirstBrowser

public InternetExplorer getFirstBrowser()
Description copied from interface: BrowserCache
Get the first browser window from the cache. The first instance is usually the "root" of all subsequently opened browser windows.

Specified by:
getFirstBrowser in interface BrowserCache
Returns:
The first browse window that is in the cache.

getBrowserAt

public InternetExplorer getBrowserAt(int i)
Description copied from interface: BrowserCache
Get the i-th browser window from the cache. If all opened browser windows are added to the cache, it returns the i-th browser window that has been opened.

Specified by:
getBrowserAt in interface BrowserCache
Parameters:
i - The index of the browser window in the cache. This is usually the i-th browser window opened.
Returns:
The i-th browser window.

getBrowserWithTitle

public InternetExplorer getBrowserWithTitle(String title)
This method returns null

Specified by:
getBrowserWithTitle in interface BrowserCache
Parameters:
title - The title of the browser window in the cache.
Returns:
The matching browser window.


Copyright © 2004-2008 Christian Hargraves. All Rights Reserved.