|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected String |
currentNetworkID
|
protected String |
currentNetworkViewID
|
protected CyHelpBroker |
cyHelpBroker
The HelpBroker provides access to JavaHelp |
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 |
cytoPanelWest
|
protected VisualStyle |
defaultVisualStyle
|
static int |
EXTERNAL_VIEW
Displays all network views in JFrames, so each Network has its own window. |
protected GraphViewController |
graphViewController
The GraphViewController for all NetworkViews that we know about |
static int |
INTERNAL_VIEW
Displays all network views in JInternalFrames, using the mock desktop interface. |
protected long |
lastPluginRegistryUpdate
|
static String |
NETWORK_VIEW_CREATED
|
static String |
NETWORK_VIEW_DESTROYED
|
static String |
NETWORK_VIEW_FOCUS
|
static String |
NETWORK_VIEW_FOCUSED
|
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 JLabel |
statusBar
|
static int |
TABBED_VIEW
Displays all network views in TabbedPanes ( like Mozilla ) |
static UndoManager |
undo
Cytoscape UndoManager |
protected int |
VIEW_TYPE
The type of view, should be considered final |
static String |
VISUAL_STYLE
|
static String |
VIZMAP_ENABLED
|
protected VisualMappingManager |
vizMapper
Provides Operations for Mapping Data Attributes of CyNetworks to CyNetworkViews |
protected VizMapUI |
vizMapUI
user interface to the VisualMappingManager
vizMapper . |
protected HashMap |
vsAssociationMap
|
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()
The Default constructor uses a TabbedView |
|
CytoscapeDesktop(int view_type)
Create a CytoscapeDesktop that conforms the given view type. |
Method Summary | |
---|---|
void |
addEdit(UndoableEdit edit)
|
void |
clearStatusBar()
Clears the Status Bar Message. |
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. |
CyMenus |
getCyMenus()
|
CytoPanel |
getCytoPanel(int compassDirection)
Gets a cytoPanel given a Compass direction. |
GraphViewController |
getGraphViewController()
TO keep things clearer there is one GraphView Controller per CytoscapeDesktop |
javax.help.HelpBroker |
getHelpBroker()
|
javax.help.HelpSet |
getHelpSet()
|
NetworkPanel |
getNetworkPanel()
|
NetworkViewManager |
getNetworkViewManager()
Gets the NetworkView Manager. |
SwingPropertyChangeSupport |
getSwingPropertyChangeSupport()
|
int |
getViewType()
Return the view type for this CytoscapeDesktop |
VisualMappingManager |
getVizMapManager()
Deprecated. Use Cytoscape.getVisualMappingManager() instead. This will be removed at 03/2007 (possibly sooner). |
VizMapUI |
getVizMapUI()
returns the top-level UI object for the visual mapper. |
protected void |
initialize()
|
static int |
parseViewType(String vt)
|
void |
propertyChange(PropertyChangeEvent e)
|
void |
setFocus(String network_id)
|
void |
setNewNetwork(CyNetwork newNetwork)
|
void |
setStatusBarMsg(String msg)
Sets the Status Bar Message. |
protected BiModalJSplitPane |
setupCytoPanels(NetworkPanel networkPanel,
NetworkViewManager networkViewManager)
Create the CytoPanels UI. |
protected void |
setupVizMapper(JPanel panel)
Create the VizMapper and the UI for it. |
VisualStyle |
setVisualStyle(VisualStyle style)
|
protected void |
updateFocus(String network_id)
|
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
protected long lastPluginRegistryUpdate
public static String NETWORK_VIEW_FOCUSED
public static String NETWORK_VIEW_FOCUS
public static String NETWORK_VIEW_CREATED
public static String NETWORK_VIEW_DESTROYED
public static String VISUAL_STYLE
public static String VIZMAP_ENABLED
public static UndoManager undo
public static int TABBED_VIEW
public static int INTERNAL_VIEW
public static int EXTERNAL_VIEW
protected int VIEW_TYPE
protected VisualStyle defaultVisualStyle
protected NetworkPanel networkPanel
protected CyMenus cyMenus
protected NetworkViewManager networkViewManager
protected CyHelpBroker cyHelpBroker
protected SwingPropertyChangeSupport pcs
protected GraphViewController graphViewController
protected VisualMappingManager vizMapper
protected VizMapUI vizMapUI
VisualMappingManager
vizMapper
.
protected String currentNetworkID
protected String currentNetworkViewID
protected CytoPanelImp cytoPanelWest
protected CytoPanelImp cytoPanelEast
protected CytoPanelImp cytoPanelSouth
protected JLabel statusBar
protected HashMap vsAssociationMap
Constructor Detail |
---|
public CytoscapeDesktop()
public CytoscapeDesktop(int view_type)
view_type
- one of the ViewTypesMethod Detail |
---|
protected void initialize()
public void setStatusBarMsg(String msg)
msg
- Status Bar Message.public void clearStatusBar()
public NetworkPanel getNetworkPanel()
public javax.help.HelpBroker getHelpBroker()
public javax.help.HelpSet getHelpSet()
public void addEdit(UndoableEdit edit)
public int getViewType()
public CyMenus getCyMenus()
public void setNewNetwork(CyNetwork newNetwork)
public VisualMappingManager getVizMapManager()
public VizMapUI getVizMapUI()
protected void setupVizMapper(JPanel panel)
public VisualStyle setVisualStyle(VisualStyle style)
style
- the NEW VisualStyle
protected void updateFocus(String network_id)
public void setFocus(String network_id)
public GraphViewController getGraphViewController()
public SwingPropertyChangeSupport getSwingPropertyChangeSupport()
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
public CytoPanel getCytoPanel(int compassDirection)
compassDirection
- Compass Direction (SwingConstants.{SOUTH,EAST,WEST}).
protected BiModalJSplitPane setupCytoPanels(NetworkPanel networkPanel, NetworkViewManager networkViewManager)
networkPanel
- to load on left side of right bimodal.networkViewManager
- to load on left side (CytoPanel West).
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 static int parseViewType(String vt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |