Package org.scijava.ui.viewer
Interface DisplayPanel
-
- All Known Subinterfaces:
TextDisplayPanel
public interface DisplayPanelThe panel housing a particularDisplay.- Author:
- Grant Harris, Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Display<?>getDisplay()Gets the panel's associated display.DisplayWindowgetWindow()Gets the window housing this panel.voidredoLayout()Rebuilds the display window to reflect the display's current views, dimensional lengths, etc.voidredraw()Redraws the contents of the panel.voidsetLabel(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.
-
-