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
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.