RapidSpell Web


com.keyoti.rapidSpell.web
Class RapidSpellWebLauncherBean

java.lang.Object
  extended by com.keyoti.rapidSpell.web.RapidSpellWebLauncherBean

public class RapidSpellWebLauncherBean
extends java.lang.Object

RapidSpell Web Launcher Bean, returns html that shows a button which launches the spell checker, useful for Servlets

Typical usage in a servlet would be:

                try{
                        PrintWriter pW = response.getWriter();
                        pW.println("<html><body><form name='f1'><textarea name='n1' cols=50 rows=5></textarea>");

                        //Add RapidSpellWebLauncher to page
                        RapidSpellWebLauncherBean launcher = new RapidSpellWebLauncherBean();
                        launcher.setTextComponentName("f1.n1");
                        launcher.setRapidSpellWebPage("/rsuser/RSWebPopUp");
                        launcher.writeHtml(pW, request);

                        pW.println("</form></body></html>");
                } catch (IOException e){
                        
                }


Constructor Summary
RapidSpellWebLauncherBean()
           
 
Method Summary
 boolean getAllowAnyCase()
          Whether to allow words spelt with incorrect case, eg.
 boolean getAllowMixedCase()
          Whether to allow words spelt with mixed case, eg.
 java.lang.String getButtonImageMouseDown()
           
 java.lang.String getButtonImageMouseOut()
           
 java.lang.String getButtonImageMouseOver()
           
 java.lang.String getButtonOnMouseOut()
          The onMouseOut of the button.
 java.lang.String getButtonOnMouseOver()
          The onMouseOver of the button.
 java.lang.String getButtonStyle()
          The style of the button.
 java.lang.String getButtonStyleClass()
          The style class of the button.
 java.lang.String getButtonText()
          The text on the button.
 java.lang.String getCallBack()
          The callBack URL or text box name.
 boolean getCheckCompoundWords()
          Whether to check if words are made of compound forms - to be used in languages which use compounds, such as German.
 int getConsiderationRange()
          The size factor for words to consider for suggestions, lower values are faster but consider less words for suggestions.
 boolean getCreatePopUpWindow()
          Whether this component should create a pop-up window for the spell checker.
 java.lang.String getDictFile()
          (Optional) main dictionary (.dict) file on the server.
 boolean getEnableUndo()
          Whether to provide undo functionality.
 java.lang.String getFinishedListener()
          The name of a JavaScript function (without brackets) that should be called when pop up spell checking is finished (optional).
 int getGuiLanguage()
          The Gui Language.
 java.lang.String getId()
          The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.
 boolean getIgnoreCapitalizedWords()
          Whether to ignore words with capital letters.
 boolean getIgnoreWordsWithDigits()
          Whether to ignore words with digits in them.
 boolean getIgnoreXML()
          Whether to ignore XML/HTML tags, false by default.
 boolean getIncludeUserDictionaryInSuggestions()
          Whether the user dictionary should be used in finding suggestions for misspelt words.
 int getLanguageParser()
          The type of language parsing to use.
 boolean getLeaveWindowOpenForUndo()
          Whether to leave the popup window open after the last error has been found, enabling the user to undo the final error.
 boolean getLookIntoHyphenatedText()
          Whether to 'look into' text with hyphens (-), if the word has hyphens in it and LookIntoHyphenatedText is set true (default), the parts of the text around the hyphens will be checked individually.
 boolean getModal()
          Whether the popup will be modal.
 java.lang.String getModalHelperPage()
          The URL of the RapidSpellModalHelper.html page, used when modal=true
 java.lang.String getMode()
          The mode to use RapidSpell Web in, can be "popup" or "separate".
 java.lang.String getPopUpWindowName()
          If this component doesn't create a pop-up window for the spell checker (and is in popup mode) this specifies the name of an existing window to put the spell checker in.
 java.lang.String getRapidSpellWebPage()
          The URL of the page holding the RapidSpellWeb control.
 java.lang.String getRSMultipleID()
          The ID property of the RapidSpellWebMultiple (if used)
 boolean getSeparateHyphenWords()
          Whether to treat hyphenated (-) words as separate words, default is false.
 boolean getShowButton()
          Whether to show the button.
 boolean getShowFinishedMessage()
          Whether to show the popup dialog at the end of the spell check.
 boolean getShowNoErrorsMessage()
          Whether to show the popup dialog if there were no errors in the text.
 boolean getShowXMLTags()
          Whether to show XML/HTML tags in the preview window, false by default.
 boolean getSSLFriendly()
          Whether to run in SSL friendly mode, setting this to true prevents 'leaving secure site' warning messages in IE.
 java.lang.String getSuggestionsMethod()
          Suggestions method to use.
 int getTabIndex()
          The tab order of the control.
 java.lang.String getTextComponentInterface()
          The text box interface to be used.
 java.lang.String getTextComponentName()
          The form and name of the text component to be checked on the form.
 java.lang.String getUserDictionaryFile()
          The user dictionary file on the server for the user.
 boolean getWarnDuplicates()
          Whether to treat duplicate words as errors (eg.
 int getWindowHeight()
          Sets the window height (in pixels), when used in Mode=popup.
 int getWindowWidth()
          Sets the window width (in pixels), when used in Mode=popup.
 int getWindowX()
          Sets the window X position (in pixels), when used in Mode=popup (set to -1 to not specify).
 int getWindowY()
          Sets the window Y position (in pixels), when used in Mode=popup (set to -1 to not specify).
 void setAllowAnyCase(boolean value)
          Whether to allow words spelt with incorrect case, eg.
 void setAllowMixedCase(boolean value)
          Whether to allow words spelt with mixed case, eg.
 void setButtonImageMouseDown(java.lang.String value)
           
 void setButtonImageMouseOut(java.lang.String value)
           
 void setButtonImageMouseOver(java.lang.String value)
           
 void setButtonOnMouseOut(java.lang.String value)
          The onMouseOut of the button.
 void setButtonOnMouseOver(java.lang.String value)
          The onMouseOver of the button.
 void setButtonStyle(java.lang.String value)
          The style of the button.
 void setButtonStyleClass(java.lang.String value)
          The style class of the button.
 void setButtonText(java.lang.String value)
          The text on the button.
 void setCallBack(java.lang.String value)
          The callBack URL or text box name.
 void setCheckCompoundWords(boolean value)
          Whether to check if words are made of compound forms - to be used in languages which use compounds, such as German.
 void setConsiderationRange(int value)
          The size factor for words to consider for suggestions, lower values are faster but consider less words for suggestions.
 void setCreatePopUpWindow(boolean value)
          Whether this component should create a pop-up window for the spell checker.
 void setDictFile(java.lang.String value)
          (Optional) main dictionary (.dict) file on the server.
 void setEnableUndo(boolean value)
          Whether to provide undo functionality.
 void setFinishedListener(java.lang.String value)
          The name of a JavaScript function (without brackets) that should be called when pop up spell checking is finished (optional).
 void setGuiLanguage(int value)
          The Gui Language, value should be one of LanguageType.ENGLISH, LanguageType.FRENCH etc.
 void setId(java.lang.String value)
          The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.
 void setIgnoreCapitalizedWords(boolean value)
          Whether to ignore words with capital letters.
 void setIgnoreWordsWithDigits(boolean value)
          Whether to ignore words with digits in them.
 void setIgnoreXML(boolean value)
          Whether to ignore XML/HTML tags, false by default.
 void setIncludeUserDictionaryInSuggestions(boolean value)
          Whether the user dictionary should be used in finding suggestions for misspelt words.
 void setLanguageParser(int value)
          The type of language parsing to use.
 void setLeaveWindowOpenForUndo(boolean value)
          Whether to leave the popup window open after the last error has been found, enabling the user to undo the final error.
 void setLookIntoHyphenatedText(boolean value)
          Whether to 'look into' text with hyphens (-), if the word has hyphens in it and LookIntoHyphenatedText is set true (default), the parts of the text around the hyphens will be checked individually.
 void setModal(boolean value)
          Whether the popup will be modal.
 void setModalHelperPage(java.lang.String helperPage)
          The URL of the RapidSpellModalHelper.html page, used when modal=true
 void setMode(java.lang.String value)
          The mode to use RapidSpell Web in, can be "popup" or "separate".
 void setPopUpWindowName(java.lang.String value)
          If this component doesn't create a pop-up window for the spell checker (and is in popup mode) this specifies the name of an existing window to put the spell checker in.
 void setRapidSpellWebPage(java.lang.String value)
          The URL of the page holding the RapidSpellWeb control.
 void setRSMultipleID(java.lang.String value)
          The ID property of the RapidSpellWebMultiple (if used)
 void setSeparateHyphenWords(boolean value)
          Whether to treat hyphenated (-) words as separate words, default is false.
 void setShowButton(boolean value)
          Whether to show the button.
 void setShowFinishedMessage(boolean value)
          Whether to show the popup dialog at the end of the spell check.
 void setShowNoErrorsMessage(boolean value)
          Whether to show the popup dialog if there were no errors in the text.
 void setShowXMLTags(boolean value)
          Whether to show XML/HTML tags in the preview window, false by default.
 void setSSLFriendly(boolean value)
          Whether to run in SSL friendly mode, setting this to true prevents 'leaving secure site' warning messages in IE.
 void setSuggestionsMethod(java.lang.String value)
          Suggestions method to use.
 void setTabIndex(int value)
          The tab order of the control.
 void setTextComponentInterface(java.lang.String value)
          The text box interface to be used.
 void setTextComponentName(java.lang.String value)
          The form and name of the text component to be checked on the form.
 void setUserDictionaryFile(java.lang.String value)
          The user dictionary file on the server for the user.
 void setWarnDuplicates(boolean value)
          Whether to treat duplicate words as errors (eg.
 void setWindowHeight(int value)
          Sets the window height (in pixels), when used in Mode=popup.
 void setWindowWidth(int value)
          Sets the window width (in pixels), when used in Mode=popup.
 void setWindowX(int value)
          Sets the window X position (in pixels), when used in Mode=popup (set to -1 to not specify).
 void setWindowY(int value)
          Sets the window Y position (in pixels), when used in Mode=popup (set to -1 to not specify).
 void writeHtml(java.io.Writer output, javax.servlet.http.HttpServletRequest request)
          Write the HTML/Javascript for the control to 'output'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidSpellWebLauncherBean

public RapidSpellWebLauncherBean()
Method Detail

getCheckCompoundWords

public boolean getCheckCompoundWords()
Whether to check if words are made of compound forms - to be used in languages which use compounds, such as German.


setCheckCompoundWords

public void setCheckCompoundWords(boolean value)
Whether to check if words are made of compound forms - to be used in languages which use compounds, such as German.


getId

public java.lang.String getId()
The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.


setId

public void setId(java.lang.String value)
The 'id' of this tag, this should be set to differentiate between tags when more than one is present on a page.


getAllowMixedCase

public boolean getAllowMixedCase()
Whether to allow words spelt with mixed case, eg. "MIxEd", this will not allow incorrect casing however, such as "john", instead of "John".


setAllowMixedCase

public void setAllowMixedCase(boolean value)
Whether to allow words spelt with mixed case, eg. "MIxEd", this will not allow incorrect casing however, such as "john", instead of "John".


getWarnDuplicates

public boolean getWarnDuplicates()
Whether to treat duplicate words as errors (eg. "this is is an error").


setWarnDuplicates

public void setWarnDuplicates(boolean value)
Whether to treat duplicate words as errors (eg. "this is is an error").


getLeaveWindowOpenForUndo

public boolean getLeaveWindowOpenForUndo()
Whether to leave the popup window open after the last error has been found, enabling the user to undo the final error. It is advisable to set showFinishedMessage=false if this is set true.


setLeaveWindowOpenForUndo

public void setLeaveWindowOpenForUndo(boolean value)
Whether to leave the popup window open after the last error has been found, enabling the user to undo the final error. It is advisable to set showFinishedMessage=false if this is set true.


getModalHelperPage

public java.lang.String getModalHelperPage()
The URL of the RapidSpellModalHelper.html page, used when modal=true

Returns:
Returns the _modalHelperPage.

setModalHelperPage

public void setModalHelperPage(java.lang.String helperPage)
The URL of the RapidSpellModalHelper.html page, used when modal=true

Parameters:
helperPage - The _modalHelperPage to set.

getEnableUndo

public boolean getEnableUndo()
Whether to provide undo functionality.


setEnableUndo

public void setEnableUndo(boolean value)
Whether to provide undo functionality.


getAllowAnyCase

public boolean getAllowAnyCase()
Whether to allow words spelt with incorrect case, eg. "africa", instead of "Africa", this is more relaxed than AllowMixedCase.


setAllowAnyCase

public void setAllowAnyCase(boolean value)
Whether to allow words spelt with incorrect case, eg. "africa", instead of "Africa", this is more relaxed than AllowMixedCase.


getRSMultipleID

public java.lang.String getRSMultipleID()
The ID property of the RapidSpellWebMultiple (if used)


setRSMultipleID

public void setRSMultipleID(java.lang.String value)
The ID property of the RapidSpellWebMultiple (if used)


getShowButton

public boolean getShowButton()
Whether to show the button.


setShowButton

public void setShowButton(boolean value)
Whether to show the button.


getButtonImageMouseOut

public java.lang.String getButtonImageMouseOut()

setButtonImageMouseOut

public void setButtonImageMouseOut(java.lang.String value)

getButtonImageMouseOver

public java.lang.String getButtonImageMouseOver()

setButtonImageMouseOver

public void setButtonImageMouseOver(java.lang.String value)

getButtonImageMouseDown

public java.lang.String getButtonImageMouseDown()

setButtonImageMouseDown

public void setButtonImageMouseDown(java.lang.String value)

getTextComponentInterface

public java.lang.String getTextComponentInterface()
The text box interface to be used.

Use 'Automatic' for most textboxes (rich or plain). Use 'Standard' for regular HTML text boxes (input type='text' and textarea). Use 'HTMLTextBox' for rich HTML text boxes. Use 'Custom' to define your own interface.


setTextComponentInterface

public void setTextComponentInterface(java.lang.String value)
The text box interface to be used.

Use 'Automatic' for most textboxes (rich or plain). Use 'Standard' for regular HTML text boxes (input type='text' and textarea). Use 'HTMLTextBox' for rich HTML text boxes. Use 'Custom' to define your own interface.


getLookIntoHyphenatedText

public boolean getLookIntoHyphenatedText()
Whether to 'look into' text with hyphens (-), if the word has hyphens in it and LookIntoHyphenatedText is set true (default), the parts of the text around the hyphens will be checked individually. Eg. "socio-economic" will be checked as "socio" and "economic".


setLookIntoHyphenatedText

public void setLookIntoHyphenatedText(boolean value)
Whether to 'look into' text with hyphens (-), if the word has hyphens in it and LookIntoHyphenatedText is set true (default), the parts of the text around the hyphens will be checked individually. Eg. "socio-economic" will be checked as "socio" and "economic".


getSuggestionsMethod

public java.lang.String getSuggestionsMethod()
Suggestions method to use. Either PHONETIC_SUGGESTIONS or HASHING_SUGGESTIONS


setSuggestionsMethod

public void setSuggestionsMethod(java.lang.String value)
Suggestions method to use. Either PHONETIC_SUGGESTIONS or HASHING_SUGGESTIONS


getSeparateHyphenWords

public boolean getSeparateHyphenWords()
Whether to treat hyphenated (-) words as separate words, default is false.

For eg. if this is true text like "cheap-deals" will be treated as two words "cheap" and "deals", otherwise this will be treated as one word "cheap-deals".


setSeparateHyphenWords

public void setSeparateHyphenWords(boolean value)
Whether to treat hyphenated (-) words as separate words, default is false.

For eg. if this is true text like "cheap-deals" will be treated as two words "cheap" and "deals", otherwise this will be treated as one word "cheap-deals".


getSSLFriendly

public boolean getSSLFriendly()
Whether to run in SSL friendly mode, setting this to true prevents 'leaving secure site' warning messages in IE.

Requires a file called 'blank.html' in the same folder as the RapidSpellWeLauncher page.


setSSLFriendly

public void setSSLFriendly(boolean value)
Whether to run in SSL friendly mode, setting this to true prevents 'leaving secure site' warning messages in IE.

Requires a file called 'blank.html' in the same folder as the RapidSpellWeLauncher page.


getModal

public boolean getModal()
Whether the popup will be modal.

RapidSpellModalHelper.html (from the distribution demo folder) must be copied to the folder containing the page that uses this control.


setModal

public void setModal(boolean value)
Whether the popup will be modal.

RapidSpellModalHelper.html (from the distribution demo folder) must be copied to the folder containing the page that uses this control.


getIncludeUserDictionaryInSuggestions

public boolean getIncludeUserDictionaryInSuggestions()
Whether the user dictionary should be used in finding suggestions for misspelt words.


setIncludeUserDictionaryInSuggestions

public void setIncludeUserDictionaryInSuggestions(boolean value)
Whether the user dictionary should be used in finding suggestions for misspelt words.


getIgnoreCapitalizedWords

public boolean getIgnoreCapitalizedWords()
Whether to ignore words with capital letters.


setIgnoreCapitalizedWords

public void setIgnoreCapitalizedWords(boolean value)
Whether to ignore words with capital letters.


getIgnoreXML

public boolean getIgnoreXML()
Whether to ignore XML/HTML tags, false by default.

This identifies XML tags as anything in between < and > characters, there for it will cause undesirable effects in text such as "the sign for less than is < and the sign for greater than is >". Of course in HTML that should have been written as "the sign for less than is &lt; and the sign for greater than is &gt;" anyway, which would be fine.


setIgnoreXML

public void setIgnoreXML(boolean value)
Whether to ignore XML/HTML tags, false by default.

This identifies XML tags as anything in between < and > characters, there for it will cause undesirable effects in text such as "the sign for less than is < and the sign for greater than is >". Of course in HTML that should have been written as "the sign for less than is &lt; and the sign for greater than is &gt;" anyway, which would be fine.


getConsiderationRange

public int getConsiderationRange()
The size factor for words to consider for suggestions, lower values are faster but consider less words for suggestions. Default is 80. If w <= 1 this method won't do anyting.


setConsiderationRange

public void setConsiderationRange(int value)
The size factor for words to consider for suggestions, lower values are faster but consider less words for suggestions. Default is 80. If w <= 1 this method won't do anyting.


getTabIndex

public int getTabIndex()
The tab order of the control.


setTabIndex

public void setTabIndex(int value)
The tab order of the control.


getIgnoreWordsWithDigits

public boolean getIgnoreWordsWithDigits()
Whether to ignore words with digits in them.


setIgnoreWordsWithDigits

public void setIgnoreWordsWithDigits(boolean value)
Whether to ignore words with digits in them.


setMode

public void setMode(java.lang.String value)
The mode to use RapidSpell Web in, can be "popup" or "separate".

popup - opens a new window with the URL in RapidSpellWebPage property, and sets the spell checker to popup mode.

separate - opens a new page in the same window with the URL in RapidSpellWebPage property, and sets the spell checker to separate mode.


getMode

public java.lang.String getMode()
The mode to use RapidSpell Web in, can be "popup" or "separate".

popup - opens a new window with the URL in RapidSpellWebPage property, and sets the spell checker to popup mode.

separate - opens a new page in the same window with the URL in RapidSpellWebPage property, and sets the spell checker to separate mode.


getUserDictionaryFile

public java.lang.String getUserDictionaryFile()
The user dictionary file on the server for the user.

This should be an absolute path.


setUserDictionaryFile

public void setUserDictionaryFile(java.lang.String value)
The user dictionary file on the server for the user.

This should be an absolute path.


getWindowWidth

public int getWindowWidth()
Sets the window width (in pixels), when used in Mode=popup.


setWindowWidth

public void setWindowWidth(int value)
Sets the window width (in pixels), when used in Mode=popup.


getWindowHeight

public int getWindowHeight()
Sets the window height (in pixels), when used in Mode=popup.


setWindowHeight

public void setWindowHeight(int value)
Sets the window height (in pixels), when used in Mode=popup.


getWindowX

public int getWindowX()
Sets the window X position (in pixels), when used in Mode=popup (set to -1 to not specify).


setWindowX

public void setWindowX(int value)
Sets the window X position (in pixels), when used in Mode=popup (set to -1 to not specify).


getWindowY

public int getWindowY()
Sets the window Y position (in pixels), when used in Mode=popup (set to -1 to not specify).


setWindowY

public void setWindowY(int value)
Sets the window Y position (in pixels), when used in Mode=popup (set to -1 to not specify).


getRapidSpellWebPage

public java.lang.String getRapidSpellWebPage()
The URL of the page holding the RapidSpellWeb control.


setRapidSpellWebPage

public void setRapidSpellWebPage(java.lang.String value)
The URL of the page holding the RapidSpellWeb control.


getButtonText

public java.lang.String getButtonText()
The text on the button.


setButtonText

public void setButtonText(java.lang.String value)
The text on the button.


getButtonStyle

public java.lang.String getButtonStyle()
The style of the button.


setButtonStyle

public void setButtonStyle(java.lang.String value)
The style of the button.


getButtonStyleClass

public java.lang.String getButtonStyleClass()
The style class of the button.


setButtonStyleClass

public void setButtonStyleClass(java.lang.String value)
The style class of the button.


getButtonOnMouseOver

public java.lang.String getButtonOnMouseOver()
The onMouseOver of the button.


setButtonOnMouseOver

public void setButtonOnMouseOver(java.lang.String value)
The onMouseOver of the button.


getButtonOnMouseOut

public java.lang.String getButtonOnMouseOut()
The onMouseOut of the button.


setButtonOnMouseOut

public void setButtonOnMouseOut(java.lang.String value)
The onMouseOut of the button.


getCallBack

public java.lang.String getCallBack()
The callBack URL or text box name.

This property has been deprecated for "popup" mode.

If Mode=="separate" then this should be set to the URL of the page to send the form parameter "CorrectedText" to, this can of course be the original page.


setCallBack

public void setCallBack(java.lang.String value)
The callBack URL or text box name.

This property has been deprecated for "popup" mode.

If Mode=="separate" then this should be set to the URL of the page to send the form parameter "CorrectedText" to, this can of course be the original page.


getTextComponentName

public java.lang.String getTextComponentName()
The form and name of the text component to be checked on the form.

This should be set to the form element name in the main window, using Javascript notation, relative to the document, e.g; myFormName.textAreaName


setTextComponentName

public void setTextComponentName(java.lang.String value)
The form and name of the text component to be checked on the form.

This should be set to the form element name in the main window, using Javascript notation, relative to the document, e.g; myFormName.textAreaName


getFinishedListener

public java.lang.String getFinishedListener()
The name of a JavaScript function (without brackets) that should be called when pop up spell checking is finished (optional).

This is optional, and of use if you require client side (or indirectly server side) notification that the spell check has finished. The function named here will be called when the pop up spell check is finished by the user (or the window was closed), it must not have any arguments.


setFinishedListener

public void setFinishedListener(java.lang.String value)
The name of a JavaScript function (without brackets) that should be called when pop up spell checking is finished (optional).

This is optional, and of use if you require client side (or indirectly server side) notification that the spell check has finished. The function named here will be called when the pop up spell check is finished by the user (or the window was closed), it must not have any arguments.


getDictFile

public java.lang.String getDictFile()
(Optional) main dictionary (.dict) file on the server.


setDictFile

public void setDictFile(java.lang.String value)
(Optional) main dictionary (.dict) file on the server.


getCreatePopUpWindow

public boolean getCreatePopUpWindow()
Whether this component should create a pop-up window for the spell checker. If this is set to false then PopUpWindowName must be specified as the name of an existing window in which to feed the spell checker.


setCreatePopUpWindow

public void setCreatePopUpWindow(boolean value)
Whether this component should create a pop-up window for the spell checker. If this is set to false then PopUpWindowName must be specified as the name of an existing window in which to feed the spell checker.


getPopUpWindowName

public java.lang.String getPopUpWindowName()
If this component doesn't create a pop-up window for the spell checker (and is in popup mode) this specifies the name of an existing window to put the spell checker in.


setPopUpWindowName

public void setPopUpWindowName(java.lang.String value)
If this component doesn't create a pop-up window for the spell checker (and is in popup mode) this specifies the name of an existing window to put the spell checker in.


getShowFinishedMessage

public boolean getShowFinishedMessage()
Whether to show the popup dialog at the end of the spell check.


setShowFinishedMessage

public void setShowFinishedMessage(boolean value)
Whether to show the popup dialog at the end of the spell check.


getShowNoErrorsMessage

public boolean getShowNoErrorsMessage()
Whether to show the popup dialog if there were no errors in the text.


setShowNoErrorsMessage

public void setShowNoErrorsMessage(boolean value)
Whether to show the popup dialog if there were no errors in the text.


getGuiLanguage

public int getGuiLanguage()
The Gui Language.

See Also:
LanguageType

setGuiLanguage

public void setGuiLanguage(int value)
The Gui Language, value should be one of LanguageType.ENGLISH, LanguageType.FRENCH etc.

See Also:
LanguageType

getLanguageParser

public int getLanguageParser()
The type of language parsing to use.

Eg. If the dictionary is set to French, you should use the French parser.

See Also:
LanguageType

setLanguageParser

public void setLanguageParser(int value)
The type of language parsing to use.

Eg. If the dictionary is set to French, you should use the French parser.

See Also:
LanguageType

getShowXMLTags

public boolean getShowXMLTags()
Whether to show XML/HTML tags in the preview window, false by default.

If this is false then any tags present in text will modify preview, this can be important with Iframe editors, causing the preview to look like the original text, however this may cause problems if script tags are present.


setShowXMLTags

public void setShowXMLTags(boolean value)
Whether to show XML/HTML tags in the preview window, false by default.

If this is false then any tags present in text will modify preview, this can be important with Iframe editors, causing the preview to look like the original text, however this may cause problems if script tags are present.


writeHtml

public void writeHtml(java.io.Writer output,
                      javax.servlet.http.HttpServletRequest request)
               throws java.io.IOException
Write the HTML/Javascript for the control to 'output'.

Throws:
java.io.IOException

RapidSpell Web


Copyright © 2002-2013 Keyoti Inc. All Rights Reserved.