|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.ContentPane
com.sptci.rwt.webui.MainView
public class MainView
The primary ContentPane for the application.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private MainController |
controller
The controller for this view component. |
private Component |
left
container used to hold the metadata objects (tree). |
private MenuComponent |
menuComponent
The component used to display the menu for the application. |
private Component |
right
The container used to hold all the information displayed in the detail view area (right side). |
private MetaDataTree |
tree
The component used to display the database object hierarchy. |
| Fields inherited from class nextapp.echo2.app.ContentPane |
|---|
PROPERTY_BACKGROUND_IMAGE, PROPERTY_HORIZONTAL_SCROLL, PROPERTY_INSETS, PROPERTY_VERTICAL_SCROLL |
| Constructor Summary | |
|---|---|
MainView()
Create a new instance of the pane. |
|
| Method Summary | |
|---|---|
private Component |
createLeft()
Create the left navigation area. |
private Component |
createRight()
Create the right area that holds the main content. |
private Component |
createTop()
Create the component that displays header and menu. |
private MetaDataTree |
createTree()
Create the component that displays the database metadata objects in a tree. |
MainController |
getController()
Returns controller. |
MenuComponent |
getMenuComponent()
Returns menuComponent. |
private void |
layout()
Layout the content pane to accomodate top menu, database object navigation (left) and detail content (right). |
void |
rebuildMenu()
Rebuilds the menuComponent. |
(package private) void |
refresh()
Refreshes the view. |
(package private) void |
setContent(Component component)
Set the content of the right using the specified component. |
| Methods inherited from class nextapp.echo2.app.ContentPane |
|---|
getBackgroundImage, getHorizontalScroll, getInsets, getVerticalScroll, isValidChild, isValidParent, processInput, setBackgroundImage, setHorizontalScroll, setInsets, setVerticalScroll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final MainController controller
private MenuComponent menuComponent
private MetaDataTree tree
private Component left
private Component right
| Constructor Detail |
|---|
public MainView()
layout(),
createLeft(),
createRight()| Method Detail |
|---|
void refresh()
void setContent(Component component)
right using the specified component.
component - The component that is to be displayed in the right
container component.private void layout()
createTop(),
createLeft(),
createRight()private Component createTop()
Header,
MenuComponentprivate Component createLeft()
private Component createRight()
private MetaDataTree createTree()
public MainController getController()
controller.
public MenuComponent getMenuComponent()
menuComponent.
public void rebuildMenu()
menuComponent.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||