|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CytoPanelListener
This listener interface provides the mechanism to respond to CytoPanel Events.
Method Summary | |
---|---|
void |
onComponentAdded(int count)
Notifies the listener when a component is added to the CytoPanel. |
void |
onComponentRemoved(int count)
Notifies the listener when a component is removed from the CytoPanel. |
void |
onComponentSelected(int componentIndex)
Notifies the listener when a new component on the CytoPanel is selected. |
void |
onStateChange(CytoPanelState newState)
Notifies the listener on a change in the CytoPanel state. |
Method Detail |
---|
void onStateChange(CytoPanelState newState)
newState
- The new CytoPanel state - see CytoPanelState class.void onComponentSelected(int componentIndex)
componentIndex
- The index of the component selected.void onComponentAdded(int count)
count
- The number of components on the CytoPanel after the add.void onComponentRemoved(int count)
count
- The number of components on the CytoPanel after the remove.
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |