|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CytoPanel
Interface to a CytoPanel.
Module: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-application-api</artifactId>
</dependency>| Method Summary | |
|---|---|
Component |
getComponentAt(int index)
Returns the component at index. |
int |
getCytoPanelComponentCount()
Returns the number of components in the CytoPanel. |
CytoPanelName |
getCytoPanelName()
Returns the position in the layout. |
Component |
getSelectedComponent()
Returns the currently selected component. |
int |
getSelectedIndex()
Returns the currently selected index. |
CytoPanelState |
getState()
Gets the state of the CytoPanel. |
Component |
getThisComponent()
Returns the Component that is this CytoPanel. |
int |
indexOfComponent(Component component)
Returns the index for the specified component. |
int |
indexOfComponent(String identifier)
Returns the index for the component that has the specified identifier. |
void |
setSelectedIndex(int index)
Sets the selected index on the CytoPanel. |
void |
setState(CytoPanelState cytoPanelState)
Sets the state of the CytoPanel. |
| Method Detail |
|---|
int getCytoPanelComponentCount()
Component getSelectedComponent()
int getSelectedIndex()
Component getComponentAt(int index)
index - the index of the component.
CytoPanelState getState()
int indexOfComponent(Component component)
component - Component reference.
int indexOfComponent(String identifier)
CytoPanelComponent2.getIdentifier().
CytoPanelComponent2:
"org.cytoscape.Network""org.cytoscape.Style""org.cytoscape.Filter"
identifier - The String that identifies the component.
void setSelectedIndex(int index)
index - The desired index.void setState(CytoPanelState cytoPanelState)
cytoPanelState - A CytoPanelState.CytoPanelName getCytoPanelName()
Component getThisComponent()
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||