java.lang.Object
jp.ecuacion.splib.web.bean.HtmlItem
jp.ecuacion.splib.web.bean.HtmlItemNumber
Is used for number field.
-
Nested Class Summary
Nested classes/interfaces inherited from class jp.ecuacion.splib.web.bean.HtmlItem
HtmlItem.HtmlItemCondition<T>, HtmlItem.HtmlItemConditionContainer<T>, HtmlItem.HtmlItemConditionKeyEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDetermins whether commas are used or not.Fields inherited from class jp.ecuacion.splib.web.bean.HtmlItem
isNotEmpty, itemKindIdField, itemKindIdFieldForName, propertyPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisNotEmpty(boolean isNotEmpty) Sets isNotEmpty.isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmpty with the conditions ofHtmlItemConditionKeyEnum,authString.itemKindIdFieldForName(String itemKindIdFieldForName) SetsitemKindIdFieldForNameand returns this for method chain.needsCommas(boolean needsCommas) Returns needsCommas.Methods inherited from class jp.ecuacion.splib.web.bean.HtmlItem
getIsNotEmpty, getItemKindIdField, getItemKindIdFieldForName, getPropertyPath
-
Field Details
-
needsCommas
protected boolean needsCommasDetermins whether commas are used or not.
-
-
Constructor Details
-
HtmlItemNumber
Constructs a new instance.- Parameters:
propertyPath- propertyPath- See Also:
-
-
Method Details
-
itemKindIdFieldForName
Description copied from class:HtmlItemSetsitemKindIdFieldForNameand returns this for method chain.- Overrides:
itemKindIdFieldForNamein classHtmlItem- Parameters:
itemKindIdFieldForName- itemKindIdFieldForName- Returns:
- HtmlItem
-
isNotEmpty
Description copied from class:HtmlItemSets isNotEmpty.Set
truewhen you want to the item is required.- Overrides:
isNotEmptyin classHtmlItem- Parameters:
isNotEmpty- isNotEmpty- Returns:
- HtmlItem
-
isNotEmpty
public HtmlItemNumber isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Description copied from class:HtmlItemSets isNotEmpty with the conditions ofHtmlItemConditionKeyEnum,authString.When you set multiple conditions to it, the order matters. First condition prioritized.
- Overrides:
isNotEmptyin classHtmlItem- Parameters:
authKind- authKindauthString- authStringisNotEmpty- isNotEmpty- Returns:
- HtmlItem
-
needsCommas
Returns needsCommas.- Parameters:
needsCommas- needsCommas- Returns:
- HtmlItemNumber
-
getNeedsCommas
public boolean getNeedsCommas()
-