Class LD
- java.lang.Object
-
- com.logicaldoc.gui.common.client.util.LD
-
public class LD extends Object
This class contains useful methods for objects visualization.- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description LD()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
ask(String title, String message, com.smartgwt.client.util.BooleanCallback callback)
static void
ask(String title, String message, Integer width, com.smartgwt.client.util.BooleanCallback callback)
Show a dialog to confirm a operationstatic void
askForDocumentPassword(String title, String message, Integer width, com.smartgwt.client.util.ValueCallback callback)
static void
askforString(String title, String message, String defaultValue, com.smartgwt.client.util.ValueCallback callback)
static void
askforValue(String title, String message, String defaultValue, com.smartgwt.client.widgets.form.fields.FormItem item, com.smartgwt.client.util.ValueCallback callback)
static void
askForValue(String title, String message, String defaultValue, com.smartgwt.client.util.ValueCallback callback)
static void
askForValue(String title, String message, String defaultValue, com.smartgwt.client.widgets.form.fields.FormItem item, Integer width, com.smartgwt.client.util.ValueCallback callback)
Show a dialog asking for a value to complete an operation.static void
askForValue(String title, String message, String defaultValue, Integer width, com.smartgwt.client.util.ValueCallback callback)
Show a dialog asking for a value to complete a operation
-
-
-
Method Detail
-
ask
public static void ask(String title, String message, Integer width, com.smartgwt.client.util.BooleanCallback callback)
Show a dialog to confirm a operation- Parameters:
title
- title of the dialog boxmessage
- text printed in the body of the dialog boxwidth
- width dimension expressed in pixelscallback
- a call back invoked when the user confirm his choice
-
ask
public static void ask(String title, String message, com.smartgwt.client.util.BooleanCallback callback)
-
askForValue
public static void askForValue(String title, String message, String defaultValue, Integer width, com.smartgwt.client.util.ValueCallback callback)
Show a dialog asking for a value to complete a operation- Parameters:
title
- title of the dialog boxmessage
- text printed in the body of the dialog boxdefaultValue
- default valuewidth
- width of the dialog boxcallback
- call back used when the user confirms the input
-
askForDocumentPassword
public static void askForDocumentPassword(String title, String message, Integer width, com.smartgwt.client.util.ValueCallback callback)
-
askForValue
public static void askForValue(String title, String message, String defaultValue, com.smartgwt.client.util.ValueCallback callback)
-
askForValue
public static void askForValue(String title, String message, String defaultValue, com.smartgwt.client.widgets.form.fields.FormItem item, Integer width, com.smartgwt.client.util.ValueCallback callback)
Show a dialog asking for a value to complete an operation. The provided form item will be used- Parameters:
title
- title of the dialog boxmessage
- text printed in the body of the dialog boxdefaultValue
- default valueitem
- the item used to input the valuewidth
- width of the dialog boxcallback
- call back used when the user confirms the input
-
askforValue
public static void askforValue(String title, String message, String defaultValue, com.smartgwt.client.widgets.form.fields.FormItem item, com.smartgwt.client.util.ValueCallback callback)
-
-