InternationalInputContext Interface Reference

Methods, the applet/application may provide. More...

Inheritance diagram for InternationalInputContext:

NullInternationalInputContext InternationalInputApp::AppletInternationalInputContext InternationalInputApp::StandAloneInternationalInputContext InternationalInputApp::WebStartInternationalInputContext List of all members.

Public Member Functions

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

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

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 addMenuBar (JMenuBar menuBar)
 Adds a JMenuBar.

Properties getProperties (String names[])
 Returns properties.

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).


Detailed Description

Methods, the applet/application may provide.

Any of these may be unimplemented, then the shall throw an UnsupportedOperationException.

Definition at line 10 of file InternationalInputContext.java.


Member Function Documentation

void addMenuBar JMenuBar  menuBar  ) 
 

Adds a JMenuBar.

Parameters:
menuBar the menu bar

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and NullInternationalInputContext.

URL getDocumentBase  ) 
 

Returns the document base or current directory.

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, InternationalInputApp::WebStartInternationalInputContext, and NullInternationalInputContext.

Referenced by InputManager::loadConfigString(), and InputManager::openURL().

Properties getProperties String  names[]  ) 
 

Returns properties.

These may come from the applet parameters or from the command line etc.

Parameters:
names Possible names of properties. These are to be taken as a hint, if it is not possible to get properties without knowing their name beforehand (e.g. applet parameters).

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, InternationalInputApp::WebStartInternationalInputContext, and NullInternationalInputContext.

boolean isExitAllowed  ) 
 

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

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and NullInternationalInputContext.

void setTitleInfo String  info  ) 
 

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.

Implemented in InternationalInputApp::StandAloneInternationalInputContext, and NullInternationalInputContext.

void showDocument URL  url,
boolean  top
 

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

Parameters:
url Location of the document.
top Display in a top level frame (i.e. new window/tab)

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, InternationalInputApp::WebStartInternationalInputContext, and NullInternationalInputContext.

void showDocumentFromString String  source  ) 
 

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

Parameters:
source Source of the document.

Implemented in InternationalInputApp::StandAloneInternationalInputContext, and NullInternationalInputContext.

void showInfo String  info,
boolean  log
 

Shows a string in the status bar.

Parameters:
info Short text to be displayed
log Add to log (is available)

Implemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and NullInternationalInputContext.

Referenced by InputManager::makeOutput().


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