Class PrometheusFieldSetTextArea<T>
java.lang.Object
io.github.tonywasher.joceanus.prometheus.ui.fieldset.PrometheusFieldSetTextArea<T>
- Type Parameters:
T- the item type
- All Implemented Interfaces:
PrometheusFieldSetPanel<T>,TethysUIComponent
FieldSet TextArea.
-
Constructor Summary
ConstructorsConstructorDescriptionPrometheusFieldSetTextArea(TethysUIFactory<?> pFactory, PrometheusFieldSet<T> pFieldSet) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(MetisDataItem.MetisDataFieldId pFieldId, TethysUIDataEditField.TethysUICharArrayTextAreaField pField, Function<T, char[]> pValueFactory) Add field to panel.voidAdjust changed indications.Obtain the underlying component (if any).booleanAre there any visible elements?voidsetEditable(boolean isEditable) Set editable item.voidsetEditable(MetisDataItem.MetisDataFieldId pFieldId, boolean pEditable) Set editable.voidSet item.voidsetReporter(Consumer<String> pReporter) Set reporter.voidsetVisible(MetisDataItem.MetisDataFieldId pFieldId, boolean pVisible) Set visible.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.prometheus.ui.fieldset.PrometheusFieldSetPanel
adjustLabelWidthMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, setBorderPadding, setBorderTitle, setEnabled, setPreferredHeight, setPreferredWidth, setVisible
-
Constructor Details
-
PrometheusFieldSetTextArea
PrometheusFieldSetTextArea(TethysUIFactory<?> pFactory, PrometheusFieldSet<T> pFieldSet) Constructor.- Parameters:
pFactory- the factorypFieldSet- the fieldSet
-
-
Method Details
-
getUnderlying
Description copied from interface:TethysUIComponentObtain the underlying component (if any).- Specified by:
getUnderlyingin interfaceTethysUIComponent- Returns:
- the underlying component
-
addField
public void addField(MetisDataItem.MetisDataFieldId pFieldId, TethysUIDataEditField.TethysUICharArrayTextAreaField pField, Function<T, char[]> pValueFactory) Add field to panel.- Parameters:
pFieldId- the fieldIdpField- the edit fieldpValueFactory- the valueFactory
-
isVisible
public boolean isVisible()Description copied from interface:PrometheusFieldSetPanelAre there any visible elements?- Specified by:
isVisiblein interfacePrometheusFieldSetPanel<T>- Returns:
- true/false
-
setItem
Description copied from interface:PrometheusFieldSetPanelSet item.- Specified by:
setItemin interfacePrometheusFieldSetPanel<T>- Parameters:
pItem- the item
-
adjustChanged
public void adjustChanged()Description copied from interface:PrometheusFieldSetPanelAdjust changed indications.- Specified by:
adjustChangedin interfacePrometheusFieldSetPanel<T>
-
setEditable
public void setEditable(boolean isEditable) Description copied from interface:PrometheusFieldSetPanelSet editable item.- Specified by:
setEditablein interfacePrometheusFieldSetPanel<T>- Parameters:
isEditable- true/false
-
setEditable
Description copied from interface:PrometheusFieldSetPanelSet editable.- Specified by:
setEditablein interfacePrometheusFieldSetPanel<T>- Parameters:
pFieldId- the fieldIdpEditable- true/false
-
setVisible
Description copied from interface:PrometheusFieldSetPanelSet visible.- Specified by:
setVisiblein interfacePrometheusFieldSetPanel<T>- Parameters:
pFieldId- the fieldIdpVisible- true/false
-
setReporter
Description copied from interface:PrometheusFieldSetPanelSet reporter.- Specified by:
setReporterin interfacePrometheusFieldSetPanel<T>- Parameters:
pReporter- the reporter
-