Cytoscape 2.8.0 API

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
clone, equals, finalize, 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.


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.