public class MustTimeField extends MustTextField
Modifier and Type | Field and Description |
---|---|
protected java.util.Locale |
locale |
additionalTagFragments, className, editable, enabled, fontSize, maxlength, required, size
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
MustTimeField()
Constructs a new date input field.
|
MustTimeField(java.util.Locale locale,
java.lang.String name)
Constructs a new date input field for locale as specified.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
java.sql.Time |
getSqlTime()
Returns the component's value as an sql date.
|
TimeString |
getTimeString()
Returns the component's value as a TimeString.
|
boolean |
isValid()
Returns true the text field is valid.
|
void |
setTime(java.sql.Time newTime)
Sets the time.
|
fetchYourValueFromRequest, getCreationTag, getText, getTextOrNullIfEmpty, isFilled, isModified, isRequirementUnfulfilled, setAdditionalTagFragments, setClassName, setColumns, setDefaultAdditionalTagFragments, setDefaultClassName, setEditable, setEnabled, setFontSize, setMaxlength, setRequired, setText, toString
destroy, getName, setComment, setFocus, setPlaceHolder, setToolTipText
public MustTimeField()
public MustTimeField(java.util.Locale locale, java.lang.String name)
locale
- the formatting relevant localename
- the name of the date field to be used.public void setTime(java.sql.Time newTime)
newTime
- the new value of the time fieldpublic boolean isValid()
isValid
in class MustTextField
public java.sql.Time getSqlTime()
public TimeString getTimeString()
public int getIntValue()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de