Class MultiWindowLayoutHelper
java.lang.Object
net.preibisch.mvrecon.fiji.plugin.util.MultiWindowLayoutHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Componentget the ImageJ log window (if present)static voidstatic voidmoveToScreenFraction(Component component, double x, double y) move a component (such as a JFrame Window) to x and y, expressed as fractions of the screen width and height of the screen the component is on.
-
Constructor Details
-
MultiWindowLayoutHelper
public MultiWindowLayoutHelper()
-
-
Method Details
-
moveToScreenFraction
move a component (such as a JFrame Window) to x and y, expressed as fractions of the screen width and height of the screen the component is on. The top-left corner of the component is moved to the desired location.- Parameters:
component- the component to movex- desired left position (fraction of screen width)y- desired top position (fraction of screen height)
-
getIJLogWindow
get the ImageJ log window (if present)- Returns:
- the log window component or null if the log is not open;
-
main
-