org.scijava.ui.viewer
Interface DisplayWindow


public interface DisplayWindow

A user interface window associated with a Display, containing a DisplayPanel.

Author:
Grant Harris, Barry DeZonia

Method Summary
 void close()
           
 int findDisplayContentScreenX()
          Finds the x coordinate on the screen of the origin of the display window's content.
 int findDisplayContentScreenY()
          Finds the y coordinate on the screen of the origin of the display window's content.
 void pack()
           
 void requestFocus()
           
 void setContent(DisplayPanel panel)
           
 void setTitle(String s)
           
 void showDisplay(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.



Copyright © 2009–2014 SciJava. All rights reserved.