OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.component
Class AdfShuttleUtils

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

public class AdfShuttleUtils
extends Object
User interfaces utility methods



Field Summary


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfShuttleUtils()
User interfaces utility methods


Method Summary

public static Object
getLastSelectionChange(Object component, Object oldSelection)
Returns the value of the last selected item, no matter if it was selected or deselected
public static Object
getLeadSelection(Object component)
Returns all selected item values from the leading side of the shuttle
public static Object
getTrailSelection(Object component)
Returns all selected item values from the trailing side of the shuttle
public static String
isLeading(Object component, Object value)
Returns true if the value is available on the leading side.
public static Object
isSelected(Object component, Object value)
Returns if the value passed in is currently selected


Field Detail


Constructor Detail


AdfShuttleUtils

public AdfShuttleUtils()

User interfaces utility methods

Method Detail


getLastSelectionChange

public static Object getLastSelectionChange(Object component,
                                            Object oldSelection)

Returns the value of the last selected item, no matter if it was selected or deselected

Parameters:
component  -  the Shuttle component
oldSelection  -  the values from the previous selection
Return:
Object

getLeadSelection

public static Object getLeadSelection(Object component)

Returns all selected item values from the leading side of the shuttle

Parameters:
component  -  the Shuttle component
Return:
Object

getTrailSelection

public static Object getTrailSelection(Object component)

Returns all selected item values from the trailing side of the shuttle

Parameters:
component  -  the Shuttle component
Return:
Object

isLeading

public static String isLeading(Object component,
                               Object value)

Returns true if the value is available on the leading side.

Parameters:
component  -  the Shuttle component
value  -  the value to check the side for
Return:
String - string that indicates the side on where the selectedValue is
See also:
getLastSelectionChange(Object, Object)

isSelected

public static Object isSelected(Object component,
                                Object value)

Returns if the value passed in is currently selected

Parameters:
component  -  the Shuttle component
value  -  the value to check
Return:
Object
See also:
getLastSelectionChange(Object, Object)

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

 

Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.