public interface CytoPanel
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setSelectedIndex(int index)
Sets the selected index on the CytoPanel.
|
void |
setState(CytoPanelState cytoPanelState)
Sets the state of the CytoPanel.
|
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.void setSelectedIndex(int index)
index
- The desired index.void setState(CytoPanelState cytoPanelState)
cytoPanelState
- A CytoPanelState.CytoPanelName getCytoPanelName()
Component getThisComponent()
Copyright 2011 Cytoscape Consortium. All rights reserved.