Package uibooster.model
Klasse FormElement<T>
java.lang.Object
uibooster.model.FormElement<T>
- Bekannte direkte Unterklassen:
ButtonFormElement
,CheckboxFormElement
,CheckboxSelectionFormElement
,ColorPickerElement
,DatePickerElement
,FilterableCheckboxListFormElement
,FontChooserElement
,HtmlTextFormElement
,ImageFormElement
,LabelFormElement
,ListFormElement
,ProgressElement
,RowFormElement
,SelectionFormElement
,SliderFormElement
,TableFormElement
,TextAreaFormElement
,TextFormElement
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasColor()
asDate()
asFloat()
asInt()
asString()
abstract JComponent
createComponent
(FormElementChangeListener onChange) getId()
int
getIndex()
getLabel()
int
int
int
int
abstract T
getValue()
boolean
void
setBinding
(Data<T> binding) abstract void
setEnabled
(boolean enable) void
setFormIndex
(int formIndex) void
void
setMargin
(int marginLeft, int marginTop, int marginRight, int marginBottom) void
setTooltip
(String tooltip) abstract void
void
toButton()
toList()
toRow()
toTable()
-
Konstruktordetails
-
FormElement
-
-
Methodendetails
-
setFormIndex
public void setFormIndex(int formIndex) -
setBinding
-
createComponent
-
setEnabled
public abstract void setEnabled(boolean enable) -
getValue
-
setValue
-
setId
-
getLabel
-
getId
-
getIndex
public int getIndex() -
asFloat
-
asInt
-
asString
-
asDate
-
asDateFormatted
-
asColor
-
asColorHex
-
toTable
-
toList
-
toRow
-
toSelection
-
toProgress
-
toButton
-
setMargin
public void setMargin(int marginLeft, int marginTop, int marginRight, int marginBottom) -
setTooltip
-
getMarginLeft
public int getMarginLeft() -
getMarginTop
public int getMarginTop() -
getMarginRight
public int getMarginRight() -
getMarginBottom
public int getMarginBottom() -
getTooltip
-
hasBinding
public boolean hasBinding() -
setValueFromBinding
public void setValueFromBinding()
-