oracle.ide.addin
Interface ToplevelView
- All Superinterfaces:
- Helpable, Subview, View
- All Known Implementing Classes:
- MainWindow
- public interface ToplevelView
- extends View
View
components dispaly information to the user. A view
obtains the data from the model. There can be multiple views of the model.
Each View
has an associated Controller
.
Controllers receive requests to handle the commands associated with user
interaction with the view.
A view can own other views. For example, all views are owned by the
IdeMainWindow
view.
- See Also:
oracle.ide.Controller
,
oracle.ide.IdeMainWindow
initialize
public void initialize()
- This method is reponsible for initializing the view. It should be called
a the end of the view constructor.
getMenubar
public Menubar getMenubar()
- Gets this view menu. Null if view does not have a menu.
- Returns:
- the view menu.
getStatusBar
public StatusBar getStatusBar()
- Gets this view statusbar. Null if view does not have a statusbar.
- Returns:
- the statusbar menu.
getToolbar
public Toolbar getToolbar()
- Gets this view toolbar. Null if view does not have a toolbar.
- Specified by:
getToolbar
in interface View
- Returns:
- the view toolbar.
add
public void add(View child)
- Adds a sub-view to this view.
- Parameters:
child
- the sub-view to add.