| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CmtSelectionModel
This interface represents the current state of the selection for a CmtComponent.
| Method Summary | |
|---|---|
 void | 
addCmtSelectionListener(CmtSelectionListener listener)Add a listener to the list of liteners that are notified each time the collection of selected CmtModelNodes changes.  | 
 void | 
clearSelection()Empty the collection of selected CmtModelNodes.  | 
 CmtModelNode[] | 
getSelection()Get an array of the selected CmtModelNodes  | 
 int | 
getSelectionCount()Get the number of CmtModelNodes currently selected  | 
 boolean | 
isSelected(CmtModelNode node)Determines whether a given CmtModelNode is currently included in the collection of selected CmtModelNodes.  | 
 void | 
removeCmtSelectionListener(CmtSelectionListener listener)Remove a listener from the list of listeners that are notified each time the collection of selected CmtModelNodes changes.  | 
 void | 
setSelection(CmtModelNode[] selection)Change the collection of selected CmtModelNodes to consist only of those CmtModelNodes provided, in the order provided.  | 
| Method Detail | 
|---|
void addCmtSelectionListener(CmtSelectionListener listener)
listener - the CmtSelectionListener to be addedvoid removeCmtSelectionListener(CmtSelectionListener listener)
listener - the CmtSelectionListener to be removedboolean isSelected(CmtModelNode node)
truee - if node is currently selectedint getSelectionCount()
CmtModelNode[] getSelection()
void clearSelection()
void setSelection(CmtModelNode[] selection)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||