Global functions
Global Function Summary
Method Attributes |
Method Name and Description |
|
Displays a dialog box that lists the methods of an object.
|
|
Displays a dialog box that lists the properties of an object.
|
|
Creates the HTML for the debug evaluator.
|
|
Returns the form object with the specified name.
|
|
Returns the image with the specified id.
|
|
This is a AOP utility function,
call this function will add "before", "after" and "override" methods for orgObj .
|
|
IlvCursorChangeInteractor is an interactor that indicates whether or not
the hovered the object can be clicked or selected
It is a subclass of IlvInteractor so it can be set on a
IlvView in the same way as any other interactor.
|
|
Returns a string that lists the methods of an object.
|
|
Returns a string that lists the properties of an object.
|
|
replaceImage(targetImageID, sourceImage, disposeOldImage, width, height)
Replaces an image in the DOM with a new image.
|
|
Replaces an image in the DOM with a new image.
|
|
trace(flag, label, value1, value2, value3)
Outputs a label and a list of 1-3 values to the debug evaluator's results
window.
|
Global Function Detail
displayMethods
displayMethods(obj)
Displays a dialog box that lists the methods of an object.
- Parameters:
-
obj
- The object whose methods are to be listed.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in the future.
displayProperties
displayProperties(obj)
Displays a dialog box that lists the properties of an object.
- Parameters:
-
obj
- The object whose properties are to be listed.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in the future.
evaluatorToHTML
evaluatorToHTML(lineNum, resultLines)
Creates the HTML for the debug evaluator. This implementation is provided
as a stub and does nothing. Include the IlvEvaluator.js script in your
page to obtain the full implementation of this function.
- Parameters:
-
lineNum
- The starting line number that the debug evaluator will be
displayed on. The default value is 1.
-
resultLines
- The number of lines in the results window. The default
value is 10.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in the future.
JViews versions.
getForm
getForm(formName)
Returns the form object with the specified name.
- Parameters:
-
formName
- The name of the form in the DOM.
- Deprecated:
-
Beginning with JViews 8.1 use document.getElementById instead
getImage
getImage(imageID)
Returns the image with the specified id. For cross-browser portability,
the image tag should specify both a name and an id attribute.
- Parameters:
-
imageID
- The id of the image in the DOM.
- Deprecated:
-
Beginning with JViews 8.1 use document.getElementById instead
IlvAOP
IlvAOP(orgObj)
This is a AOP utility function,
call this function will add "before", "after" and "override" methods for orgObj
.
Then the orgObj
can use these methods to intercept the old method of the orgObj
.
- Parameters:
-
orgObj
- Since:
- JViews 8.8
IlvCursorChangeInteractor
IlvCursorChangeInteractor()
IlvCursorChangeInteractor
is an interactor that indicates whether or not
the hovered the object can be clicked or selected
It is a subclass of IlvInteractor
so it can be set on a
IlvView
in the same way as any other interactor.
- Since:
- JViews 8.8
listMethods
listMethods(obj)
Returns a string that lists the methods of an object.
- Parameters:
-
obj
- The object whose methods are to be listed.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in the future.
listProperties
listProperties(obj)
Returns a string that lists the properties of an object.
- Parameters:
-
obj
- The object whose properties are to be listed.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in the future.
replaceImage
replaceImage(targetImageID, sourceImage, disposeOldImage, width, height)
Replaces an image in the DOM with a new image.
- Parameters:
-
targetImageID
- The id of the image in the DOM to be replaced.
-
sourceImage
- The new
Image
object.
-
disposeOldImage
- Indicates that the old image object is no longer
needed and can be disposed.
-
width
- The width of the new image. If not specified the
width of the old image is used.
-
height
- The height of the new image. If not specified the
height of the old image is used.
- Deprecated:
-
Beginning with JViews 8.1 use DOM methods instead.
replaceImageWithDimensions
replaceImageWithDimensions(targetImageID, sourceImage, disposeOldImage, width, height)
Replaces an image in the DOM with a new image.
- Parameters:
-
targetImageID
- The id of the image in the DOM to be replaced.
-
sourceImage
- The new
Image
object.
-
disposeOldImage
- Indicates that the old image object is no longer
needed and can be disposed.
-
width
- The width of the new image. If not specified the
width of the old image is used.
-
height
- The height of the new image. If not specified the
height of the old image is used.
- Deprecated:
-
Beginning with JViews 8.1 use replaceImage instead.
trace
trace(flag, label, value1, value2, value3)
Outputs a label and a list of 1-3 values to the debug evaluator's results
window. This implementation is provided as a stub and does nothing. Include
the IlvEvaluator.js
script in your page to obtain the full
implementation of this function.
- Parameters:
-
flag
- A Boolean flag that indicates if the trace statement should be
displayed.
-
label
- The label displayed in the trace statement.
-
value1
- The first value displayed in the trace statement.
-
value2
- The second (optional) value displayed in the trace statement.
-
value3
- The third (optional) value displayed in the trace statement.
- Deprecated:
-
Beginning with JViews 8.1 you should use JavaScript debuggers
to debug your applications as this support will be removed in future
JViews versions.
©Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.