This class represents the "parent" or top-level frame window in which the editing occurs. It contains the various visible components of the program, including the editing pane, menu bar, toolbar, and any docked windows.
Some useful methods from this class include the following:
public void splitHorizontally(
void)
;
Splits the view horizontally.
public void splitVertically(
void)
;
Splits the view vertically.
public void unsplit(
void)
;
Unsplits the view.
public synchronized void showWaitCursor(
void)
;
Shows a "waiting" cursor (typically, an hourglass).
public synchronized void hideWaitCursor(
void)
;
Removes the "waiting" cursor. This method and showWaitCursor() are implemented using a reference count of requests for wait cursors, so that nested calls work correctly; however, you should be careful to use these methods in tandem.
public StatusBar getStatus(
void)
;
Each View displays a StatusBar at its bottom edge. It shows the current cursor position, the editing mode of the current buffer and other information. The method setMessage(String message) can be called on the return value of getStatus() to display reminders or updates. The message remains until the method is called again. To display a temporary message in the status bar, call setMessageAndClear(String message), which will erase the message automatically after ten seconds.
public DockableWindowManager getDockableWindowManager( | void) ; |
The object returned by this method keeps track of all dockable windows. See the section called "Class DockableWindowManager".