JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E12046-04 |
PREV NEXT |
FRAMES NO FRAMES Warning: private items are visible |
|
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
Constructor Summary
|
public |
AdfShuttleUtils()
-
User interfaces utility methods
|
public AdfShuttleUtils()
User interfaces utility methods
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
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
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
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)
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)
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E12046-04 |
PREV NEXT |
FRAMES NO FRAMES Warning: private items are visible |
|
Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.