org.bs.mdi
Interface RootView

All Superinterfaces:
ActionObservable, ActionObserver, ActionProcessor, View
All Known Implementing Classes:
SwingRootView

public interface RootView
extends View

An interface for the graphical representation of a document's information.


Method Summary
 DocumentWindow getWindow()
          Returns the window which is displaying this view.
 void windowChanged(DocumentWindow window)
          Called from within the framework to indicate that the view's window has changed.
 
Methods inherited from interface org.bs.mdi.View
addChild, copy, countChildren, cut, delete, getChild, getData, getDocument, getParentView, isCopyPossible, isCutPossible, isDeletePossible, isPastePossible, paste, removeChild, setCopyPossible, setCutPossible, setData, setDeletePossible, setPastePossible, syncWithData
 
Methods inherited from interface org.bs.mdi.ActionObserver
actionPerformed, actionUndone
 
Methods inherited from interface org.bs.mdi.ActionObservable
addObserver, countObservers, isObserver, notifyObservers, removeObserver
 
Methods inherited from interface org.bs.mdi.ActionProcessor
applyAction, undoAction
 

Method Detail

getWindow

public DocumentWindow getWindow()
Returns the window which is displaying this view.

Returns:
the window

windowChanged

public void windowChanged(DocumentWindow window)
Called from within the framework to indicate that the view's window has changed. This method gives the view the opportunity to react upon this event.

Parameters:
window - the new window