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

cytoscape.view.cytopanels
Class CytoPanelUtil

java.lang.Object
  extended by cytoscape.view.cytopanels.CytoPanelUtil

public class CytoPanelUtil
extends Object

Contains methods to assist with various tasks performed by the CytoPanel API.

Author:
Ethan Cerami, Ben Gross

Constructor Summary
CytoPanelUtil()
           
 
Method Summary
static Point getLocationOfExternalFrame(Dimension screenDimension, Rectangle containerBounds, Dimension frameDimension, int compassDirection, boolean outputDiagnostics)
          Gets Location of External Frame, based on current UI Dimensions.
 boolean isWindows()
          Determines if we are running on Windows platform.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CytoPanelUtil

public CytoPanelUtil()
Method Detail

getLocationOfExternalFrame

public static Point getLocationOfExternalFrame(Dimension screenDimension,
                                               Rectangle containerBounds,
                                               Dimension frameDimension,
                                               int compassDirection,
                                               boolean outputDiagnostics)
Gets Location of External Frame, based on current UI Dimensions.

Parameters:
screenDimension - Current Screen Dimensions.
containerBounds - Container Bounds Rectangle.
frameDimension - Current Frame Dimensions.
compassDirection - Compass Direction, SwingConstants.
Returns:
Point Object.

isWindows

public boolean isWindows()
Determines if we are running on Windows platform.


www.cytoscape.org