InternationalInputApp::StandAloneInternationalInputContext Class Reference

Inheritance diagram for InternationalInputApp::StandAloneInternationalInputContext:

NullInternationalInputContext InternationalInputContext InternationalInputApp::WebStartInternationalInputContext List of all members.

Public Member Functions

 StandAloneInternationalInputContext (JFrame _frame, JLabel _sb)
Properties getProperties (String names[])
 Returns properties.

URL getDocumentBase ()
 Returns the document base or current directory.

void addMenuBar (JMenuBar menuBar)
 Adds a JMenuBar.

void showDocument (URL url, boolean top)
 Shows an HTML document (in another frame/window).

void showDocumentFromString (String source)
 Shows an HTML document (in another frame/window).

void showInfo (String info, boolean log)
 Shows a string in the status bar.

void setTitleInfo (String info)
 Sets a string to be displayed as part of the title.

boolean isExitAllowed ()
 Returns, whether providing an "Exit" menu item is sensible behaviour (in a stand alone application: true, as part of another app: false).


Package Functions

JEditorPane createBrowser ()

Package Attributes

JFrame frame = null
JLabel statusBar = null
JFrame browserFrame = null
JEditorPane browser = null

Constructor & Destructor Documentation

StandAloneInternationalInputContext JFrame  _frame,
JLabel  _sb
[inline]
 

Definition at line 82 of file InternationalInputApp.java.

References frame, and statusBar.


Member Function Documentation

void addMenuBar JMenuBar  menuBar  )  [inline]
 

Adds a JMenuBar.

Parameters:
menuBar the menu bar

Reimplemented from NullInternationalInputContext.

Definition at line 107 of file InternationalInputApp.java.

References addMenuBar(), and frame.

Referenced by addMenuBar().

JEditorPane createBrowser  )  [inline, package]
 

Definition at line 132 of file InternationalInputApp.java.

References browser, and browserFrame.

Referenced by showDocument(), and showDocumentFromString().

URL getDocumentBase  )  [inline]
 

Returns the document base or current directory.

Reimplemented from NullInternationalInputContext.

Reimplemented in InternationalInputApp::WebStartInternationalInputContext.

Definition at line 94 of file InternationalInputApp.java.

Properties getProperties String  names[]  )  [inline]
 

Returns properties.

The system properties are returned.

Parameters:
names ignored

Reimplemented from NullInternationalInputContext.

Reimplemented in InternationalInputApp::WebStartInternationalInputContext.

Definition at line 89 of file InternationalInputApp.java.

References getProperties().

Referenced by getProperties().

boolean isExitAllowed  )  [inline]
 

Returns, whether providing an "Exit" menu item is sensible behaviour (in a stand alone application: true, as part of another app: false).

Reimplemented from NullInternationalInputContext.

Definition at line 194 of file InternationalInputApp.java.

void setTitleInfo String  info  )  [inline]
 

Sets a string to be displayed as part of the title.

Usually the name of the currently loaded file.

Parameters:
info the info string, or null, if no info is to be displayed.

Reimplemented from NullInternationalInputContext.

Definition at line 187 of file InternationalInputApp.java.

void showDocument URL  url,
boolean  top
[inline]
 

Shows an HTML document (in another frame/window).

Parameters:
url Location of the document.
top ignored

Reimplemented from NullInternationalInputContext.

Reimplemented in InternationalInputApp::WebStartInternationalInputContext.

Definition at line 114 of file InternationalInputApp.java.

References createBrowser(), and showDocument().

Referenced by showDocument().

void showDocumentFromString String  source  )  [inline]
 

Shows an HTML document (in another frame/window).

Parameters:
source HTML Source

Reimplemented from NullInternationalInputContext.

Definition at line 126 of file InternationalInputApp.java.

References browser, createBrowser(), and showDocumentFromString().

Referenced by showDocumentFromString().

void showInfo String  info,
boolean  log
[inline]
 

Shows a string in the status bar.

Parameters:
info Short text to be displayed.
log Ignored.

Reimplemented from NullInternationalInputContext.

Definition at line 181 of file InternationalInputApp.java.


Member Data Documentation

JEditorPane browser = null [package]
 

Definition at line 80 of file InternationalInputApp.java.

Referenced by createBrowser(), and showDocumentFromString().

JFrame browserFrame = null [package]
 

Definition at line 79 of file InternationalInputApp.java.

Referenced by createBrowser().

JFrame frame = null [package]
 

Definition at line 77 of file InternationalInputApp.java.

Referenced by addMenuBar(), and StandAloneInternationalInputContext().

JLabel statusBar = null [package]
 

Definition at line 78 of file InternationalInputApp.java.

Referenced by StandAloneInternationalInputContext().


The documentation for this class was generated from the following file:
Generated on Sun Aug 15 11:56:54 2004 for International Input by doxygen 1.3.7