NullInternationalInputContext Class Reference

Helper class implementing InternationalInputContext. More...

Inheritance diagram for NullInternationalInputContext:

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

Properties getProperties (String names[])
 Returns properties.

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

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

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

Helper class implementing InternationalInputContext.

Every method raises an UnsupportedOperationException. Useful for subclassing.

Definition at line 11 of file NullInternationalInputContext.java.


Member Function Documentation

void addMenuBar JMenuBar  mb  )  [inline]
 

Adds a JMenuBar.

Parameters:
menuBar the menu bar

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, and InternationalInputApp::StandAloneInternationalInputContext.

Definition at line 21 of file NullInternationalInputContext.java.

References addMenuBar().

Referenced by addMenuBar().

URL getDocumentBase  )  [inline]
 

Returns the document base or current directory.

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and InternationalInputApp::WebStartInternationalInputContext.

Definition at line 15 of file NullInternationalInputContext.java.

Properties getProperties String  names[]  )  [inline]
 

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

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and InternationalInputApp::WebStartInternationalInputContext.

Definition at line 24 of file NullInternationalInputContext.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).

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, and InternationalInputApp::StandAloneInternationalInputContext.

Definition at line 33 of file NullInternationalInputContext.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.

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::StandAloneInternationalInputContext.

Definition at line 27 of file NullInternationalInputContext.java.

References setTitleInfo().

Referenced by setTitleInfo().

void showDocument URL  url,
boolean  top
[inline]
 

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)

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, InternationalInputApp::StandAloneInternationalInputContext, and InternationalInputApp::WebStartInternationalInputContext.

Definition at line 18 of file NullInternationalInputContext.java.

References showDocument().

Referenced by showDocument().

void showDocumentFromString String  source  )  [inline]
 

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

Parameters:
source Source of the document.

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::StandAloneInternationalInputContext.

Definition at line 30 of file NullInternationalInputContext.java.

References 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 Add to log (is available)

Implements InternationalInputContext.

Reimplemented in InternationalInputApp::AppletInternationalInputContext, and InternationalInputApp::StandAloneInternationalInputContext.

Definition at line 12 of file NullInternationalInputContext.java.

References showInfo().

Referenced by showInfo().


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