org.scijava.ui.viewer
Interface DisplayPanel

All Known Subinterfaces:
TextDisplayPanel

public interface DisplayPanel

The panel housing a particular Display.

Author:
Grant Harris, Curtis Rueden

Method Summary
 Display<?> getDisplay()
          Gets the panel's associated display.
 DisplayWindow getWindow()
          Gets the window housing this panel.
 void redoLayout()
          Rebuilds the display window to reflect the display's current views, dimensional lengths, etc.
 void redraw()
          Redraws the contents of the panel.
 void setLabel(String s)
          Sets the label at the top of the display panel.
 

Method Detail

getDisplay

Display<?> getDisplay()
Gets the panel's associated display.


getWindow

DisplayWindow getWindow()
Gets the window housing this panel.


redoLayout

void redoLayout()
Rebuilds the display window to reflect the display's current views, dimensional lengths, etc. The window may change size, and hence may repack itself.


setLabel

void setLabel(String s)
Sets the label at the top of the display panel.


redraw

void redraw()
Redraws the contents of the panel.



Copyright © 2009–2014 SciJava. All rights reserved.