Class HtmlItemSelect
java.lang.Object
jp.ecuacion.lib.core.item.EclibItem
jp.ecuacion.splib.web.item.HtmlItem
jp.ecuacion.splib.web.item.HtmlItemSelect
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
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 TypeMethodDescriptionThis is defined just like other HtmlItems but it doesn't seem to be needed because it's impossible to select an option with value hidden.isNotEmpty(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) 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
-
Constructor Details
-
HtmlItemSelect
Constructs a new instance.- Parameters:
itemPropertyPath- propertyPath- See Also:
-
-
Method Details
-
itemNameKey
- Overrides:
itemNameKeyin classHtmlItem
-
hideValue
This is defined just like other HtmlItems but it doesn't seem to be needed because it's impossible to select an option with value hidden. -
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 HtmlItemSelect 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 HtmlItemSelect 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
-