API Overview
API Index
Package Overview
Direct link to this page
JavaOnTracks 0.1.2
net.jot.web.forms.ui.
JOTFormField
View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
Object
JOTFormField
Implements
Cloneable
Subclasses
See ALL subclasses
JOTFormCheckboxField
JOTFormHiddenField
JOTFormRadioField
JOTFormSelectField
JOTFormTextareaField
JOTFormTextField
See DIRECT subclasses
JOTFormCaptchaField
JOTFormCheckboxField
JOTFormHiddenField
JOTFormPasswordField
JOTFormRadioField
JOTFormSelectField
JOTFormTextareaField
JOTFormTextField
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
abstract
abstract class JOTFormField
Generic form field, use subclasses instead such as JOTFormTextField Note: clonable, watch if adding mutable fields later
See also:
Constructors
public
JOTFormField
()
Methods
Hide/Show inherited methods
public
Object
clone
() throws
CloneNotSupportedException
public
String
getDefaultValue
()
public
String
getDescription
()
public
String
getHelp
()
public
String
getName
()
public
int
getType
()
public
boolean
isSaveAutomatically
()
public
void
setDefaultValue
(
String
defaultValue)
The form value if non exists yet
The form value if non exists yet
Parameters:
-
defaultValue
-
public
void
setDescription
(
String
description)
public
void
setHelp
(
String
help)
public
void
setName
(
String
name)
public
void
setSaveAutomatically
(
boolean
saveAutomatically)
If false, then that particular field won't be saved.
If false, then that particular field won't be saved.
Parameters:
-
saveAutomatically
-
public
void
setType
(
int
fieldType)
Fields
Hide/Show inherited fields
protected
String
defaultValue
protected
String
description
protected
String
name
protected
boolean
saveAutomatically
If set to false, the save() method will NOT save this field Use to have a form field that you don't want to save (or not as part of the save() method at least)
protected
int
type
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.5 ©Thibaut Colar