|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.component.meta.MetaUtils
public class MetaUtils
Utility class used as utility method library for working with meta data.
Field Summary | |
---|---|
static java.lang.String |
COL
Use in component hint when setting default cols attribute for TextArea based components. |
static java.lang.String |
NO_MINUS
Use in component hint when rendering componet maxsize should not calculate extra space for minus sign. |
static java.lang.String |
NO_SEPARATOR
Use in component hint when rendering componet maxsize should not calculate extra space for thousent separators. |
static java.lang.String |
ROW
Use in component hint when setting default rows attribute for TextArea based components. |
static java.lang.String |
TEXT_AREA
Use in component hint when rendering of TextArea component is required. |
Constructor Summary | |
---|---|
MetaUtils()
|
Method Summary | |
---|---|
static java.lang.String |
findHintText(SearchPropertyMetaModel spm)
|
static PropertyMetaModel<?> |
findLastProperty(java.util.List<PropertyMetaModel<?>> pl)
|
static PropertyMetaModel<?> |
findLastProperty(SearchPropertyMetaModel spm)
|
static PropertyMetaModel<?> |
getLastProperty(java.util.List<PropertyMetaModel<?>> pl)
|
static PropertyMetaModel<?> |
getLastProperty(SearchPropertyMetaModel spm)
|
static int |
parseIntParam(java.lang.String metadataLine,
java.lang.String paramName,
int defaultValue)
Parses value of param defined in metadataLine string as Integer value. |
static java.lang.String |
parseStringParam(java.lang.String metadataLine,
java.lang.String paramName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NO_MINUS
public static final java.lang.String NO_SEPARATOR
public static final java.lang.String TEXT_AREA
public static final java.lang.String ROW
public static final java.lang.String COL
Constructor Detail |
---|
public MetaUtils()
Method Detail |
---|
public static int parseIntParam(java.lang.String metadataLine, java.lang.String paramName, int defaultValue)
public static java.lang.String parseStringParam(java.lang.String metadataLine, java.lang.String paramName)
public static PropertyMetaModel<?> findLastProperty(java.util.List<PropertyMetaModel<?>> pl)
pl
-
public static PropertyMetaModel<?> findLastProperty(SearchPropertyMetaModel spm)
public static PropertyMetaModel<?> getLastProperty(java.util.List<PropertyMetaModel<?>> pl)
public static PropertyMetaModel<?> getLastProperty(SearchPropertyMetaModel spm)
public static java.lang.String findHintText(SearchPropertyMetaModel spm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |