Class SC
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidask(String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "Yes" and "No" buttons.static voidask(String title, String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "Yes" and "No" buttons.static voidask(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "Yes" and "No" buttons.static voidaskforValue(String message, ValueCallback callback) Show a modal dialog with a text entry box, asking the user to enter a value.static voidaskforValue(String title, String message, ValueCallback callback) Show a modal dialog with a text entry box, asking the user to enter a value.static voidaskforValue(String title, String message, String defaultValue, ValueCallback callback, Dialog dialogProperties) Show a modal dialog with a text entry box, asking the user to enter a value.static voidclearLogPriority(String category) Clear the priority for a log category.static voidClear the modal prompt being shown to the user.static voidconfirm(String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "OK" and "Cancel" buttons.static voidconfirm(String title, String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "OK" and "Cancel" buttons.static voidconfirm(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "OK" and "Cancel" buttons.static voiddebugger()Launch the browser's JavaScript debugger.static voidDisable firebug.static voidIf a dialog triggered viasay(String),ask(String, BooleanCallback),warn(String),confirm(String, BooleanCallback)oraskforValue(String, ValueCallback)is currently visible, it will be dismissed.static Stringecho(JavaScriptObject object) Returns the passed in JavaScript object as a stringstatic StringechoAll(JavaScriptObject object) Returns the passed in JavaScript object as a string (including serializing members one level deep for javascript arrays and nested objects)static StringReturn a very short (generally less than 40 characters) string representation of any object, suitable for viewing by a developer for debugging purposes.static StringInternal method - do not call from Application code.static StringgenerateID(String className) Internal method - do not call from Application code.static StringgetAUTOIDClass(String className) Internal method - do not call from Application code.static StringgetHome()Get the root directory for Isomorphic-supplied SmartClient files - the directory containing the modules/ and system/ subdirectories extracted when the SmartGWT project is built.static StringReturns the current stack trace, from a JavaScript perspective.static StringInternal method - do not call from Application code.static StringgetSCClassName(JavaScriptObject jsObj) Gets the name of this underlying SmartClient class as a string.static StringInternal method - do not call from Application code.static StringInternal method - do not call from Application code.static StringInternal method - do not call from Application code.static StringInternal method - do not call from Application code.static StringInternal method - do not call from Application code.static StringInternal method - do not call from Application code.static booleanhasAI()Returns true if the optional AI module has been loaded.static booleanReturns true if the optional Analytics module has been loaded.static booleanReturns true if the optional Charts module has been loaded.static booleanReturns true if the optional Dashboard & Tools module is available.static booleanReturns true if the optional Drawing module has been loaded.static booleanReturnstrueif Firebug is enabled.static booleanReturns true if the optional PluginBridges module has been loaded.static booleanReturns true if the optional RealtimeMessaging module has been loaded.static booleanhasTour()Returns true if the optional Tour module has been loaded.static booleanReturns true if the optional Workflow module has been loaded.static booleanisIE()Internal method - do not call from Application code.static booleanisMethodSupported(String className, String methodName) Returns true if the method is supported by the class, meaning that it is not null and was not replaced bymarkUnsupportedMethods(String, String, String[]).static booleanisStable()Internal method - do not call from Application code.static booleanInternal method - do not call from Application code.static voidLog a debugging.static voidLog a debuggingstatic voidlogEcho(JavaScriptObject value) Logs the echoed object as a warning, prefixed with an optional message.static voidlogEcho(JavaScriptObject value, String message) Logs the echoed object as a warning, prefixed with an optional message.static voidLogs the echoed object as a warning, prefixed with an optional message.static voidLogs the echoed object as a warning, prefixed with an optional message.static voidlogEchoAll(JavaScriptObject value) Logs the echoed object as a warning, prefixed with an optional message.static voidlogEchoAll(JavaScriptObject value, String message) Logs the echoed object as a warning, prefixed with an optional message.static voidlogEchoAll(Canvas canvas) Logs the echoed object as a warning, prefixed with an optional message.static voidlogEchoAll(Canvas canvas, String message) Logs the echoed object as a warning, prefixed with an optional message.static voidLog an informative message.static voidLog an informative message.static booleanlogIsDebugEnabled(String category) Check whether a message logged at "debug" priority would be visible in the log.static booleanlogIsInfoEnabled(String category) Check whether a message logged at "info" priority would be visible in the log.static voidLog a warning.static voidLog a warning.static voidmarkUnsupportedMethods(String className, String messageTemplate, String[] methodNames) Replaces each of the methods named in methodNames with a new implementation that simply logs a warning the first time the method is called, and nothing else.static MessageIDstatic MessageIDnotify(String contents, NotifyAction... actions) static MessageIDnotify(String contents, NotifyAction[] actions, String notifyType) Displays a new message that's automatically dismissed after a configurable amount of time, as an alternative to {@link #confirm,modal notification} dialogs that can lower end user productivity.static voidOpens the DataSource admin console in a separate window.static voidOpens the DataSource Generator Wizard in a separate window.static voidDeprecated.The Visual Builder tool has been superceded by Reifystatic voidInternal method - do not call from Application code.static voidShow a modal dialog with a message, icon, and "OK" button.static voidsay(String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "OK" button.static voidShow a modal dialog with a message, icon, and "OK" button.static voidsay(String title, String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "OK" button.static voidsetEnableJSDebugger(boolean useDebugger) Setting this to true will result in the IE / Firebug / Safari debugger being invoked when a JavaScript error is encountered.static voidsetLogPriority(String category, LogPriority priority) Set the priority for a log category.static voidsetScreenReaderMode(boolean newState) Enables full screen reader mode.static voidOpen the SmartClient Developer Console.static voidshowPrompt(String message) Show a modal prompt to the user.static voidshowPrompt(String title, String message) Show a modal prompt to the user.static voidshowPrompt(String title, String message, Dialog dialogProperties) Show a modal prompt to the user.static voidtraceLogMessage(String messagePattern) Causes a stack trace to be logged any time a message containing the provided pattern is logged.static voidtraceLogMessage(String messagePattern, String prefix) Causes a stack trace to be logged any time a message containing the provided pattern is logged.static voidShow a modal dialog with a message, icon, and "OK" button.static voidwarn(String message, BooleanCallback callback) Show a modal dialog with a message, icon, and "OK" button.static voidShow a modal dialog with a message, icon, and "OK" button.static voidwarn(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "OK" button.
- 
Field Details- 
REF- See Also:
 
- 
MODULE- See Also:
 
- 
AUTOID- See Also:
 
- 
AUTOIDCLASS- See Also:
 
 
- 
- 
Constructor Details- 
SCpublic SC()
 
- 
- 
Method Details- 
getLicenseTypeInternal method - do not call from Application code.
- 
getAUTOIDClassInternal method - do not call from Application code.
- 
generateIDInternal method - do not call from Application code.
- 
generateIDInternal method - do not call from Application code.
- 
releaseIDInternal method - do not call from Application code.
- 
keepGlobalspublic static boolean keepGlobals()Internal method - do not call from Application code.
- 
getHomeGet the root directory for Isomorphic-supplied SmartClient files - the directory containing the modules/ and system/ subdirectories extracted when the SmartGWT project is built. This property is commonly specified directly in the bootstrap HTML file by settingwindow.isomorphicDirbefore loading the SmartClient library files.- Returns:
- isomorphicDir- URL
 
- 
debuggerpublic static void debugger()Launch the browser's JavaScript debugger. SeeDebuggingfor how to approach debugging a SmartGWT Application.
- 
showConsolepublic static void showConsole()Open the SmartClient Developer Console. SeeDebuggingfor how to approach debugging a SmartGWT Application.
- 
openDataSourceConsolepublic static void openDataSourceConsole()Opens the DataSource admin console in a separate window.Requires Smart GWT Pro or better. 
- 
openVisualBuilderpublic static void openVisualBuilder()Deprecated.The Visual Builder tool has been superceded by ReifyOpens the SmartClient Visual Builder in a separate window. Note that the Visual Builder is capable of generating DataSources as well, however unlike the DataSource Generator Wizard, it cannot generate DataSources in batches.Requires Smart GWT Pro or better. 
- 
openDataSourceGeneratorpublic static void openDataSourceGenerator()Opens the DataSource Generator Wizard in a separate window.Requires Smart GWT Enterprise or Eval. 
- 
getSCClassNameGets the name of this underlying SmartClient class as a string.- Parameters:
- jsObj- the smartclient object
- Returns:
- the class name or null if not a smartclient class
 
- 
hasFirebugpublic static boolean hasFirebug()Returnstrueif Firebug is enabled.- Returns:
- trueif Firebug is enabled;- falseotherwise.
 
- 
isIEpublic static boolean isIE()Internal method - do not call from Application code.
- 
disableFirebugpublic static void disableFirebug()Disable firebug.
- 
sayShow a modal dialog with a message, icon, and "OK" button. Intended for notifications which are not really warnings (default icon is less severe). SeesayIcon.- Parameters:
- message- the message
 
- 
setLogPrioritySet the priority for a log category.- Parameters:
- category- the name of the category to set the priority for
- priority- the LogPriority to set for the passed category
 
- 
clearLogPriorityClear the priority for a log category.- Parameters:
- category- the name of the category to clear the log priority of
 
- 
sayShow a modal dialog with a message, icon, and "OK" button. Intended for notifications which are not really warnings (default icon is less severe). SeesayIcon.- Parameters:
- title- the title of the message box
- message- the message
 
- 
sayShow a modal dialog with a message, icon, and "OK" button. Intended for notifications which are not really warnings (default icon is less severe). SeesayIcon.The callback will receive boolean true for an OK button click, or null if the Dialog is dismissed via the close button. - Parameters:
- message- the message
- callback- the callback to fire when the user dismisses the dialog.
 
- 
sayShow a modal dialog with a message, icon, and "OK" button. Intended for notifications which are not really warnings (default icon is less severe). SeesayIcon.The callback will receive boolean true for an OK button click, or null if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the message box
- message- the message
- callback- the callback to fire when the user dismisses the dialog.
 
- 
askShow a modal dialog with a message, icon, and "Yes" and "No" buttons. SeeaskIcon.The callback will receive boolean true for a Yes button click, boolean false for a No button click, or null if the Dialog is dismissed via the close button. - Parameters:
- message- the message
- callback- the callback to fire when the user dismisses the dialog.
 
- 
askShow a modal dialog with a message, icon, and "Yes" and "No" buttons. SeeaskIcon.The callback will receive boolean true for a Yes button click, boolean false for a No button click, or null if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the message box
- message- the message
- callback- the callback to fire when the user dismisses the dialog.
 
- 
askpublic static void ask(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "Yes" and "No" buttons. SeeaskIcon.The callback will receive boolean true for a Yes button click, boolean false for a No button click, or null if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the message box
- message- the message
- callback- the callback to fire when the user dismisses the dialog.
 
- 
askforValueShow a modal dialog with a text entry box, asking the user to enter a value.As with other convenience methods that show Dialogs, such as #warn(String, String, BooleanCallback), the dialog is shown and the function immediately returns. When the user responds, the provided callback is called.If the user clicks OK, the value typed in is passed to the callback (including the empty string ("") if nothing was entered. If the user clicks cancel, the value passed to the callback is null. A default value for the text field can be passed via properties.defaultValueKeyboard focus is automatically placed in the text entry field, and hitting the enter key is the equivalent of pressing OK. - Parameters:
- message- message to display
- callback- Callback to fire when the user clicks a button to dismiss the dialog. This has the single parameter 'value', indicating the user entry, or null if cancel was pressed or the window closed
 
- 
askforValueShow a modal dialog with a text entry box, asking the user to enter a value.As with other convenience methods that show Dialogs, such as #warn(String, String, BooleanCallback), the dialog is shown and the function immediately returns. When the user responds, the provided callback is called.If the user clicks OK, the value typed in is passed to the callback (including the empty string ("") if nothing was entered. If the user clicks cancel, the value passed to the callback is null. Keyboard focus is automatically placed in the text entry field, and hitting the enter key is the equivalent of pressing OK. - Parameters:
- title- the title of the dialog
- message- message to display
- callback- Callback to fire when the user clicks a button to dismiss the dialog. This has the single parameter 'value', indicating the user entry, or null if cancel was pressed or the window closed
 
- 
askforValuepublic static void askforValue(String title, String message, String defaultValue, ValueCallback callback, Dialog dialogProperties) Show a modal dialog with a text entry box, asking the user to enter a value.As with other convenience methods that show Dialogs, such as #warn(String, String, BooleanCallback), the dialog is shown and the function immediately returns. When the user responds, the provided callback is called.If the user clicks OK, the value typed in is passed to the callback (including the empty string ("") if nothing was entered. If the user clicks cancel, the value passed to the callback is null. Keyboard focus is automatically placed in the text entry field, and hitting the enter key is the equivalent of pressing OK. - Parameters:
- title- the title of the dialog
- message- message to display
- defaultValue- the default value of the text field
- callback- Callback to fire when the user clicks a button to dismiss the dialog. This has the single parameter 'value', indicating the user entry, or null if cancel was pressed or the window closed
- dialogProperties- additional properties of the Dialog
 
- 
dismissCurrentDialogpublic static void dismissCurrentDialog()If a dialog triggered viasay(String),ask(String, BooleanCallback),warn(String),confirm(String, BooleanCallback)oraskforValue(String, ValueCallback)is currently visible, it will be dismissed. The callback passed to the relevant method will never fire.Note this is a rarely used API with very few valid use cases. As an example, perhaps some kind of periodic (non-user triggered) event would cause an entire area of the UI to be removed (such as a tab) and the system wants to ensure that no modal dialogs are currently showing from that part of the UI. In this case, while dismissCurrentDialogcould be used to ensure the part of the UI being removed didn't leave behind a modal dialog.To clear a modal prompt shown by showPrompt(String), useclearPrompt()instead.
- 
showPromptShow a modal prompt to the user. This method will display the message using the Dialog.Prompt singleton object.Note: if this prompt is to be shown to the user during some slow logic, we advise calling this method, then using DeferredCommandto kick off the slow logic in a separate thread. This ensures that the prompt is showing before the lengthy execution begins.- Parameters:
- message- message to display
- See Also:
 
- 
showPromptShow a modal prompt to the user. This method will display the message using the Dialog.Prompt singleton object.Note: if this prompt is to be shown to the user during some slow logic, we advise calling this method, then using DeferredCommandto kick off the slow logic in a separate thread. This ensures that the prompt is showing before the lengthy execution begins.- Parameters:
- title- the title of the dialog
- message- message to display
- dialogProperties- additional properties for the Dialog
- See Also:
 
- 
showPromptShow a modal prompt to the user. This method will display the message using the Dialog.Prompt singleton object.Note: if this prompt is to be shown to the user during some slow logic, we advise calling this method, then using DeferredCommandto kick off the slow logic in a separate thread. This ensures that the prompt is showing before the lengthy execution begins.- Parameters:
- title- the title of the dialog
- message- message to display
- See Also:
 
- 
clearPromptpublic static void clearPrompt()Clear the modal prompt being shown to the user.
- 
confirmShow a modal dialog with a message, icon, and "OK" and "Cancel" buttons. SeeconfirmIcon.The callback will receive boolean true for an OK button click, or null for a Cancel click or if the Dialog is dismissed via the close button. - Parameters:
- message- message to display
- callback- Callback to fire when the user clicks a button to dismiss the dialog.
 
- 
confirmShow a modal dialog with a message, icon, and "OK" and "Cancel" buttons. SeeconfirmIcon.The callback will receive boolean true for an OK button click, or null for a Cancel click or if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the dialog
- message- message to display
- callback- Callback to fire when the user clicks a button to dismiss the dialog.
 
- 
confirmpublic static void confirm(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "OK" and "Cancel" buttons. SeeconfirmIcon.The callback will receive boolean true for an OK button click, or null for a Cancel click or if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the dialog
- message- message to display
- callback- Callback to fire when the user clicks a button to dismiss the dialog.
- dialogProperties- additional properties for the Dialog
 
- 
warnShow a modal dialog with a message, icon, and "OK" button. SeewarnIcon.- Parameters:
- message- the message
 
- 
warnShow a modal dialog with a message, icon, and "OK" button. SeewarnIcon.- Parameters:
- title- the title of the dialog
- message- the message
 
- 
warnShow a modal dialog with a message, icon, and "OK" button. SeewarnIcon.The callback will receive boolean true for an OK button click, or null if the Dialog is dismissed via the close button. - Parameters:
- message- the message
- callback- Optional Callback to fire when the user dismisses the dialog.
 
- 
warnpublic static void warn(String title, String message, BooleanCallback callback, Dialog dialogProperties) Show a modal dialog with a message, icon, and "OK" button. SeewarnIcon.The callback will receive boolean true for an OK button click, or null if the Dialog is dismissed via the close button. - Parameters:
- title- the title of the dialog
- message- the message
- callback- Optional Callback to fire when the user dismisses the dialog.
- dialogProperties- additional properties for the Dialog
 
- 
logWarnLog a warning.- Parameters:
- message- the message to log
 
- 
logWarnLog a warning.- Parameters:
- message- the message to log
- category- category to log in, defaults to "Log"
 
- 
logInfoLog an informative message.- Parameters:
- message- the message to log
 
- 
logInfoLog an informative message.- Parameters:
- message- the message to log
- category- category to log in, defaults to "Log"
 
- 
logDebugLog a debugging.- Parameters:
- message- the message to log
 
- 
logDebugLog a debugging- Parameters:
- message- the message to log
- category- category to log in, defaults to "Log"
 
- 
logEchoLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- value- object to echo
 
- 
logEchoLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- value- object to echo
- message- the message to log
 
- 
logEchoLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- canvas- canvas to echo
 
- 
logEchoLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- canvas- canvas to echo
- message- the message to log
 
- 
logEchoAllLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- value- object to echo
 
- 
logEchoAllLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- value- object to echo
- message- the message to log
 
- 
logEchoAllLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- canvas- canvas to echo
 
- 
logIsInfoEnabledCheck whether a message logged at "info" priority would be visible in the log. Use this method to avoid putting together expensive log messages if they will never appear in the log.- Parameters:
- category- category to check; defaults to "Log"
 
- 
echoLeafReturn a very short (generally less than 40 characters) string representation of any object, suitable for viewing by a developer for debugging purposes.- Parameters:
- value- object to echo
- Returns:
- a short string representation of the object.
 
- 
logIsDebugEnabledCheck whether a message logged at "debug" priority would be visible in the log. Use this method to avoid putting together expensive log messages if they will never appear in the log.- Parameters:
- category- category to check; defaults to "Log"
 
- 
notify- See Also:
 
- 
notify- See Also:
 
- 
notifyDisplays a new message that's automatically dismissed after a configurable amount of time, as an alternative to {@link #confirm,modal notification} dialogs that can lower end user productivity.This method is simply a shorthand way to call Notify.addMessage(). For further study, see theNotifyclass overview, and the class methodsNotify.dismissMessage().Notify.configureMessages().- Parameters:
- contents- message to be displayed. See- HTMLString
- actions- actions (if any) for this message
- notifyType- category of message; default "message". See- NotifyType
- Returns:
- opaque identifier for message
 
- 
getJSStackTraceReturns the current stack trace, from a JavaScript perspective. This should provide meaningful JS stack frames for Java code in Super Development Mode, and in Production Mode, if GWT compilation has been configured with options such as "‑optimize 0" and/or "‑style PRETTY" to disable obfuscation. Frames corresponding to the native SmartClient Framework will be obfuscated unless the GWT project isconfigured for debugging.In Classic DevMode, this API will provide very limited information - stack frames corresponding to Java code will likely be displayed as anonymous functions, and many or most such frames will be missing. For DevMode, it's preferable to use GWT-supported Java APIs to capture the stack, such as for example: Throwable t = new Throwable(); String stack = ""; for (StackTraceElement element : t.getStackTrace()) { stack += element + "\n"; } SC.logDebug("Current location: " + stack);Grabbing JavaStackTraceElements in Super Development Mode or Production Mode will work, but won't provide any added benefit as in DevMode. - See Also:
 
- 
setEnableJSDebuggerpublic static void setEnableJSDebugger(boolean useDebugger) Setting this to true will result in the IE / Firebug / Safari debugger being invoked when a JavaScript error is encountered. This is done by the execution of the commend "debugger;" when the error occurs. Setting this to true is useful for debugging any javascript errors.- Parameters:
- useDebugger- default is false
 
- 
logEchoAllLogs the echoed object as a warning, prefixed with an optional message.- Parameters:
- canvas- canvas to echo
- message- the message to log
 
- 
echoReturns the passed in JavaScript object as a string- Parameters:
- object-
- Returns:
 
- 
echoAllReturns the passed in JavaScript object as a string (including serializing members one level deep for javascript arrays and nested objects)- Parameters:
- object-
- Returns:
 
- 
hasAnalyticspublic static boolean hasAnalytics()Returns true if the optional Analytics module has been loaded.- Returns:
- true if Analytics module is loaded
 
- 
hasAIpublic static boolean hasAI()Returns true if the optional AI module has been loaded.- Returns:
- true if AI module is loaded
 
- 
hasChartspublic static boolean hasCharts()Returns true if the optional Charts module has been loaded.- Returns:
- true if Charts module is loaded
 
- 
hasTourpublic static boolean hasTour()Returns true if the optional Tour module has been loaded.- Returns:
- true if Tour module is loaded
 
- 
hasWorkflowpublic static boolean hasWorkflow()Returns true if the optional Workflow module has been loaded.- Returns:
- true if Drawing module is loaded
 
- 
hasDrawingpublic static boolean hasDrawing()Returns true if the optional Drawing module has been loaded.- Returns:
- true if Drawing module is loaded
 
- 
hasPluginBridgespublic static boolean hasPluginBridges()Returns true if the optional PluginBridges module has been loaded.- Returns:
- true if PluginBridges module is loaded
 
- 
hasRealtimeMessagingpublic static boolean hasRealtimeMessaging()Returns true if the optional RealtimeMessaging module has been loaded.- Returns:
- true if RealtimeMessaging module is loaded
 
- 
hasDashboardAndToolspublic static boolean hasDashboardAndTools()Returns true if the optional Dashboard & Tools module is available.- Returns:
- true if Dashboard & Tools module is available.
 
- 
setScreenReaderModepublic static void setScreenReaderMode(boolean newState) Enables full screen reader mode. Must be called before any components are created. SeeAccessibility.- Parameters:
- new- state for screen reader mode (true for enabled, false for disabled)
 
- 
isMethodSupportedReturns true if the method is supported by the class, meaning that it is not null and was not replaced bymarkUnsupportedMethods(String, String, String[]).- Parameters:
- className- className to check
- methodName- methodName to check
- Returns:
- boolean true if the method is not null and is not an unsupported method; false otherwise.
 
- 
markUnsupportedMethodspublic static void markUnsupportedMethods(String className, String messageTemplate, String[] methodNames) Replaces each of the methods named in methodNames with a new implementation that simply logs a warning the first time the method is called, and nothing else. This can be used to mark methods of derived classes which do not support certain parent class methods as unsupported.The messageTemplate parameter is a template for the warning message logged when the unsupported method is first called. The following variables in the template are substituted as follows: Variable Substitution $classThe +link{getClassName(),class name}. $methodThe name of the method. If you want the literal string of a substitution variable to appear in the warning message, you can escape it by prefixing with a dollar sign. For example, to include "$class" in the warning message, use "$$class" in the template. - Parameters:
- className- className containing methods to mark
- messageTemplate- template for the warning message logged when first called. If null, the default template string "$class does not support the $method() method." is used.
- methodNames- the method names to mark as unsupported.
 
- 
traceLogMessageCauses a stack trace to be logged any time a message containing the provided pattern is logged. This can help figure out the origin of warnings or other mysterious logs in a large complex application.The passed messagePatternis interpreted as a JavaScript regular expression.- Parameters:
- messagePattern-
 
- 
traceLogMessageCauses a stack trace to be logged any time a message containing the provided pattern is logged. This can help figure out the origin of warnings or other mysterious logs in a large complex application.The passed messagePatternis interpreted as a JavaScript regular expression.- Parameters:
- messagePattern-
- prefix- value to prefix the message
 
- 
getScVersionInternal method - do not call from Application code.
- 
getScVersionNumberInternal method - do not call from Application code.
- 
getSgwtVersionInternal method - do not call from Application code.
- 
getSgwtVersionNumberInternal method - do not call from Application code.
- 
getScParityStableVersionNumberInternal method - do not call from Application code.
- 
getSgwtParityStableVersionNumberInternal method - do not call from Application code.
- 
isStablepublic static boolean isStable()Internal method - do not call from Application code.
 
-