cytoscape.view.cytopanels
Class CytoPanelUtil
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CytoPanelUtil
public CytoPanelUtil()
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.
Copyright 2010 Cytoscape Consortium. All rights reserved.