|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.gwt.client.WebUI
public class WebUI
The WebUI is the GWT client interpreter for JVx applications. It handles
the initialization and rendering.
| Field Summary | |
|---|---|
static boolean |
buildingUI
Building UI. |
static SelectionListener<ButtonEvent> |
BUTTON_LISTENER
ButtonListener for Button Events. |
static Listener<FieldEvent> |
CHECKBOX_CHANGELISTENER
Component data key listener. |
static Listener<FieldEvent> |
CHECKBOX_LISTENER
Component data key listener. |
static SelectionListener<MenuEvent> |
CHECKMENU_CHANGELISTENER
Component data key listener. |
static KeyListener |
COMPONENTDATA_KEYLISTENER
Component data key listener. |
static SelectionListener<ButtonEvent> |
COMPONENTDATA_SELECTIONLISTENER
ButtonListener for Button Events. |
static SelectionListener<MenuEvent> |
MENUITEM_LISTENER
ButtonListener for Button Events. |
static Listener<ComponentEvent> |
WINDOW_LISTENER
ButtonListener for Button Events. |
| Constructor Summary | |
|---|---|
WebUI()
Creates a new instance of WebUI. |
|
| Method Summary | ||
|---|---|---|
static void |
dispatchEvent(ServiceEvent pEvent)
Dispatches an event to the server. |
|
static
|
dispatchEvent(ServiceEvent pEvent,
AsyncCallback<R> pCallBack)
Dispatches an event to the server and handles the result in async manner. |
|
static String |
getClientId()
Gets the id of this client. |
|
static WebUI |
getInstance()
The WebUI instance. |
|
static LayoutContainer |
getRoot()
The root. |
|
static GVxMask |
mask()
Masks the application. |
|
void |
onModuleLoad()
This is the entry point method. |
|
protected void |
restart()
Starts the application after it is already started. |
|
static void |
setComponentData(String pId,
Object pData)
Sets the component data that changed and has to be sent to the client. |
|
static void |
startup(String pMain,
String pConfig)
Starts a specific application on the server. |
|
static void |
unmask()
Unmasks the application. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean buildingUI
public static final KeyListener COMPONENTDATA_KEYLISTENER
public static final SelectionListener<ButtonEvent> COMPONENTDATA_SELECTIONLISTENER
public static final SelectionListener<ButtonEvent> BUTTON_LISTENER
public static final Listener<FieldEvent> CHECKBOX_CHANGELISTENER
public static final Listener<FieldEvent> CHECKBOX_LISTENER
public static final SelectionListener<MenuEvent> CHECKMENU_CHANGELISTENER
public static final SelectionListener<MenuEvent> MENUITEM_LISTENER
public static final Listener<ComponentEvent> WINDOW_LISTENER
| Constructor Detail |
|---|
public WebUI()
WebUI.
| Method Detail |
|---|
public void onModuleLoad()
onModuleLoad in interface EntryPointpublic static String getClientId()
public static void startup(String pMain,
String pConfig)
pMain - the main class to startpConfig - the application configuration filepublic static void dispatchEvent(ServiceEvent pEvent)
pEvent - the event
public static <R extends ServiceResult> void dispatchEvent(ServiceEvent pEvent,
AsyncCallback<R> pCallBack)
R - the event resultpEvent - the eventpCallBack - the call back handlerpublic static WebUI getInstance()
public static LayoutContainer getRoot()
public static void setComponentData(String pId,
Object pData)
pId - the IdpData - the datapublic static GVxMask mask()
public static void unmask()
protected void restart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||