Class HtmlItemNumber
java.lang.Object
jp.ecuacion.lib.core.item.EclibItem
jp.ecuacion.splib.web.item.HtmlItem
jp.ecuacion.splib.web.item.HtmlItemNumber
Is used for number item.
-
Nested Class Summary
Nested classes/interfaces inherited from class HtmlItem
HtmlItem.HtmlItemCondition<T>, HtmlItem.HtmlItemConditionContainer<T>, HtmlItem.HtmlItemConditionKeyEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDetermines whether commas are used or not.Fields inherited from class HtmlItem
isNotEmpty, isNotEmptyOnSearchFields inherited from class jp.ecuacion.lib.core.item.EclibItem
itemNameKeyClass, itemNameKeyField, itemPropertyPath, showsValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisNotEmpty(boolean isNotEmpty) Sets isNotEmpty toisNotEmpty.isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmpty toisNotEmptywith the conditions ofHtmlItemConditionKeyEnum,authString.isNotEmptyOnSearch(boolean isNotEmpty) Sets required.isNotEmptyOnSearch(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmptyOnSearch with the conditions ofHtmlItemConditionKeyEnum,authString.itemNameKey(String itemNameKey) needsCommas(boolean needsCommas) Returns needsCommas.notEmpty()Sets isNotEmpty == true, which means you want the item to be not empty.Sets required.Methods inherited from class HtmlItem
getIsNotEmpty, getIsNotEmptyOnSearchMethods inherited from class jp.ecuacion.lib.core.item.EclibItem
getItemNameKey, getItemNameKey, getItemPropertyPath, getShowsValue, setsItemNameKeyClassExplicitly
-
Field Details
-
needsCommas
protected boolean needsCommasDetermines whether commas are used or not.
-
-
Constructor Details
-
HtmlItemNumber
Constructs a new instance.- Parameters:
itemPropertyPath- propertyPath- See Also:
-
-
Method Details
-
itemNameKey
- Overrides:
itemNameKeyin classHtmlItem
-
hideValue
-
notEmpty
Description copied from class:HtmlItemSets isNotEmpty == true, which means you want the item to be not empty. -
isNotEmpty
Description copied from class:HtmlItemSets isNotEmpty toisNotEmpty.- 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 toisNotEmptywith 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
-
notEmptyOnSearch
Description copied from class:HtmlItemSets required.- Overrides:
notEmptyOnSearchin classHtmlItem- Returns:
- HtmlItem
-
isNotEmptyOnSearch
Description copied from class:HtmlItemSets required.- Overrides:
isNotEmptyOnSearchin classHtmlItem- Returns:
- HtmlItem
-
isNotEmptyOnSearch
public HtmlItemNumber isNotEmptyOnSearch(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Description copied from class:HtmlItemSets isNotEmptyOnSearch with the conditions ofHtmlItemConditionKeyEnum,authString.When you set multiple conditions to it, the order matters. First condition prioritized.
- Overrides:
isNotEmptyOnSearchin classHtmlItem- Parameters:
authKind- authKindauthString- authStringisNotEmpty- isRequired- Returns:
- HtmlItem
-
needsCommas
Returns needsCommas.- Parameters:
needsCommas- needsCommas- Returns:
- HtmlItemNumber
-
getNeedsCommas
public boolean getNeedsCommas()
-