public class FieldUtil extends Object
| Constructor and Description |
|---|
FieldUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addValuesToListBox(com.github.gwtbootstrap.client.ui.ListBox list,
List<String> listValues)
Adds the values to list box.
|
static com.github.gwtbootstrap.client.ui.ControlGroup |
getParentControlGroupOfWidget(com.google.gwt.user.client.ui.Widget widget)
Gets the parent control group of widget.
|
static String |
getTextValue(com.github.gwtbootstrap.client.ui.TextBox box)
Gets the text value.
|
static boolean |
isValidValue(String value)
Checks if is valid value.
|
static void |
selectValueToListBox(com.github.gwtbootstrap.client.ui.ListBox list,
List<String> values)
Select value to list box.
|
static void |
setControlGroup(com.github.gwtbootstrap.client.ui.ControlGroup controlGroup,
com.github.gwtbootstrap.client.ui.constants.ControlGroupType type)
Sets the control group.
|
static List<String> |
toZenodoIds(List<LicenseBean> listLicenses)
To zenodo ids.
|
public static boolean isValidValue(String value)
value - the valuepublic static com.github.gwtbootstrap.client.ui.ControlGroup getParentControlGroupOfWidget(com.google.gwt.user.client.ui.Widget widget)
widget - the widgetpublic static void setControlGroup(com.github.gwtbootstrap.client.ui.ControlGroup controlGroup,
com.github.gwtbootstrap.client.ui.constants.ControlGroupType type)
controlGroup - the control grouptype - the typepublic static String getTextValue(com.github.gwtbootstrap.client.ui.TextBox box)
box - the boxpublic static void addValuesToListBox(com.github.gwtbootstrap.client.ui.ListBox list,
List<String> listValues)
list - the listlistValues - the list valuespublic static List<String> toZenodoIds(List<LicenseBean> listLicenses)
listLicenses - the list licensesCopyright © 2021. All Rights Reserved.