|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CytoPanel
Interface to a CytoPanel.
Method Summary | |
---|---|
Component |
add(Component component)
Adds a component to the CytoPanel. |
Component |
add(Component component,
int index)
Adds a component to the CytoPanel at specified index. |
Component |
add(String title,
Component component)
Adds a component to the CytoPanel with a specified title. |
void |
add(String title,
Icon icon,
Component component)
Adds a component to the CytoPanel with specified title and icon. |
void |
add(String title,
Icon icon,
Component component,
String tip)
Adds a component to the CytoPanel with specified title, icon, and tool tip. |
void |
addCytoPanelListener(CytoPanelListener cytoPanelListener)
Adds a CytoPanel listener. |
int |
getCompassDirection()
Returns the int indicating the position in the layout. |
Component |
getComponentAt(int index)
Returns the component at index. |
int |
getCytoPanelComponentCount()
Returns the number of components in the CytoPanel. |
Component |
getSelectedComponent()
Returns the currently selected component. |
int |
getSelectedIndex()
Returns the currently selected index. |
CytoPanelState |
getState()
Gets the state of the CytoPanel. |
String |
getTitle()
Returns the title of the CytoPanel. |
int |
indexOfComponent(Component component)
Returns the index for the specified component. |
int |
indexOfComponent(String title)
Returns the first Component index with given title. |
void |
remove(Component component)
Removes specified component from the CytoPanel. |
void |
remove(int index)
Removes the component from the CytoPanel at the specified index. |
void |
removeAll()
Removes all the components from the CytoPanel. |
void |
removeCytoPanelListener(CytoPanelListener cytoPanelListener)
Removes a CytoPanel listener. |
void |
setSelectedIndex(int index)
Sets the selected index on the CytoPanel. |
void |
setState(CytoPanelState cytoPanelState)
Sets the state of the CytoPanel. |
Method Detail |
---|
Component add(Component component)
component
- Component reference.
Component add(Component component, int index)
component
- Component reference.index
- Component index.
Component add(String title, Component component)
title
- Component title.component
- Component reference.
void add(String title, Icon icon, Component component)
title
- Component title (can be null).icon
- Component icon (can be null).component
- Component reference.void add(String title, Icon icon, Component component, String tip)
title
- Component title (can be null).icon
- Component icon (can be null).component
- Component reference.tip
- Component Tool tip text.String getTitle()
int getCytoPanelComponentCount()
Component getSelectedComponent()
int getSelectedIndex()
Component getComponentAt(int index)
CytoPanelState getState()
int indexOfComponent(Component component)
component
- Component reference.
int indexOfComponent(String title)
title
- Component title.
void remove(Component component)
component
- Component reference.void remove(int index)
index
- Component index.void removeAll()
void setSelectedIndex(int index)
index
- The desired index.void setState(CytoPanelState cytoPanelState)
cytoPanelState
- A CytoPanelState.void addCytoPanelListener(CytoPanelListener cytoPanelListener)
cytoPanelListener
- Reference to a CytoPanelListener.void removeCytoPanelListener(CytoPanelListener cytoPanelListener)
cytoPanelListener
- Reference to a CytoPanelListener.int getCompassDirection()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |