Package org.scijava.ui.viewer
Interface DisplayWindow
-
public interface DisplayWindowA user interface window associated with a Display, containing aDisplayPanel.- Author:
- Grant Harris, Barry DeZonia
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()intfindDisplayContentScreenX()Finds the x coordinate on the screen of the origin of the display window's content.intfindDisplayContentScreenY()Finds the y coordinate on the screen of the origin of the display window's content.voidpack()voidrequestFocus()voidsetContent(DisplayPanel panel)voidsetTitle(String s)voidshowDisplay(boolean visible)Places this component into the desktop environment.
-
-
-
Method Detail
-
setTitle
void setTitle(String s)
-
setContent
void setContent(DisplayPanel panel)
-
pack
void pack()
-
showDisplay
void showDisplay(boolean visible)
Places this component into the desktop environment. It should do appropriate size and locate the window. Different types of DisplayWindows (e.g. Image, Text) can implement this differently; for instance, in a tabbed enviroment, it is added to the appropriate set of tabs.
-
requestFocus
void requestFocus()
-
close
void close()
-
findDisplayContentScreenX
int findDisplayContentScreenX()
Finds the x coordinate on the screen of the origin of the display window's content.
-
findDisplayContentScreenY
int findDisplayContentScreenY()
Finds the y coordinate on the screen of the origin of the display window's content.
-
-