|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_core
public class f_core
f_core class
| Method Summary | |
|---|---|
static String |
AddParameter(String url,
String parameterName,
String... parameterValue)
|
static void |
Assert(boolean expr,
String message)
Throws a message if the expression is true. |
static void |
ComputeDialogPosition(Object parameters)
Compute the popup position. |
static void |
Debug(String name,
String message,
Error exception)
|
static void |
Error(String name,
String message,
Error exception)
|
static HTMLElement |
FindComponent(String id,
HTMLDocument doc)
Find a child by its identifier. |
static String |
GetCookieValue(String cookieName,
HTMLDocument doc)
|
static Object |
GetDocumentSize(Object values,
Document doc)
Returns the size of the document. |
static HTMLElement |
GetElementByClientId(String id,
HTMLDocument doc)
Find a child by its identifier. |
static HTMLElement |
GetElementById(String id,
HTMLDocument document)
Deprecated. |
static Object |
GetViewPosition(HTMLDocument doc)
Returns the position of the Window. |
static Object |
GetViewSize(Object values,
HTMLDocument doc)
Returns the size of the View. |
static void |
Info(String name,
String message,
Error exception)
|
static boolean |
IsAppendMode(Event evt)
|
static boolean |
IsAppendRangeMode(Event evt)
|
static boolean |
IsDebugEnabled(String name)
Is debug logging currently enabled ? |
static boolean |
IsErrorEnabled(String name)
Is error logging currently enabled ? |
static boolean |
IsInfoEnabled(String name)
Is info logging currently enabled ? |
static boolean |
IsTraceEnabled(String name)
Is trace logging currently enabled ? |
static boolean |
IsWarnEnabled(String name)
Is warning logging currently enabled ? |
static Map |
ListParameters(String url)
|
static Window |
OpenWindow(Window win,
Object parameters,
boolean modal)
|
static void |
ProfileExit(Window win)
|
static void |
ReportError(String tokenId)
|
static boolean |
SetCookieValue(String cookieName,
String cookieValue,
HTMLDocument doc)
|
static boolean |
SetFocus(HTMLElement component,
boolean asyncMode)
|
static void |
ShowComponent(HTMLElement component)
|
static void |
ShowVersion()
|
static boolean |
Submit(String url,
String dest,
HTMLElement elt,
f_event event,
Object createWindowParameters,
any closeWindow,
any modal)
|
static boolean |
SubmitCloseWindow(f_event event)
Submit the page, and close the window. |
static boolean |
SubmitEvent(f_event event)
|
static boolean |
SubmitModalDialog(String dest,
Object createWindowParameters,
f_event event)
Submit the page, and open a new window to show the response. |
static boolean |
SubmitOpenWindow(String dest,
Object createWindowParameters,
boolean modal,
f_event event)
Submit the page, and open a new window to show the response. |
static void |
Trace(String name,
String message,
Error exception)
|
static boolean |
ValidateForm(HTMLElement component)
|
static void |
Warn(String name,
String message,
Error exception)
|
static String |
f_getName()
|
static String |
toString()
Returns a string representing the specified object. |
| Methods inherited from class Object |
|---|
toString |
| Method Detail |
|---|
public static boolean SetCookieValue(String cookieName,
String cookieValue,
HTMLDocument doc)
cookieName - cookieValue - Value to associate with cookie, or null to delete cookie !doc - Html document
true if success.public static Object GetViewPosition(HTMLDocument doc)
doc -
public static String AddParameter(String url,
String parameterName,
String... parameterValue)
url - parameterName - parameterValue -
public static boolean SubmitOpenWindow(String dest,
Object createWindowParameters,
boolean modal,
f_event event)
dest - Window name.createWindowParameters - modal - Modal stateevent - Event if any.
true if success.
public static Window OpenWindow(Window win,
Object parameters,
boolean modal)
win - A specific Window or nullparameters - modal - Modal Statepublic static void ReportError(String tokenId)
tokenId - public static boolean IsAppendMode(Event evt)
evt - public static boolean ValidateForm(HTMLElement component)
component -
public static HTMLElement FindComponent(String id,
HTMLDocument doc)
id - The identifier of the component. (naming separator is ':')doc - The document.
public static Object GetDocumentSize(Object values,
Document doc)
values - doc -
public static void ShowComponent(HTMLElement component)
component - public static void ComputeDialogPosition(Object parameters)
parameters - Fill fields "x" and "y" into the "parameters" object.
public static void Trace(String name,
String message,
Error exception)
name - Log name.message - The message.exception - An exception if any.public static boolean IsWarnEnabled(String name)
Is warning logging currently enabled ?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than info.
name - Log name.
true if info logging is enabled.
public static void Debug(String name,
String message,
Error exception)
name - Log name.message - The message.exception - An exception if any.public static void ShowVersion()
public static boolean SubmitCloseWindow(f_event event)
event -
true if success.
public static void Warn(String name,
String message,
Error exception)
name - Log name.message - The message.exception - An exception if any.
public static HTMLElement GetElementByClientId(String id,
HTMLDocument doc)
id - The identifier of the component. (naming separator might not be is ':')doc - Document.public static boolean IsAppendRangeMode(Event evt)
evt -
public static void Assert(boolean expr,
String message)
expr - Expression.message - The message.
public static boolean SubmitModalDialog(String dest,
Object createWindowParameters,
f_event event)
dest - Window name.createWindowParameters - event - Event if any.
true if success.
public static Object GetViewSize(Object values,
HTMLDocument doc)
values - Object which will contain the result or null.doc -
public static String f_getName()
public static HTMLElement GetElementById(String id,
HTMLDocument document)
id - The identifier of the component. (naming separator might not be is ':')document -
public static boolean SetFocus(HTMLElement component,
boolean asyncMode)
component - asyncMode -
true is success !
public static String GetCookieValue(String cookieName,
HTMLDocument doc)
cookieName - doc - Html document.
null.public static String toString()
Object
toString in class Object
public static boolean Submit(String url,
String dest,
HTMLElement elt,
f_event event,
Object createWindowParameters,
any closeWindow,
any modal)
url - or f_event objectdest - Window name.elt - event - createWindowParameters -
public static boolean SubmitEvent(f_event event)
event -
true if success.public static boolean IsErrorEnabled(String name)
Is error logging currently enabled ?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than error.
name - Log name.
true if error logging is enabled.public static boolean IsDebugEnabled(String name)
Is debug logging currently enabled ?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than debug.
name - Log name.
true if debug logging is enabled.public static Map ListParameters(String url)
url -
public static void Error(String name,
String message,
Error exception)
name - Log name.message - The message.exception - An exception if any.public static boolean IsTraceEnabled(String name)
Is trace logging currently enabled ?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than trace.
name - Log name.
true if debug logging is enabled.
public static void Info(String name,
String message,
Error exception)
name - Log name.message - The message.exception - An exception if any.public static void ProfileExit(Window win)
win - public static boolean IsInfoEnabled(String name)
Is info logging currently enabled ?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than info.
name - Log name.
true if info logging is enabled.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||