|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void addCmtSelectionListener(CmtSelectionListener listener)
listener
- the CmtSelectionListener to be addedpublic void removeCmtSelectionListener(CmtSelectionListener listener)
listener
- the CmtSelectionListener to be removedpublic boolean isSelected(CmtModelNode node)
public int getSelectionCount()
public CmtModelNode[] getSelection()
public void clearSelection()
public void setSelection(CmtModelNode[] selection)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.