jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.flavor
Interface FrontendFlavor.FrontendListener

All Known Implementing Classes:
SimpleController.FlavorListener
Enclosing interface:
FrontendFlavor

public static interface FrontendFlavor.FrontendListener

The listener

Author:
Stefan Sechelmann

Method Summary
 void installLookAndFeel(String lnfClassName)
          Installs a swing look and feel
 boolean isFullscreen()
          Check whether the window of the controller is in full-screen mode
 void setFullscreen(boolean fs)
          Triggers the controller to maximize the main window to full-screen
 void setShowMenuBar(boolean show)
          Shows or hides the menu bar of the main window
 void setShowStatusBar(boolean show)
          Shows of hides the status bar of the main window
 void setShowToolBar(boolean show)
          Shows or hides the tool bar of the main windows
 void updateContent()
          Reloads the content of the active perspective flavor
 void updateFrontend()
          Updates the front-end of the controller.
 void updateFrontendUI()
          Invokes updateUI on all swing components known to the controller
 void updateMenuBar()
          Reloads the menus of the active menu flavor
 

Method Detail

installLookAndFeel

void installLookAndFeel(String lnfClassName)
Installs a swing look and feel

Parameters:
lnfClassName - the look and feel class name

isFullscreen

boolean isFullscreen()
Check whether the window of the controller is in full-screen mode


setFullscreen

void setFullscreen(boolean fs)
Triggers the controller to maximize the main window to full-screen

Parameters:
fs -

setShowMenuBar

void setShowMenuBar(boolean show)
Shows or hides the menu bar of the main window

Parameters:
show -

setShowStatusBar

void setShowStatusBar(boolean show)
Shows of hides the status bar of the main window

Parameters:
show -

setShowToolBar

void setShowToolBar(boolean show)
Shows or hides the tool bar of the main windows

Parameters:
show -

updateContent

void updateContent()
Reloads the content of the active perspective flavor


updateFrontend

void updateFrontend()
Updates the front-end of the controller. All menu flavors and content flavors are loaded again


updateFrontendUI

void updateFrontendUI()
Invokes updateUI on all swing components known to the controller


updateMenuBar

void updateMenuBar()
Reloads the menus of the active menu flavor


jrworkspace by
jTEM

jTEM