OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.component
Class AdfUIUtils

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.component.AdfUIUtils

public class AdfUIUtils
extends Object
User interfaces utility methods



Field Summary

private static Object
_MAX_ALERT_ROWS
private static Object
_TRIM_ALL_RE
private static Object
_TRIM_BEGINNING_RE
private static Object
_TRIM_END_RE


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfUIUtils()
User interfaces utility methods


Method Summary

public static Object
compareArrays(Object array1, Object array2)
Returns true if the elements of both javascript arrays equal each other.
public static Object
compareObjects(Object object1, Object object2)
Returns true if the properties of the two javascript objects are the same.
public static Object
compareValues(Object value1, Object value2)
Returns true if values are equal, otherwise returns false.
public static Object
dump(Object target, Object targetName, Object suppressedProps)
Property dumping function
public static Object
dumpHtmlDom(Object target, Object targetName)
public static Object
getCommaSpacer()
Spacing function returning a single ,
private static Object
_getKeyValueString(Object target, Object key)
public static Object
getPropertiesAsString(Object target, Object spaceFunction, Object showFunctions, Object showConstants)
public static Object
getSingleSpacer()
Spacing function returning a single space
public static Object
getTabbedSpacer(Object propertyIndex, Object columns)
public static Object
trim(Object data)
Remove leading and trailing whitespace
public static Object
trimLeading(Object data)
Remove leading whitespace
public static Object
trimTrailing(Object data)
Remove trailing whitespace


Field Detail


_MAX_ALERT_ROWS

private static Object _MAX_ALERT_ROWS

_TRIM_ALL_RE

private static Object _TRIM_ALL_RE

_TRIM_BEGINNING_RE

private static Object _TRIM_BEGINNING_RE

_TRIM_END_RE

private static Object _TRIM_END_RE

Constructor Detail


AdfUIUtils

public AdfUIUtils()

User interfaces utility methods

Method Detail


compareArrays

public static Object compareArrays(Object array1,
                                   Object array2)

Returns true if the elements of both javascript arrays equal each other.

Parameters:
array1    
array2    
Return:
Object

compareObjects

public static Object compareObjects(Object object1,
                                    Object object2)

Returns true if the properties of the two javascript objects are the same.

Parameters:
object1    
object2    
Return:
Object

compareValues

public static Object compareValues(Object value1,
                                   Object value2)

Returns true if values are equal, otherwise returns false. Deep equality is used for javascript Objects, javascript Arrays and AdfObjects.

Parameters:
value1    
value2    
Return:
Object

dump

public static Object dump(Object target,
                          Object targetName,
                          Object suppressedProps)

Property dumping function

Parameters:
target    
targetName    
suppressedProps    
Return:
Object

dumpHtmlDom

public static Object dumpHtmlDom(Object target,
                                 Object targetName)

Parameters:
target    
targetName    
Return:
Object

getCommaSpacer

public static Object getCommaSpacer()

Spacing function returning a single ,

Return:
Object

_getKeyValueString

private static Object _getKeyValueString(Object target,
                                         Object key)

Parameters:
target    
key    
Return:
Object

getPropertiesAsString

public static Object getPropertiesAsString(Object target,
                                           Object spaceFunction,
                                           Object showFunctions,
                                           Object showConstants)

Parameters:
target    
spaceFunction    
showFunctions    
showConstants    
Return:
Object

getSingleSpacer

public static Object getSingleSpacer()

Spacing function returning a single space

Return:
Object

getTabbedSpacer

public static Object getTabbedSpacer(Object propertyIndex,
                                     Object columns)

Parameters:
propertyIndex    
columns    
Return:
Object

trim

public static Object trim(Object data)

Remove leading and trailing whitespace

Parameters:
data    
Return:
Object

trimLeading

public static Object trimLeading(Object data)

Remove leading whitespace

Parameters:
data    
Return:
Object

trimTrailing

public static Object trimTrailing(Object data)

Remove trailing whitespace

Parameters:
data    
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2011.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.