org.das2.components.ComponentsUtil

Utilities for managing components.

ComponentsUtil( )


createPopupCanvas

createPopupCanvas( java.awt.Component parent, String title, int width, int height ) → org.das2.graph.DasCanvas

Parameters

parent - a Component
title - a String
width - an int
height - an int

Returns:

org.das2.graph.DasCanvas

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getPdfButtonAction

getPdfButtonAction( org.das2.graph.DasCanvas canvas ) → javax.swing.Action

Parameters

canvas - a DasCanvas

Returns:

javax.swing.Action

[search for examples] [view on GitHub] [view on old javadoc] [view source]


verifyVisible

verifyVisible( java.awt.Rectangle r ) → java.awt.Rectangle

return null if the rectangle is visible, or a new rectangle where it should be moved if it is not.

Parameters

r - a Rectangle

Returns:

null or a new suggested rectangle.

[search for examples] [view on GitHub] [view on old javadoc] [view source]