|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupModel
An interface for classes that handle the model associated with presentation of grouped nodes.
Method Summary | |
---|---|
void |
copyGroup(CyNode newGroup,
CyNode oldGroup)
This method is called from the GroupManager API when it copies a group from one network to another. |
void |
createGroup(CyNetwork network,
CyNode group_node)
This method is called from the GroupManager API upon creation of a new group to allow the group abstraction implementation to perform any initialization required. |
String |
getGroupName()
Return the "name" of this abstraction. |
GroupViewer |
getGroupViewer()
Get the GroupViewer for this group. |
void |
regroupGroup(CyNode group_node)
This method is called from the GroupManager API to actually present the group in a 'grouped' state. |
void |
removeGroup(CyNode group_node)
This method is called from the GroupManager API upon deletion of a new group to allow the group abstraction implementation to perform any updates in internal data structures. |
void |
setGroupViewer(GroupViewer viewer)
Set the GroupViewer for this group. |
void |
ungroupGroup(CyNode group_node)
This method is called from the GroupManager API to actually present the group in an 'ungrouped' state. |
Method Detail |
---|
String getGroupName()
void setGroupViewer(GroupViewer viewer)
viewer
- the GroupViewer to useGroupViewer getGroupViewer()
void createGroup(CyNetwork network, CyNode group_node)
network
- the CyNetwork that will contain the resulting group nodegroup_node
- the CyNode that represents the groupvoid copyGroup(CyNode newGroup, CyNode oldGroup)
oldGroup
- the CyNode that represents the group to be copiednewGroup
- the CyNode that represents the new groupvoid removeGroup(CyNode group_node)
group_node
- the CyNode that represents the groupvoid regroupGroup(CyNode group_node)
group_node
- the CyNode that represents the groupvoid ungroupGroup(CyNode group_node)
group_node
- the CyNode that represents the group
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |