public class MetaUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COL
Use in component hint when setting default cols attribute for TextArea based components.
|
static String |
NO_MINUS
Use in component hint when rendering componet maxsize should not calculate extra space for minus sign.
|
static String |
NO_SEPARATOR
Use in component hint when rendering componet maxsize should not calculate extra space for thousent separators.
|
static String |
ROW
Use in component hint when setting default rows attribute for TextArea based components.
|
static String |
TEXT_AREA
Use in component hint when rendering of TextArea component is required.
|
| Constructor and Description |
|---|
MetaUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findHintText(SearchPropertyMetaModel spm) |
static PropertyMetaModel<?> |
findLastProperty(List<PropertyMetaModel<?>> pl) |
static PropertyMetaModel<?> |
findLastProperty(SearchPropertyMetaModel spm) |
static PropertyMetaModel<?> |
getLastProperty(List<PropertyMetaModel<?>> pl) |
static PropertyMetaModel<?> |
getLastProperty(SearchPropertyMetaModel spm) |
static int |
parseIntParam(String metadataLine,
String paramName,
int defaultValue)
Parses value of param defined in metadataLine string as Integer value.
|
static String |
parseStringParam(String metadataLine,
String paramName) |
public static final String NO_MINUS
public static final String NO_SEPARATOR
public static final String TEXT_AREA
public static final String ROW
public static final String COL
public static int parseIntParam(String metadataLine, String paramName, int defaultValue)
public static PropertyMetaModel<?> findLastProperty(List<PropertyMetaModel<?>> pl)
pl - public static PropertyMetaModel<?> findLastProperty(SearchPropertyMetaModel spm)
public static PropertyMetaModel<?> getLastProperty(List<PropertyMetaModel<?>> pl)
public static PropertyMetaModel<?> getLastProperty(SearchPropertyMetaModel spm)
public static String findHintText(SearchPropertyMetaModel spm)
Copyright © 2017 etc.to. All rights reserved.