|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame cytoscape.view.CytoscapeDesktop
public class CytoscapeDesktop
The CytoscapeDesktop is the central Window for working with Cytoscape
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected String |
currentNetworkID
Current network and view. |
protected String |
currentNetworkViewID
|
protected CyMenus |
cyMenus
The CyMenus object provides access to the all of the menus and toolbars that will be needed. |
protected CytoPanelImp |
cytoPanelEast
|
protected CytoPanelImp |
cytoPanelSouth
|
protected CytoPanelImp |
cytoPanelSouthWest
|
protected CytoPanelImp |
cytoPanelWest
|
protected VisualStyle |
defaultVisualStyle
|
protected GraphViewController |
graphViewController
The GraphViewController for all NetworkViews that we know about |
protected long |
lastPluginRegistryUpdate
|
protected JPanel |
main_panel
|
static String |
NETWORK_VIEW_CREATED
|
static String |
NETWORK_VIEW_DESTROYED
|
static String |
NETWORK_VIEW_FOCUS
|
static String |
NETWORK_VIEW_FOCUSED
|
static String |
NETWORK_VIEWS_SELECTED
|
protected NetworkPanel |
networkPanel
The network panel that sends out events when a network is selected from the Tree that it contains. |
protected NetworkViewManager |
networkViewManager
The NetworkViewManager can support three types of interfaces. |
protected SwingPropertyChangeSupport |
pcs
provides support for property change events |
protected int |
returnVal
|
protected JLabel |
statusBar
|
protected int |
styleBoxIndex
|
static String |
VISUAL_STYLE
|
static String |
VIZMAP_ENABLED
|
protected VizMapperMainPanel |
vizmapperUI
New VizMapper UI |
protected VisualMappingManager |
vmm
Provides Operations for Mapping Data Attributes of CyNetworks to CyNetworkViews |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
CytoscapeDesktop()
Creates a new CytoscapeDesktop object. |
Method Summary | |
---|---|
void |
clearStatusBar()
Clears the Status Bar Message. |
protected void |
createBottomLeft()
|
protected BiModalJSplitPane |
createMasterPane(NetworkPanel networkPanel,
BiModalJSplitPane rightPane)
Creates the Master Split Pane. |
protected BiModalJSplitPane |
createRightPane(BiModalJSplitPane topRightPane)
Creates the Right Panel. |
protected BiModalJSplitPane |
createTopRightPane(NetworkViewManager networkViewManager)
Creates the TopRight Pane. |
cytoscape.view.BirdsEyeViewHandler |
getBirdsEyeViewHandler()
DOCUMENT ME! |
CyMenus |
getCyMenus()
DOCUMENT ME! |
CytoPanel |
getCytoPanel(int compassDirection)
Gets a cytoPanel given a Compass direction. |
GraphViewController |
getGraphViewController()
TO keep things clearer there is one GraphView Controller per CytoscapeDesktop |
NetworkPanel |
getNetworkPanel()
DOCUMENT ME! |
NetworkViewManager |
getNetworkViewManager()
Gets the NetworkView Manager. |
SwingPropertyChangeSupport |
getSwingPropertyChangeSupport()
DOCUMENT ME! |
VizMapperMainPanel |
getVizMapperUI()
Returns new vizmapper GUI. |
static int |
parseViewType(String vt)
Deprecated. View types are no longer support so stop using this. Will be removed August 2008. |
void |
propertyChange(PropertyChangeEvent e)
DOCUMENT ME! |
void |
setFocus(String network_id)
TODO: We should remove one of this event! |
void |
setNewNetwork(CyNetwork newNetwork)
DOCUMENT ME! |
void |
setStatusBarMsg(String msg)
Sets the Status Bar Message. |
VisualStyle |
setVisualStyle(VisualStyle style)
Deprecated. use VisualMappingManager.setVisualStyle(VisualStyle style) instead. |
protected void |
updateFocus(String network_id)
|
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
protected long lastPluginRegistryUpdate
protected int returnVal
public static final String NETWORK_VIEWS_SELECTED
public static final String NETWORK_VIEW_FOCUSED
public static final String NETWORK_VIEW_FOCUS
public static final String NETWORK_VIEW_CREATED
public static final String NETWORK_VIEW_DESTROYED
public static final String VISUAL_STYLE
public static final String VIZMAP_ENABLED
protected VisualStyle defaultVisualStyle
protected NetworkPanel networkPanel
protected CyMenus cyMenus
protected NetworkViewManager networkViewManager
protected final SwingPropertyChangeSupport pcs
protected GraphViewController graphViewController
protected VisualMappingManager vmm
protected VizMapperMainPanel vizmapperUI
protected String currentNetworkID
protected String currentNetworkViewID
protected CytoPanelImp cytoPanelWest
protected CytoPanelImp cytoPanelEast
protected CytoPanelImp cytoPanelSouth
protected CytoPanelImp cytoPanelSouthWest
protected JLabel statusBar
protected final JPanel main_panel
protected int styleBoxIndex
Constructor Detail |
---|
public CytoscapeDesktop()
Method Detail |
---|
public void setStatusBarMsg(String msg)
msg
- Status Bar Message.public void clearStatusBar()
public NetworkPanel getNetworkPanel()
public CyMenus getCyMenus()
public void setNewNetwork(CyNetwork newNetwork)
newNetwork
- DOCUMENT ME!public VizMapperMainPanel getVizMapperUI()
@Deprecated public VisualStyle setVisualStyle(VisualStyle style)
style
- the NEW VisualStyle
protected void updateFocus(String network_id)
public void setFocus(String network_id)
network_id
- DOCUMENT ME!public GraphViewController getGraphViewController()
public SwingPropertyChangeSupport getSwingPropertyChangeSupport()
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
e
- DOCUMENT ME!public CytoPanel getCytoPanel(int compassDirection)
compassDirection
- Compass Direction (SwingConstants.{SOUTH,EAST,WEST}).
protected void createBottomLeft()
protected BiModalJSplitPane createTopRightPane(NetworkViewManager networkViewManager)
networkViewManager
- to load on left side of top right bimodal.
protected BiModalJSplitPane createRightPane(BiModalJSplitPane topRightPane)
topRightPane
- TopRightPane Object.
protected BiModalJSplitPane createMasterPane(NetworkPanel networkPanel, BiModalJSplitPane rightPane)
networkPanel
- to load on left side of CytoPanel (cytoPanelWest).rightPane
- BiModalJSplitPane Object.
public NetworkViewManager getNetworkViewManager()
public cytoscape.view.BirdsEyeViewHandler getBirdsEyeViewHandler()
public static int parseViewType(String vt)
vt
- DOCUMENT ME!
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |