Class FormInputModel
- java.lang.Object
-
- org.apache.wicket.examples.forminput.FormInputModel
-
- All Implemented Interfaces:
Serializable,IClusterable
public final class FormInputModel extends Object implements IClusterable
Simple model object for FormInput example. Has a number of simple properties that can be retrieved and set.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFormInputModel.LineRepresents a line of text.
-
Constructor Summary
Constructors Constructor Description FormInputModel()Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetBooleanProperty()Gets the booleanProperty.DoublegetDoubleProperty()Gets doubleProperty.IntegergetIntegerInRangeProperty()Gets integerInRangeProperty.IntegergetIntegerProperty()Gets integerProperty.List<FormInputModel.Line>getLines()Gets lines.IntegergetMultiply()StringgetNumberRadioChoice()Gets the favoriteColor.List<String>getNumbersCheckGroup()StringgetNumbersGroup()UsPhoneNumbergetPhoneNumberUS()Set<String>getSiteSelection()Gets the selectedSites.StringgetStringProperty()Gets stringProperty.URLgetUrlProperty()Gets the urlProperty.voidsetBooleanProperty(Boolean booleanProperty)Sets the booleanProperty.voidsetDoubleProperty(Double doubleProperty)Sets doubleProperty.voidsetIntegerInRangeProperty(Integer integerInRangeProperty)Sets integerInRangeProperty.voidsetIntegerProperty(Integer integerProperty)Sets integerProperty.voidsetLines(List<FormInputModel.Line> lines)Sets lines.voidsetMultiply(Integer multiply)voidsetNumberRadioChoice(String favoriteColor)Sets the favoriteColor.voidsetNumbersGroup(String group)Sets the number.voidsetPhoneNumberUS(UsPhoneNumber phoneNumberUS)voidsetSiteSelection(Set<String> selectedSites)Sets the selectedSites.voidsetStringProperty(String stringProperty)Sets stringProperty.voidsetUrlProperty(URL urlProperty)Sets the urlProperty.StringtoString()
-
-
-
Method Detail
-
getBooleanProperty
public Boolean getBooleanProperty()
Gets the booleanProperty.- Returns:
- booleanProperty
-
getDoubleProperty
public Double getDoubleProperty()
Gets doubleProperty.- Returns:
- doubleProperty
-
getIntegerInRangeProperty
public Integer getIntegerInRangeProperty()
Gets integerInRangeProperty.- Returns:
- integerInRangeProperty
-
getIntegerProperty
public Integer getIntegerProperty()
Gets integerProperty.- Returns:
- integerProperty
-
getLines
public List<FormInputModel.Line> getLines()
Gets lines.- Returns:
- lines
-
getMultiply
public Integer getMultiply()
- Returns:
- gets multiply
-
getNumberRadioChoice
public String getNumberRadioChoice()
Gets the favoriteColor.- Returns:
- favoriteColor
-
getNumbersGroup
public String getNumbersGroup()
- Returns:
- the group number
-
getPhoneNumberUS
public UsPhoneNumber getPhoneNumberUS()
- Returns:
- the phoneNumberUS
-
getSiteSelection
public Set<String> getSiteSelection()
Gets the selectedSites.- Returns:
- selectedSites
-
getStringProperty
public String getStringProperty()
Gets stringProperty.- Returns:
- stringProperty
-
getUrlProperty
public URL getUrlProperty()
Gets the urlProperty.- Returns:
- urlProperty
-
setBooleanProperty
public void setBooleanProperty(Boolean booleanProperty)
Sets the booleanProperty.- Parameters:
booleanProperty- booleanProperty
-
setDoubleProperty
public void setDoubleProperty(Double doubleProperty)
Sets doubleProperty.- Parameters:
doubleProperty- doubleProperty
-
setIntegerInRangeProperty
public void setIntegerInRangeProperty(Integer integerInRangeProperty)
Sets integerInRangeProperty.- Parameters:
integerInRangeProperty- integerInRangeProperty
-
setIntegerProperty
public void setIntegerProperty(Integer integerProperty)
Sets integerProperty.- Parameters:
integerProperty- integerProperty
-
setLines
public void setLines(List<FormInputModel.Line> lines)
Sets lines.- Parameters:
lines- lines
-
setMultiply
public void setMultiply(Integer multiply)
- Parameters:
multiply- the multiply to set
-
setNumberRadioChoice
public void setNumberRadioChoice(String favoriteColor)
Sets the favoriteColor.- Parameters:
favoriteColor- favoriteColor
-
setNumbersGroup
public void setNumbersGroup(String group)
Sets the number.- Parameters:
group- number
-
setPhoneNumberUS
public void setPhoneNumberUS(UsPhoneNumber phoneNumberUS)
- Parameters:
phoneNumberUS- the phoneNumberUS to set
-
setSiteSelection
public void setSiteSelection(Set<String> selectedSites)
Sets the selectedSites.- Parameters:
selectedSites- selectedSites
-
setStringProperty
public void setStringProperty(String stringProperty)
Sets stringProperty.- Parameters:
stringProperty- stringProperty
-
setUrlProperty
public void setUrlProperty(URL urlProperty)
Sets the urlProperty.- Parameters:
urlProperty- urlProperty
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-