Class DynamicStringField
- java.lang.Object
-
- org.eclipse.scout.rt.platform.reflect.AbstractPropertyObserver
-
- org.eclipse.scout.rt.client.ui.AbstractWidget
-
- org.eclipse.scout.rt.client.ui.form.fields.AbstractFormField
-
- org.eclipse.scout.rt.client.ui.form.fields.AbstractValueField<VALUE>
-
- org.eclipse.scout.rt.client.ui.form.fields.AbstractBasicField<String>
-
- org.eclipse.scout.rt.client.ui.form.fields.stringfield.AbstractStringField
-
- org.eclipse.scout.testing.client.form.DynamicStringField
-
- All Implemented Interfaces:
IContextMenuOwner
,IDataChangeObserver
,IDNDSupport
,IBasicField<String>
,IFormField
,IValueField<String>
,IStringField
,IStyleable
,IWidget
,org.eclipse.scout.rt.platform.classid.ITypeWithClassId
,org.eclipse.scout.rt.platform.holders.IHolder<String>
,org.eclipse.scout.rt.platform.IOrdered
,org.eclipse.scout.rt.platform.reflect.IPropertyObserver
,org.eclipse.scout.rt.shared.dimension.IEnabledDimension
,org.eclipse.scout.rt.shared.dimension.IVisibleDimension
,org.eclipse.scout.rt.shared.extension.IContributionOwner
,org.eclipse.scout.rt.shared.extension.IExtensibleObject
public class DynamicStringField extends AbstractStringField
Dynamic field to build an ad-hoc application for testing
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.scout.rt.client.ui.form.fields.stringfield.AbstractStringField
AbstractStringField.LocalStringFieldExtension<OWNER_FIELD extends AbstractStringField>, AbstractStringField.P_UIFacade
-
Nested classes/interfaces inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractBasicField
AbstractBasicField.LocalBasicFieldExtension<VALUE_TYPE extends Object,OWNER_FIELD extends AbstractBasicField<VALUE_TYPE>>
-
Nested classes/interfaces inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractValueField
AbstractValueField.LocalValueFieldExtension<VALUE extends Object,OWNER extends AbstractValueField<VALUE>>
-
Nested classes/interfaces inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractFormField
AbstractFormField.LocalFormFieldExtension<OWNER extends AbstractFormField>
-
-
Field Summary
-
Fields inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractFormField
m_contributionHolder, m_valueChangeTriggerEnabled
-
Fields inherited from class org.eclipse.scout.rt.platform.reflect.AbstractPropertyObserver
propertySupport
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IBasicField
DEFAULT_DELAY, PROP_UPDATE_DISPLAY_TEXT_ON_MODIFY, PROP_UPDATE_DISPLAY_TEXT_ON_MODIFY_DELAY
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.dnd.IDNDSupport
DEFAULT_DROP_MAXIMUM_SIZE, PROP_DRAG_TYPE, PROP_DROP_MAXIMUM_SIZE, PROP_DROP_TYPE, TYPE_FILE_TRANSFER, TYPE_IMAGE_TRANSFER, TYPE_JAVA_ELEMENT_TRANSFER, TYPE_TEXT_TRANSFER
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IFormField
DISABLED_STYLE_DEFAULT, DISABLED_STYLE_READ_ONLY, FIELD_STYLE_ALTERNATIVE, FIELD_STYLE_CLASSIC, FULL_WIDTH, LABEL_HORIZONTAL_ALIGNMENT_CENTER, LABEL_HORIZONTAL_ALIGNMENT_DEFAULT, LABEL_HORIZONTAL_ALIGNMENT_LEFT, LABEL_HORIZONTAL_ALIGNMENT_RIGHT, LABEL_POSITION_BOTTOM, LABEL_POSITION_DEFAULT, LABEL_POSITION_LEFT, LABEL_POSITION_ON_FIELD, LABEL_POSITION_RIGHT, LABEL_POSITION_TOP, LABEL_WIDTH_DEFAULT, LABEL_WIDTH_UI, PROP_BACKGROUND_COLOR, PROP_CONTEXT_MENU, PROP_DISABLED_STYLE, PROP_EMPTY, PROP_ERROR_STATUS, PROP_FIELD_STYLE, PROP_FONT, PROP_FOREGROUND_COLOR, PROP_GRID_DATA, PROP_GRID_DATA_HINTS, PROP_KEY_STROKES, PROP_LABEL, PROP_LABEL_BACKGROUND_COLOR, PROP_LABEL_FONT, PROP_LABEL_FOREGROUND_COLOR, PROP_LABEL_HTML_ENABLED, PROP_LABEL_POSITION, PROP_LABEL_USE_UI_WIDTH, PROP_LABEL_VISIBLE, PROP_LABEL_WIDTH_IN_PIXEL, PROP_MANDATORY, PROP_ORDER, PROP_PREVENT_INITIAL_FOCUS, PROP_SAVE_NEEDED, PROP_STATUS_MENU_MAPPINGS, PROP_STATUS_POSITION, PROP_STATUS_VISIBLE, PROP_TOOLTIP_ANCHOR, PROP_TOOLTIP_TEXT, PROP_VISIBLE, STATUS_POSITION_DEFAULT, STATUS_POSITION_TOP, TOOLTIP_ANCHOR_DEFAULT, TOOLTIP_ANCHOR_ON_FIELD
-
Fields inherited from interface org.eclipse.scout.rt.platform.IOrdered
DEFAULT_ORDER, DEFAULT_ORDER_STEP
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.form.fields.stringfield.IStringField
FORMAT_LOWER, FORMAT_UPPER, PROP_FORMAT, PROP_HAS_ACTION, PROP_INPUT_MASKED, PROP_INSERT_TEXT, PROP_MAX_LENGTH, PROP_MULTILINE_TEXT, PROP_SELECTION_END, PROP_SELECTION_START, PROP_SELECTION_TRACKING_ENABLED, PROP_SPELL_CHECK_ENABLED, PROP_TRIM_TEXT_ON_VALIDATE, PROP_WRAP_TEXT
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.IStyleable
PROP_CSS_CLASS
-
Fields inherited from interface org.eclipse.scout.rt.platform.classid.ITypeWithClassId
ID_CONCAT_SYMBOL
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IValueField
CLEARABLE_ALWAYS, CLEARABLE_FOCUSED, CLEARABLE_NEVER, PROP_AUTO_ADD_DEFAULT_MENUS, PROP_CLEARABLE, PROP_DISPLAY_TEXT, PROP_VALUE
-
Fields inherited from interface org.eclipse.scout.rt.client.ui.IWidget
PROP_DISPOSE_DONE, PROP_ENABLED, PROP_INHERIT_ACCESSIBILITY, PROP_INIT_CONFIG_DONE, PROP_INIT_DONE, PROP_LOADING, PROP_PARENT_WIDGET
-
-
Constructor Summary
Constructors Constructor Description DynamicStringField(String id, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldId()
-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.stringfield.AbstractStringField
computeSpellCheckEnabled, createLocalExtension, doAction, execAction, execDragRequest, execDropRequest, getConfiguredDragType, getConfiguredDropMaximumSize, getConfiguredDropType, getConfiguredFormat, getConfiguredFormatLower, getConfiguredFormatUpper, getConfiguredHasAction, getConfiguredInputMasked, getConfiguredMaxLength, getConfiguredMultilineText, getConfiguredSelectionTrackingEnabled, getConfiguredTrimText, getConfiguredValueFormat, getConfiguredWrapText, getDragType, getDropMaximumSize, getDropType, getFormat, getMaxLength, getSelectionEnd, getSelectionStart, getUIFacade, initConfig, insertText, interceptAction, interceptDragRequest, interceptDropRequest, isEnabledProcessing, isFormatLower, isFormatUpper, isHasAction, isInputMasked, isMultilineText, isSelectionTrackingEnabled, isSpellCheckEnabled, isTrimText, isWrapText, parseValueInternal, select, setDragType, setDropMaximumSize, setDropType, setFormat, setFormatLower, setFormatUpper, setHasAction, setInputMasked, setMaxLength, setMultilineText, setSelectionTrackingEnabled, setSpellCheckEnabled, setTrimText, setWrapText, validateValueInternal
-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractBasicField
execChangedDisplayText, getConfiguredUpdateDisplayTextOnModify, getConfiguredUpdateDisplayTextOnModifyDelay, getUpdateDisplayTextOnModifyDelay, interceptExecChangedDisplayText, isUpdateDisplayTextOnModify, setDisplayText, setUpdateDisplayTextOnModify, setUpdateDisplayTextOnModifyDelay
-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractValueField
createContextMenu, execChangedMasterValue, execChangedValue, execFormatValue, execIsEmpty, execIsSaveNeeded, execMarkSaved, execParseValue, execValidateValue, exportFormFieldData, fireValueChanged, formatValueInternal, getClearable, getConfiguredAutoAddDefaultMenus, getConfiguredClearable, getDisplayText, getHolderType, getInitValue, getValue, handleValidationFailed, importFormFieldData, interceptChangedValue, interceptFormatValue, interceptParseValue, interceptValidateValue, isAutoAddDefaultMenus, isValueChanging, isValueParsing, isValueValidating, loadFromXml, loadValueFromXml, masterListeners, parseAndSetValue, refreshDisplayText, resetValue, setAutoAddDefaultMenus, setClearable, setInitValue, setValue, storeToXml, storeValueToXml, updateFrom, valueChangedInternal
-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractFormField
addChildFieldPropertyChangeListener, addErrorStatus, addErrorStatus, addSubtreePropertyChangeListener, addSubtreePropertyChangeListener, applySearch, applySearchInternal, areChildrenEmpty, calculateLabelVisibleInternal, calculateViewOrder, calculateVisibleInternal, checkEmpty, checkSaveNeeded, classId, clearErrorStatus, createStatusMenuMappings, disposeFieldInternal, disposeInternal, execAddSearchTerms, execCalculateVisible, execDataChanged, execDisposeField, execInitField, fireSubtreePropertyChange, getAllContributions, getAllExtensions, getBackgroundColor, getChildren, getConfiguredBackgroundColor, getConfiguredDisabledStyle, getConfiguredFieldStyle, getConfiguredFillHorizontal, getConfiguredFillVertical, getConfiguredFont, getConfiguredForegroundColor, getConfiguredGridH, getConfiguredGridUseUiHeight, getConfiguredGridUseUiWidth, getConfiguredGridW, getConfiguredGridWeightX, getConfiguredGridWeightY, getConfiguredGridX, getConfiguredGridY, getConfiguredHeightInPixel, getConfiguredHorizontalAlignment, getConfiguredLabel, getConfiguredLabelBackgroundColor, getConfiguredLabelFont, getConfiguredLabelForegroundColor, getConfiguredLabelHorizontalAlignment, getConfiguredLabelHtmlEnabled, getConfiguredLabelPosition, getConfiguredLabelUseUiWidth, getConfiguredLabelVisible, getConfiguredLabelWidthInPixel, getConfiguredMandatory, getConfiguredMasterField, getConfiguredMasterRequired, getConfiguredPreventInitialFocus, getConfiguredStatusMenuMappings, getConfiguredStatusPosition, getConfiguredStatusVisible, getConfiguredTooltipAnchor, getConfiguredTooltipText, getConfiguredVerticalAlignment, getConfiguredViewOrder, getConfiguredVisible, getConfiguredWidthInPixel, getContextMenu, getContribution, getContributionsByClass, getDeclaredMenus, getDisabledStyle, getEnclosingFieldList, getErrorStatus, getErrorStatusInternal, getExtension, getFieldStyle, getFirstChildFormFields, getFont, getForegroundColor, getForm, getFullyQualifiedLabel, getGridData, getGridDataHints, getInitialLabel, getKeyStrokes, getKeyStrokesInternal, getLabel, getLabelBackgroundColor, getLabelFont, getLabelForegroundColor, getLabelHorizontalAlignment, getLabelPosition, getLabelWidthInPixel, getMasterField, getMasterValue, getMenuByClass, getMenus, getOrder, getParentField, getParentGroupBox, getStatusMenuMappings, getStatusPosition, getTooltipAnchor, getTooltipText, getValidateContentDescriptor, getVisiblePermission, getWidgetByClassInternal, handleChildFieldVisibilityChanged, hasError, initConfigInternal, initFieldInternal, initInternal, initLocalKeyStrokes, initMenus, injectMenusInternal, interceptAddSearchTerms, interceptCalculateVisible, interceptChangedMasterValue, interceptDataChanged, interceptDisposeField, interceptInitField, interceptIsEmpty, interceptIsSaveNeeded, interceptMarkSaved, isContentValid, isEmpty, isFieldChanging, isLabelHtmlEnabled, isLabelUseUiWidth, isLabelVisible, isLabelVisible, isMandatory, isMandatoryFulfilled, isMasterRequired, isPreventInitialFocus, isSaveNeeded, isStatusVisible, isValueChangeTriggerEnabled, isVisible, isVisible, isVisibleGranted, isVisibleIncludingParents, loadFromXmlString, markSaved, optContribution, registerDataChangeListener, removeChildFieldPropertyChangeListener, removeErrorStatus, removeSubtreePropertyChangeListener, removeSubtreePropertyChangeListener, requestFocus, requestInput, setBackgroundColor, setContextMenu, setDisabledStyle, setDisabledStyle, setEnabled, setErrorStatus, setErrorStatusInternal, setFieldChanging, setFieldStyle, setFieldStyle, setFont, setForegroundColor, setFormInternal, setFormOnChildren, setGridDataHints, setGridDataInternal, setInitialLabel, setLabel, setLabelBackgroundColor, setLabelFont, setLabelForegroundColor, setLabelHorizontalAlignment, setLabelHtmlEnabled, setLabelPosition, setLabelUseUiWidth, setLabelVisible, setLabelVisible, setLabelWidthInPixel, setMandatory, setMandatory, setMasterField, setMasterRequired, setOrder, setPreventInitialFocus, setStatusMenuMappings, setStatusPosition, setStatusVisible, setStatusVisible, setTooltipAnchor, setTooltipText, setValidateContentDescriptor, setValueChangeTriggerEnabled, setView, setVisible, setVisible, setVisible, setVisible, setVisible, setVisible, setVisibleGranted, setVisibleGranted, setVisibleGranted, setVisiblePermission, setXmlFormFieldId, storeToXmlString, toString, touch, unregisterDataChangeListener, updateKeyStrokes, validateContent
-
Methods inherited from class org.eclipse.scout.rt.client.ui.AbstractWidget
callInitializer, dispose, disposeChildren, disposeChildren, execFocusIn, execFocusOut, fireWidgetEvent, getConfiguredCssClass, getConfiguredEnabled, getConfiguredInheritAccessibility, getCssClass, getParent, getParentOfType, getProperty, getWidgetByClass, has, hasProperty, init, initChildren, initChildren, isDisposeDone, isEnabled, isEnabled, isEnabled, isEnabledGranted, isEnabledIncludingParents, isInheritAccessibility, isInitConfigDone, isInitDone, isLoading, notifyFocusIn, notifyFocusOut, reinit, reveal, reveal, scrollToTop, scrollToTop, setCssClass, setDisposeDone, setEnabled, setEnabled, setEnabled, setEnabled, setEnabled, setEnabledGranted, setEnabledGranted, setEnabledGranted, setEnabledPermission, setInheritAccessibility, setInitConfigDone, setInitDone, setLoading, setParentInternal, setProperty, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitParents, visitParents, visitParents, visitParents, widgetListeners
-
Methods inherited from class org.eclipse.scout.rt.platform.reflect.AbstractPropertyObserver
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getSpecificPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IBasicField
getUpdateDisplayTextOnModifyDelay, isUpdateDisplayTextOnModify, setUpdateDisplayTextOnModify, setUpdateDisplayTextOnModifyDelay
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.action.menu.root.IContextMenuOwner
getContextMenu, getMenuByClass, getMenus
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.desktop.datachange.IDataChangeObserver
registerDataChangeListener, unregisterDataChangeListener
-
Methods inherited from interface org.eclipse.scout.rt.shared.dimension.IEnabledDimension
isEnabled, setEnabled
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IFormField
addErrorStatus, addErrorStatus, addSubtreePropertyChangeListener, addSubtreePropertyChangeListener, applySearch, checkSaveNeeded, clearErrorStatus, exportFormFieldData, getBackgroundColor, getDisabledStyle, getEnclosingFieldList, getErrorStatus, getFieldStyle, getFont, getForegroundColor, getForm, getFullyQualifiedLabel, getGridData, getGridDataHints, getInitialLabel, getKeyStrokes, getLabel, getLabelBackgroundColor, getLabelFont, getLabelForegroundColor, getLabelHorizontalAlignment, getLabelPosition, getLabelWidthInPixel, getMasterField, getMasterValue, getParentField, getParentGroupBox, getStatusMenuMappings, getStatusPosition, getTooltipAnchor, getTooltipText, getValidateContentDescriptor, getVisiblePermission, importFormFieldData, isContentValid, isEmpty, isFieldChanging, isLabelHtmlEnabled, isLabelUseUiWidth, isLabelVisible, isLabelVisible, isMandatory, isMandatoryFulfilled, isMasterRequired, isPreventInitialFocus, isSaveNeeded, isStatusVisible, isValueChangeTriggerEnabled, isVisible, isVisibleGranted, isVisibleIncludingParents, loadFromXml, loadFromXmlString, markSaved, removeErrorStatus, removeSubtreePropertyChangeListener, removeSubtreePropertyChangeListener, requestFocus, requestInput, setBackgroundColor, setDisabledStyle, setDisabledStyle, setErrorStatus, setFieldChanging, setFieldStyle, setFieldStyle, setFont, setForegroundColor, setFormInternal, setGridDataHints, setGridDataInternal, setInitialLabel, setLabel, setLabelBackgroundColor, setLabelFont, setLabelForegroundColor, setLabelHorizontalAlignment, setLabelHtmlEnabled, setLabelPosition, setLabelUseUiWidth, setLabelVisible, setLabelVisible, setLabelWidthInPixel, setMandatory, setMandatory, setMasterField, setMasterRequired, setPreventInitialFocus, setStatusMenuMappings, setStatusPosition, setStatusVisible, setStatusVisible, setTooltipAnchor, setTooltipText, setValidateContentDescriptor, setValueChangeTriggerEnabled, setView, setVisible, setVisible, setVisible, setVisible, setVisible, setVisible, setVisibleGranted, setVisibleGranted, setVisibleGranted, setVisiblePermission, storeToXml, storeToXmlString, touch, updateKeyStrokes, validateContent
-
Methods inherited from interface org.eclipse.scout.rt.platform.reflect.IPropertyObserver
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getSpecificPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.IStyleable
addCssClass, addCssClasses, getCssClass, removeCssClass, removeCssClasses, setCssClass, toggleCssClass
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.form.fields.IValueField
addMasterListener, fireValueChanged, getClearable, getDisplayText, getInitValue, getValue, isAutoAddDefaultMenus, isValueChanging, isValueParsing, isValueValidating, masterListeners, parseAndSetValue, refreshDisplayText, removeMasterListener, resetValue, setAutoAddDefaultMenus, setClearable, setDisplayText, setInitValue, setValue
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.IWidget
addWidgetListener, dispose, getChildren, getParent, getParentOfType, getProperty, getWidgetByClass, has, hasProperty, init, isDisposeDone, isEnabled, isEnabled, isEnabledGranted, isEnabledIncludingParents, isInheritAccessibility, isInitConfigDone, isInitDone, isLoading, reinit, removeWidgetListener, reveal, reveal, scrollToTop, scrollToTop, setEnabled, setEnabled, setEnabled, setEnabled, setEnabled, setEnabledGranted, setEnabledGranted, setEnabledGranted, setEnabledPermission, setInheritAccessibility, setLoading, setParentInternal, setProperty, visit, visit, visit, visit, visit, visit, visit, visit, visitParents, visitParents, visitParents, visitParents, widgetListeners
-
-
-
-
Method Detail
-
getFieldId
public String getFieldId()
- Specified by:
getFieldId
in interfaceIFormField
- Overrides:
getFieldId
in classAbstractFormField
-
-