|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
nesstar.util.EMWindow
public class EMWindow
This is a test application for using the org.mozilla.webclient.BrowserControl.
org.mozilla.webclient.org.mozilla.webclient.BrowserControlFactory,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.mozilla.webclient.Prompt |
|---|
BUTTON_PRESSED_KEY, CHECKBOX_STATE_KEY, EDIT_FIELD_1_KEY, EDIT_FIELD_2_KEY, PASSWORD_KEY, USER_NAME_KEY |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
EMWindow(String title,
String binDir,
String url,
int winnum,
org.mozilla.webclient.test.EmbeddedMozilla Creator)
Constructor for the EMWindow object |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt)
Description of the Method |
void |
delete()
Description of the Method |
void |
dialogCancelled(Dialog d)
Description of the Method |
void |
dialogDismissed(Dialog d)
Description of the Method |
void |
eventDispatched(org.mozilla.webclient.WebclientEvent event)
Important: do not call any webclient methods during this callback. |
org.mozilla.webclient.BrowserControl |
getBrowserControl()
Gets the browserControl attribute of the EMWindow object |
String |
getPageSource()
Gets the pageSource attribute of the EMWindow object |
static void |
main(String[] arg)
The main program for the EMWindow class |
void |
mouseClicked(MouseEvent e)
Description of the Method |
void |
mouseEntered(MouseEvent e)
Description of the Method |
void |
mouseExited(MouseEvent e)
Description of the Method |
void |
mousePressed(MouseEvent e)
Description of the Method |
void |
mouseReleased(MouseEvent e)
Description of the Method |
int |
prefChanged(String prefName,
Object closure)
Description of the Method |
boolean |
promptUsernameAndPassword(String dialogTitle,
String text,
String passwordRealm,
int savePassword,
Properties fillThis)
Description of the Method |
boolean |
universalDialog(String titleMessage,
String dialogTitle,
String text,
String checkboxMsg,
String button0Text,
String button1Text,
String button2Text,
String button3Text,
String editfield1Msg,
String editfield2Msg,
int numButtons,
int numEditfields,
boolean editfield1Password,
Properties fillThis)
Description of the Method |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Constructor Detail |
|---|
public EMWindow(String title,
String binDir,
String url,
int winnum,
org.mozilla.webclient.test.EmbeddedMozilla Creator)
title - binDir - url - winnum - Creator - | Method Detail |
|---|
public String getPageSource()
public org.mozilla.webclient.BrowserControl getBrowserControl()
public static void main(String[] arg)
arg - The command line argumentspublic void delete()
public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - public void dialogDismissed(Dialog d)
dialogDismissed in interface org.mozilla.webclient.test.DialogClientd - public void dialogCancelled(Dialog d)
dialogCancelled in interface org.mozilla.webclient.test.DialogClientd - public void eventDispatched(org.mozilla.webclient.WebclientEvent event)
eventDispatched in interface org.mozilla.webclient.WebclientEventListenerevent - public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenere - public void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenere - public void mouseExited(MouseEvent e)
mouseExited in interface MouseListenere - public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenere - public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenere -
public boolean promptUsernameAndPassword(String dialogTitle,
String text,
String passwordRealm,
int savePassword,
Properties fillThis)
promptUsernameAndPassword in interface org.mozilla.webclient.PromptdialogTitle - text - passwordRealm - savePassword - fillThis -
public boolean universalDialog(String titleMessage,
String dialogTitle,
String text,
String checkboxMsg,
String button0Text,
String button1Text,
String button2Text,
String button3Text,
String editfield1Msg,
String editfield2Msg,
int numButtons,
int numEditfields,
boolean editfield1Password,
Properties fillThis)
universalDialog in interface org.mozilla.webclient.PrompttitleMessage - dialogTitle - text - checkboxMsg - button0Text - button1Text - button2Text - button3Text - editfield1Msg - editfield2Msg - numButtons - numEditfields - editfield1Password - fillThis -
public int prefChanged(String prefName,
Object closure)
prefChanged in interface org.mozilla.webclient.PrefChangedCallbackprefName - closure -
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||