Package org.loboevolution.gui
Class FormField
java.lang.Object
org.loboevolution.gui.FormField
The Class FormField.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new form field.Instantiates a new form field.Instantiates a new form field.Instantiates a new form field. -
Method Summary
Modifier and TypeMethodDescriptionGets the caption.Gets the field editor.getLabel()
Gets the loboLabel.Gets the tool tip.getValue()
Gets the value.boolean
Checks if is editable.void
setCaption
(String caption) Sets the caption.void
setEditable
(boolean editable) Sets the editable.void
setToolTip
(String tooltip) Sets the tool tip.void
Sets the value.
-
Field Details
-
type
The type.
-
-
Constructor Details
-
FormField
Instantiates a new form field.- Parameters:
type
- the type
-
FormField
Instantiates a new form field.- Parameters:
type
- the typeeditable
- the editable
-
FormField
Instantiates a new form field.- Parameters:
type
- the typecaption
- the caption
-
FormField
Instantiates a new form field.- Parameters:
type
- the typecaption
- the captioneditable
- the editable
-
-
Method Details
-
getCaption
Gets the caption.- Returns:
- the caption
-
getFieldEditor
Gets the field editor.- Returns:
- the field editor
-
getLabel
Gets the loboLabel.- Returns:
- the loboLabel
-
getToolTip
Gets the tool tip.- Returns:
- the tool tip
-
getValue
Gets the value.- Returns:
- the value
-
isEditable
public boolean isEditable()Checks if is editable.- Returns:
- true, if is editable
-
setCaption
Sets the caption.- Parameters:
caption
- the new caption
-
setEditable
public void setEditable(boolean editable) Sets the editable.- Parameters:
editable
- the new editable
-
setToolTip
Sets the tool tip.- Parameters:
tooltip
- the new tool tip
-
setValue
Sets the value.- Parameters:
value
- the new value
-