org.exoplatform.gwtframework.ui.client.dialog
Class GWTDialogs
java.lang.Object
org.exoplatform.gwtframework.ui.client.dialog.Dialogs
org.exoplatform.gwtframework.ui.client.dialog.GWTDialogs
public class GWTDialogs
- extends Dialogs
Created by The eXo Platform SAS .
- Version:
- $
- Author:
- Vitaliy Gulyy
|
Method Summary |
ImageButton |
createButton(java.lang.String title,
com.google.gwt.resources.client.ImageResource icon)
Create button. |
static com.google.gwt.user.client.ui.HorizontalPanel |
createImageWithTextLayout(com.google.gwt.resources.client.ImageResource icon,
java.lang.String text)
Creates layout with pointed image and text near it. |
static TextField |
createTextField(java.lang.String name,
java.lang.String title,
int width,
java.lang.String value)
|
com.google.gwt.user.client.ui.Panel |
getRootPanel()
|
protected void |
openAskDialog(java.lang.String title,
java.lang.String message)
|
protected void |
openAskForValueDialog(java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
|
protected void |
openInfoDialog(java.lang.String title,
java.lang.String message)
|
protected void |
openWarningDialog(java.lang.String title,
java.lang.String message)
|
void |
setRootPanel(com.google.gwt.user.client.ui.Panel rootPanel)
|
| Methods inherited from class org.exoplatform.gwtframework.ui.client.dialog.Dialogs |
ask, askForValue, getInstance, showDialog, showError, showError, showError, showInfo, showInfo, showInfo, showQueueDialog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GWTDialogs
public GWTDialogs()
GWTDialogs
public GWTDialogs(com.google.gwt.user.client.ui.Panel rootPanel)
getRootPanel
public com.google.gwt.user.client.ui.Panel getRootPanel()
setRootPanel
public void setRootPanel(com.google.gwt.user.client.ui.Panel rootPanel)
createTextField
public static TextField createTextField(java.lang.String name,
java.lang.String title,
int width,
java.lang.String value)
- Parameters:
name - title - title near input fieldwidth - widthvalue - value by default
- Returns:
TextField
openAskForValueDialog
protected void openAskForValueDialog(java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
- Specified by:
openAskForValueDialog in class Dialogs
openAskDialog
protected void openAskDialog(java.lang.String title,
java.lang.String message)
- Specified by:
openAskDialog in class Dialogs
openWarningDialog
protected void openWarningDialog(java.lang.String title,
java.lang.String message)
- Specified by:
openWarningDialog in class Dialogs
openInfoDialog
protected void openInfoDialog(java.lang.String title,
java.lang.String message)
- Specified by:
openInfoDialog in class Dialogs
createButton
public ImageButton createButton(java.lang.String title,
com.google.gwt.resources.client.ImageResource icon)
- Create button.
- Parameters:
title - button's titleicon - button's image
- Returns:
IButton
createImageWithTextLayout
public static com.google.gwt.user.client.ui.HorizontalPanel createImageWithTextLayout(com.google.gwt.resources.client.ImageResource icon,
java.lang.String text)
- Creates layout with pointed image and text near it.
- Parameters:
icon - image to displaytext - text to display
- Returns:
HorizontalPanel
Copyright © 2012 eXo Platform SAS. All Rights Reserved.