|
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.button.AbstractButton
nextapp.echo2.app.Button
echopointng.ButtonEx
echopointng.MenuItem
echopointng.Menu
echopointng.MenuBar
com.sptci.rwt.webui.MenuComponent
public class MenuComponent
The component that displays the application menu.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private MainController |
controller
The main application controller to use for this component. |
private Menu |
savedConnections
The menu used to store saved JDBC connections. |
private Menu |
savedQueries
The menu used to store saved SQL statements. |
| Fields inherited from class echopointng.MenuBar |
|---|
DEFAULT_STYLE |
| Fields inherited from class echopointng.ButtonEx |
|---|
PROPERTY_INTERPRET_NEWLINES |
| Fields inherited from interface echopointng.able.Positionable |
|---|
ABSOLUTE, FIXED, PROPERTY_BOTTOM, PROPERTY_LEFT, PROPERTY_POSITION, PROPERTY_RIGHT, PROPERTY_TOP, PROPERTY_Z_INDEX, RELATIVE, STATIC |
| Fields inherited from interface echopointng.able.Borderable |
|---|
PROPERTY_BORDER |
| Fields inherited from interface echopointng.able.MouseCursorable |
|---|
CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, PROPERTY_MOUSE_CURSOR, PROPERTY_MOUSE_CURSOR_URI |
| Fields inherited from interface echopointng.able.AccessKeyable |
|---|
PROPERTY_ACCESS_KEY |
| Fields inherited from interface echopointng.able.Insetable |
|---|
DEFAULT_INSETS, DEFAULT_OUTSETS, PROPERTY_INSETS, PROPERTY_OUTSETS |
| Fields inherited from interface echopointng.able.Widthable |
|---|
PROPERTY_WIDTH |
| Fields inherited from interface echopointng.able.Heightable |
|---|
PROPERTY_HEIGHT |
| Fields inherited from interface echopointng.able.ToolTipable |
|---|
PROPERTY_TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
MenuComponent(MainController controller)
Default constructor. |
|
| Method Summary | |
|---|---|
private MenuItem |
createBatchQueryExecutor()
Create the menu item that is used to launch the BatchQueryExecutorView component. |
private MenuItem |
createConnection()
Create the menu item used to display the connection dialogue. |
private Menu |
createConnections()
Create the menu used to display all the saved JDBC Connections for the application user. |
private void |
createConnectionsMenu()
Create the menu that displays the connection options. |
private Menu |
createDataSources()
Create the menu used to display all available DataSources configured for the application. |
private void |
createQueries()
Create the menu that displays query windows and saved queries. |
private MenuItem |
createQueryExecutor()
Create the menu item that is used to launch the QueryExecutorView component. |
private Menu |
createSavedQueries()
Create the menu used to display all the saved queries for the user and application. |
private Menu |
createSavedQueries(Category category)
Create the necessary menu's to display the saved queries under the specified category. |
| Methods inherited from class echopointng.MenuBar |
|---|
clear, getBottom, getLeft, getPosition, getRight, getTop, getZIndex, isPositioned, setBottom, setLeft, setPosition, setRight, setTop, setZIndex, toString |
| Methods inherited from class echopointng.MenuItem |
|---|
getRootMenu |
| Methods inherited from class echopointng.ButtonEx |
|---|
getAccessKey, getAttribute, getAttributeNames, getInsets, getMouseCursor, getMouseCursorUri, getOutsets, getText, isInterpretNewlines, processInput, setAccessKey, setAttribute, setInsets, setInterpretNewlines, setModel, setMouseCursor, setMouseCursorUri, setOutsets, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Borderable |
|---|
getBorder, setBorder |
| Methods inherited from interface echopointng.able.Widthable |
|---|
getWidth, setWidth |
| Methods inherited from interface echopointng.able.Heightable |
|---|
getHeight, setHeight |
| Methods inherited from interface echopointng.able.ToolTipable |
|---|
getToolTipText, setToolTipText |
| Field Detail |
|---|
private final MainController controller
private Menu savedConnections
private Menu savedQueries
| Constructor Detail |
|---|
public MenuComponent(MainController controller)
createConnections(),
createQueries()| Method Detail |
|---|
private void createConnectionsMenu()
createDataSources(),
createConnections(),
createConnection()private Menu createDataSources()
DataSources configured for the application.
private Menu createConnections()
Connections for the application user.
private MenuItem createConnection()
private void createQueries()
createQueryExecutor(),
createBatchQueryExecutor(),
createSavedQueries()private MenuItem createQueryExecutor()
QueryExecutorView component.
private MenuItem createBatchQueryExecutor()
BatchQueryExecutorView component.
private Menu createSavedQueries()
createSavedQueries( Category )private Menu createSavedQueries(Category category)
category - The category under which saved queries are stored.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||