|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--GLOBALS
Method Summary | |
<static> int
|
__Hash.size()
Returns the number of elements in this hash. |
<static> function
|
_getTimes(name)
|
<static> function
|
_giveObject(description)
|
<static> function
|
appendChild(child, layout)
|
<static> function
|
binarySearch(lo, hi)
|
<static> function
|
computeSizes(cells, availSize, pixelsPerEm, flushCache)
|
<static> String
|
convertLFToCRLF(text)
Convert a line-feed (LF) to carriage return and line-feed (CRLF). |
<static> function
|
doHashDiff(oldRoot, newRoot)
|
<static> function
|
doMerge(model, comp)
|
<static> function
|
doMixedDiff(oldRoot, newRoot)
|
<static> void
|
doPathVisit(<Composite> root, <string> path, visitFunc, regExMatch)
Visits descendents of root that match path and passes
each one to visitFunc .
|
<static> function
|
doVectorDiff(oldRoot, newRoot)
|
<static> void
|
forEach(<Object> list, <Function> op)
Performs op on each element of list .
|
<static> function
|
getClone(ref)
|
<static> function
|
getColumnHeader(index)
|
<static> function
|
getLengthOf(num)
|
<static> int
|
getTextHeightInEms(text)
Returns the height of a string in em's taking into consideration new lines. |
<static> function
|
insertAfter(newChild, oldChild, layout)
|
<static> function
|
insertAt(widget, index, layout)
|
<static> function
|
insertBefore(newChild, oldChild, layout)
|
<static> function
|
isShortVector(shortVector, name)
|
<static> function
|
join(arr, sep)
|
<static> function
|
makeDelegation(funcName)
|
<static> function
|
makeFindList(hashFunc)
|
<static> function
|
parseBool(str)
Parse a string containing boolean data and return either it's boolean equivelance or undefined if no boolean equivelance could be determined. |
<static> function
|
pickDiff(oldRoot, newRoot)
|
<static> function
|
prependChild(child, layout)
|
<static> function
|
processArray(array)
|
<static> function
|
removeChild(child, layout)
|
<static> function
|
replaceChild(newChild, oldChild, layout)
|
<static> boolean
|
returnFalse()
Returns false .
|
<static> function
|
rootsContains(child)
|
<static> function
|
sendToConsole(node)
|
<static> function
|
unwindStack()
|
<static> function
|
updateEnabledStateOfNew(container, newWidget)
|
<static> function
|
xmlEscape(str)
|
<static> function
|
zeroPad(number)
Pad an integer with a zero. |
Method Detail |
<static> int __Hash.size()
<static> function _getTimes(name)
<static> function _giveObject(description)
<static> function appendChild(child, layout)
<static> function binarySearch(lo, hi)
<static> function computeSizes(cells, availSize, pixelsPerEm, flushCache)
<static> String convertLFToCRLF(text)
The
- string to convert to CRLF.
<static> function doHashDiff(oldRoot, newRoot)
<static> function doMerge(model, comp)
<static> function doMixedDiff(oldRoot, newRoot)
<static> void doPathVisit(<Composite> root, <string> path, visitFunc, regExMatch)
root
that match path
and passes
each one to visitFunc
.
root
- the Composite
at which to start the search for matching descendants
path
- the string
specifying which nodes to visit
visitFunc
- the Function
to call at each matching node. If visitFunc
ever returns true
then the search terminates.
regExMatch
- (Optional) - a boolean
. If regExMatch
is false
(the default) then path segments must exactly match a node's name for that node to be traversed. If regExMatch
is true
then each path segment is treated as a regular expression and a node's name must merely match the regular expression to be traversed. Note: regExMatch
is currently ignored and assumed to be false
.
<static> function doVectorDiff(oldRoot, newRoot)
<static> void forEach(<Object> list, <Function> op)
op
on each element of list
.
list
can be an array, an AbstractList
, a
single object, null
, or undefined
. If
list
is an array or an AbstractList
, then
op
will be called once for each element of list
,
and the "current" element is passed to op
. If
list
is a single object, then op
is called once
and passed that object. If list
is null
or
undefined
, then forEach
returns immediately,
without calling op
.
list
- the list of things to iterate over, as described above
op
- a function to call for each element of list
. If op
is ever called, it will be passed the current element of list
as forEach
iterates over list
.
<static> function getClone(ref)
<static> function getColumnHeader(index)
<static> function getLengthOf(num)
<static> int getTextHeightInEms(text)
The
- string to determine height on.
<static> function insertAfter(newChild, oldChild, layout)
<static> function insertAt(widget, index, layout)
<static> function insertBefore(newChild, oldChild, layout)
<static> function isShortVector(shortVector, name)
<static> function join(arr, sep)
<static> function makeDelegation(funcName)
<static> function makeFindList(hashFunc)
<static> function parseBool(str)
<static> function pickDiff(oldRoot, newRoot)
<static> function prependChild(child, layout)
<static> function processArray(array)
<static> function removeChild(child, layout)
<static> function replaceChild(newChild, oldChild, layout)
<static> boolean returnFalse()
false
. This function is registered as a listener
for selectstart
events on the document body.
false
<static> function rootsContains(child)
<static> function sendToConsole(node)
<static> function unwindStack()
<static> function updateEnabledStateOfNew(container, newWidget)
<static> function xmlEscape(str)
<static> function zeroPad(number)
|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |