Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.view
Class NetworkViewManager

java.lang.Object
  extended by cytoscape.view.NetworkViewManager
All Implemented Interfaces:
WindowFocusListener, PropertyChangeListener, EventListener, ChangeListener, InternalFrameListener

public class NetworkViewManager
extends Object
implements PropertyChangeListener, InternalFrameListener, WindowFocusListener, ChangeListener


Constructor Summary
NetworkViewManager(CytoscapeDesktop desktop)
          Creates a new NetworkViewManager object.
NetworkViewManager(CytoscapeDesktop desktop, int view_type)
          Deprecated. view_type is no longer used. Use the other constructor. Will be removed Aug 2008.
 
Method Summary
 void firePropertyChange(String property_type, Object old_value, Object new_value)
          Fires a PropertyChangeEvent
 JDesktopPane getDesktopPane()
          DOCUMENT ME!
 JInternalFrame getInternalFrame(CyNetworkView view)
          Given a CyNetworkView, returns the internal frame.
 InternalFrameComponent getInternalFrameComponent(CyNetworkView view)
          Given a CyNetworkView, returns the InternalFrameComponent that wraps it.
 SwingPropertyChangeSupport getSwingPropertyChangeSupport()
          DOCUMENT ME!
 JTabbedPane getTabbedPane()
          Deprecated. Tabbed view is no longer used. Will be removed Aug 2008.
 void internalFrameActivated(InternalFrameEvent e)
          Fire Events when a Managed Network View gets the Focus.
 void internalFrameClosed(InternalFrameEvent e)
          DOCUMENT ME!
 void internalFrameClosing(InternalFrameEvent e)
          DOCUMENT ME!
 void internalFrameDeactivated(InternalFrameEvent e)
          DOCUMENT ME!
 void internalFrameDeiconified(InternalFrameEvent e)
          DOCUMENT ME!
 void internalFrameIconified(InternalFrameEvent e)
          DOCUMENT ME!
 void internalFrameOpened(InternalFrameEvent e)
          Fire Events when a Managed Network View gets the Focus.
 void propertyChange(PropertyChangeEvent e)
          This handles all of the incoming PropertyChangeEvents.
 void stateChanged(ChangeEvent e)
          Deprecated. Will no longer support ChangeListener. Will be removed August 2008.
 void updateNetworkTitle(CyNetwork network)
          DOCUMENT ME!
 void updateNetworkTitle(CyNetwork network, String title)
          Method to update the network title on the JInternalFrame, but not in the network panel.
 void windowGainedFocus(WindowEvent e)
          Deprecated. Will no longer support WindowFocusListener. Will be removed August 2008.
 void windowLostFocus(WindowEvent e)
          Deprecated. Will no longer support WindowFocusListener. Will be removed August 2008.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkViewManager

public NetworkViewManager(CytoscapeDesktop desktop,
                          int view_type)
Deprecated. view_type is no longer used. Use the other constructor. Will be removed Aug 2008.


NetworkViewManager

public NetworkViewManager(CytoscapeDesktop desktop)
Creates a new NetworkViewManager object.

Parameters:
desktop - DOCUMENT ME!
Method Detail

getSwingPropertyChangeSupport

public SwingPropertyChangeSupport getSwingPropertyChangeSupport()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTabbedPane

public JTabbedPane getTabbedPane()
Deprecated. Tabbed view is no longer used. Will be removed Aug 2008.


getDesktopPane

public JDesktopPane getDesktopPane()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getInternalFrameComponent

public InternalFrameComponent getInternalFrameComponent(CyNetworkView view)
                                                 throws IllegalArgumentException
Given a CyNetworkView, returns the InternalFrameComponent that wraps it.

Parameters:
view - CyNetworkView
Returns:
InternalFrameComponent
Throws:
IllegalArgumentException

getInternalFrame

public JInternalFrame getInternalFrame(CyNetworkView view)
                                throws IllegalArgumentException
Given a CyNetworkView, returns the internal frame.

Parameters:
view - CyNetworkView
Returns:
InternalFrameComponent
Throws:
IllegalArgumentException

updateNetworkTitle

public void updateNetworkTitle(CyNetwork network)
DOCUMENT ME!

Parameters:
network - DOCUMENT ME!

updateNetworkTitle

public void updateNetworkTitle(CyNetwork network,
                               String title)
Method to update the network title on the JInternalFrame, but not in the network panel.

Parameters:
network - CyNetwork
title - String

stateChanged

public void stateChanged(ChangeEvent e)
Deprecated. Will no longer support ChangeListener. Will be removed August 2008.

Specified by:
stateChanged in interface ChangeListener

internalFrameActivated

public void internalFrameActivated(InternalFrameEvent e)
Fire Events when a Managed Network View gets the Focus.

Specified by:
internalFrameActivated in interface InternalFrameListener

internalFrameOpened

public void internalFrameOpened(InternalFrameEvent e)
Fire Events when a Managed Network View gets the Focus.

Specified by:
internalFrameOpened in interface InternalFrameListener

internalFrameClosed

public void internalFrameClosed(InternalFrameEvent e)
DOCUMENT ME!

Specified by:
internalFrameClosed in interface InternalFrameListener
Parameters:
e - DOCUMENT ME!

internalFrameClosing

public void internalFrameClosing(InternalFrameEvent e)
DOCUMENT ME!

Specified by:
internalFrameClosing in interface InternalFrameListener
Parameters:
e - DOCUMENT ME!

internalFrameDeactivated

public void internalFrameDeactivated(InternalFrameEvent e)
DOCUMENT ME!

Specified by:
internalFrameDeactivated in interface InternalFrameListener
Parameters:
e - DOCUMENT ME!

internalFrameDeiconified

public void internalFrameDeiconified(InternalFrameEvent e)
DOCUMENT ME!

Specified by:
internalFrameDeiconified in interface InternalFrameListener
Parameters:
e - DOCUMENT ME!

internalFrameIconified

public void internalFrameIconified(InternalFrameEvent e)
DOCUMENT ME!

Specified by:
internalFrameIconified in interface InternalFrameListener
Parameters:
e - DOCUMENT ME!

windowGainedFocus

public void windowGainedFocus(WindowEvent e)
Deprecated. Will no longer support WindowFocusListener. Will be removed August 2008.

Specified by:
windowGainedFocus in interface WindowFocusListener

windowLostFocus

public void windowLostFocus(WindowEvent e)
Deprecated. Will no longer support WindowFocusListener. Will be removed August 2008.

Specified by:
windowLostFocus in interface WindowFocusListener

propertyChange

public void propertyChange(PropertyChangeEvent e)
This handles all of the incoming PropertyChangeEvents. If you are going to have multiple NetworkViewManagers, then this method should be extended such that the desired behaviour is achieved, assuming of course that you want your NetworkViewManagers to behave differently.

Specified by:
propertyChange in interface PropertyChangeListener

firePropertyChange

public void firePropertyChange(String property_type,
                               Object old_value,
                               Object new_value)
Fires a PropertyChangeEvent


www.cytoscape.org