OracleJavaScript API Reference for Oracle ADF Faces

 

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

org.apache.myjs.trinidad.component
Class AdfUIListView

org.ecmascript.object.Object
   |
   +--org.apache.myjs.trinidad.component.AdfUICollection
         |
         +--org.apache.myjs.trinidad.component.AdfUIIterator
               |
               +--org.apache.myjs.trinidad.component.AdfUIListView
Direct Known Subclasses:
AdfRichListView

public class AdfUIListView
extends AdfUIIterator
UIXListView is a component that is similar to UIXIterator. In addition it adds support for selection and grouping. The grouping support add Tree Like functionaliy via the TreeModel class.



Field Summary

public static Object
SELECTION_LISTENER_KEY


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfUIListView()
UIXListView is a component that is similar to UIXIterator.


Method Summary

protected Object
DeliverDerivedPropertyEvents(Object propName, Object oldValue, Object newValue)
Override to fire selection change events
public Object
findComponent(Object scopedId, Object rowKey)
AdfUIListView provides this overload of AdfUIComponent.findComponent() which takes an (optional) row key.
protected Object
GetChanges()
public Object
getGroupDisclosedRowKeys()
Get function for attribute for 'groupDisclosedRowKeys'.
public Object
getGroupDisclosureListener()
Get function for attribute for 'groupDisclosureListener'.
public Object
getSelectedRowKeys()
Get function for attribute for 'selectedRowKeys'.
public Object
getSelectionListener()
Get function for attribute for 'selectionListener'.
public Object
isGroupDisclosed(Object rowKey)
Returns true if the row is diclosed
public Object
setGroupDisclosedRowKey(Object rowKey, Object disclosed)
Add/remove the given rowKey to/from the disclosedRowKeys
public void
setGroupDisclosedRowKeys(Object newGroupDisclosedRowKeys)
Set function for attribute 'GroupDisclosedRowKeys'.
public void
setGroupDisclosureListener(Object newGroupDisclosureListener)
Set function for attribute 'GroupDisclosureListener'.
public void
setSelectedRowKeys(Object newSelectedRowKeys)
Set function for attribute 'SelectedRowKeys'.
public void
setSelectionListener(Object newSelectionListener)
Set function for attribute 'SelectionListener'.


Methods inherited from org.apache.myjs.trinidad.component.AdfUIIterator

getFirst, getRows, getValue, setFirst, setRows, setValue


Field Detail


SELECTION_LISTENER_KEY

public static Object SELECTION_LISTENER_KEY

Constructor Detail


AdfUIListView

public AdfUIListView()

UIXListView is a component that is similar to UIXIterator. In addition it adds support for selection and grouping. The grouping support add Tree Like functionaliy via the TreeModel class.

Method Detail


DeliverDerivedPropertyEvents

protected Object DeliverDerivedPropertyEvents(Object propName,
                                              Object oldValue,
                                              Object newValue)

Override to fire selection change events

Parameters:
propName    
oldValue    
newValue    
Return:
Object

findComponent

public Object findComponent(Object scopedId,
                            Object rowKey)

AdfUIListView provides this overload of AdfUIComponent.findComponent() which takes an (optional) row key. When the row key is specified, AdfUIListView.findComponent() returns the stamped component instance for the specified row. Note that the actual row key value may be transformed by the rich client framework such that the client-side value of the row key may not have any resemblance to the server-side row key. As such, only row keys served up by the client-side framework (eg. row keys obtained from selection events) should be passed to AdfUIListView.findComponent(). Also note that the lifecycle of stamped client-side components may be limited in scope. For large data sets, the AdfUIListView component may discard components which are no longer visible. In such cases, AdfUIListView.findComponent() will return null. Applications which need access to component state for rows which are no longer present on the client must return to the server to access this information.

Parameters:
scopedId    
rowKey    
Return:
Object

GetChanges

protected Object GetChanges()

Return:
Object

getGroupDisclosedRowKeys

public Object getGroupDisclosedRowKeys()

Get function for attribute for 'groupDisclosedRowKeys'.

Return:
Object - GroupDisclosedRowKeys

getGroupDisclosureListener

public Object getGroupDisclosureListener()

Get function for attribute for 'groupDisclosureListener'.

Return:
Object - GroupDisclosureListener

getSelectedRowKeys

public Object getSelectedRowKeys()

Get function for attribute for 'selectedRowKeys'.

Return:
Object - SelectedRowKeys

getSelectionListener

public Object getSelectionListener()

Get function for attribute for 'selectionListener'.

Return:
Object - SelectionListener

isGroupDisclosed

public Object isGroupDisclosed(Object rowKey)

Returns true if the row is diclosed

Parameters:
rowKey    
Return:
Object

setGroupDisclosedRowKey

public Object setGroupDisclosedRowKey(Object rowKey,
                                      Object disclosed)

Add/remove the given rowKey to/from the disclosedRowKeys

Parameters:
rowKey    
disclosed    
Return:
Object

setGroupDisclosedRowKeys

public void setGroupDisclosedRowKeys(Object newGroupDisclosedRowKeys)

Set function for attribute 'GroupDisclosedRowKeys'.

Parameters:
newGroupDisclosedRowKeys    
Return:
void - No Value returned

setGroupDisclosureListener

public void setGroupDisclosureListener(Object newGroupDisclosureListener)

Set function for attribute 'GroupDisclosureListener'.

Parameters:
newGroupDisclosureListener    
Return:
void - No Value returned

setSelectedRowKeys

public void setSelectedRowKeys(Object newSelectedRowKeys)

Set function for attribute 'SelectedRowKeys'.

Parameters:
newSelectedRowKeys    
Return:
void - No Value returned

setSelectionListener

public void setSelectionListener(Object newSelectionListener)

Set function for attribute 'SelectionListener'.

Parameters:
newSelectionListener    
Return:
void - No Value returned

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

 

Generated on 2013.01.09 16:37 UTC
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.