|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyGroupViewer
The CyGroupViewer interface provides a mechanism for group view implementations to register themselves and get notified of group creation and deletion. The primary goals of this mechanism are to allow multiple group viewers to maintain different groups at the same time, and to provide a mechanism to retain view mechanism across session save and restore.
Nested Class Summary | |
---|---|
static class |
CyGroupViewer.ChangeType
The change values |
Method Summary | |
---|---|
String |
getViewerName()
Provide the string name of this viewer. |
void |
groupChanged(CyGroup group,
GraphObject changedObject,
CyGroupViewer.ChangeType change)
Provide viewer-specific hooks to the change of a group. |
void |
groupCreated(CyGroup group)
Provide viewer-specific initialization after the creation of a group. |
void |
groupCreated(CyGroup group,
CyNetworkView myView)
|
void |
groupWillBeRemoved(CyGroup group)
Provide viewer-specific hooks to deletion of a group. |
Method Detail |
---|
String getViewerName()
void groupCreated(CyGroup group)
group
- the CyGroup that was just created.void groupCreated(CyGroup group, CyNetworkView myView)
void groupWillBeRemoved(CyGroup group)
group
- the CyGroup that will be deleted.void groupChanged(CyGroup group, GraphObject changedObject, CyGroupViewer.ChangeType change)
group
- the CyGroup that will be deleted.changedObject
- the node or edge that triggered the changechange
- the change that was made (see CyGroup defines)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |