Package nl.gx.forms.wmpformapi.api
Interface BasicFormInputFragmentListItem
-
public interface BasicFormInputFragmentListItem
Interface for a single possible value for a BasicFormListInputFragment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the display name to use for this value.String
getValue()
Returns the actual value for this item.boolean
isDefaultSelected()
Returns whether this list item should be enabled by default.
-
-
-
Method Detail
-
getValue
String getValue()
Returns the actual value for this item. This is the value that is used in the session and in the value-attribute of the option html tag.- Returns:
- the actual value for this item
-
getName
String getName()
Returns the display name to use for this value. This is what is shown to the user.- Returns:
- the display name to use for this value
-
isDefaultSelected
boolean isDefaultSelected()
Returns whether this list item should be enabled by default.- Returns:
- whether this list item should be enabled by default
-
-