|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.joseluismartin.vaadin.ui.FormUtils
public abstract class FormUtils
Form Utility Library
Field Summary | |
---|---|
static int |
CANCEL
|
static int |
OK
|
Constructor Summary | |
---|---|
FormUtils()
|
Method Summary | |
---|---|
static void |
addOKCancelButtons(com.vaadin.ui.Form f)
Add a default commit/discard buttons to a form |
static void |
closeWindow(com.vaadin.ui.Window window)
Closes a sub Window |
static com.vaadin.ui.Button |
newButton(ButtonListener buttonListener)
Build a new Button from Button Listener |
static void |
showConfirmDialog(com.vaadin.ui.Window window,
Command command,
String msg)
Show a YES/NO confirm dialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int OK
public static int CANCEL
Constructor Detail |
---|
public FormUtils()
Method Detail |
---|
public static void addOKCancelButtons(com.vaadin.ui.Form f)
f
- the Formpublic static void closeWindow(com.vaadin.ui.Window window)
window
- Window to closepublic static com.vaadin.ui.Button newButton(ButtonListener buttonListener)
buttonListener
-
public static void showConfirmDialog(com.vaadin.ui.Window window, Command command, String msg)
window
- Window to attach the dialogmsg
- the msg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |