Class DynamicGroupBox
- java.lang.Object
-
- org.eclipse.scout.rt.platform.reflect.AbstractPropertyObserver
-
- All Implemented Interfaces:
IContextMenuOwner
,IDataChangeObserver
,IGroupBox
,ICompositeField
,IFormField
,IPreferenceField
,IStyleable
,IWidget
,org.eclipse.scout.rt.platform.classid.ITypeWithClassId
,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 DynamicGroupBox extends AbstractGroupBox
Dynamic group box 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.groupbox.AbstractGroupBox
AbstractGroupBox.LocalGroupBoxExtension<OWNER extends AbstractGroupBox>, AbstractGroupBox.P_UIFacade
-
Nested classes/interfaces inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractCompositeField
AbstractCompositeField.LocalCompositeFieldExtension<OWNER extends AbstractCompositeField>
-
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.ICompositeField
PROP_FIELDS, PROP_HAS_VISIBLE_FIELDS
-
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.client.ui.form.fields.groupbox.IGroupBox
BORDER_DECORATION_AUTO, BORDER_DECORATION_EMPTY, BORDER_DECORATION_LINE, MENU_BAR_ELLIPSIS_POSITION_LEFT, MENU_BAR_ELLIPSIS_POSITION_RIGHT, MENU_BAR_POSITION_AUTO, MENU_BAR_POSITION_BOTTOM, MENU_BAR_POSITION_TITLE, MENU_BAR_POSITION_TOP, PROP_BACKGROUND_IMAGE_HORIZONTAL_ALIGNMENT, PROP_BACKGROUND_IMAGE_NAME, PROP_BACKGROUND_IMAGE_VERTICAL_ALIGNMENT, PROP_BODY_LAYOUT_CONFIG, PROP_BORDER_DECORATION, PROP_BORDER_VISIBLE, PROP_CACHE_EXPANDED, PROP_EXPANDABLE, PROP_EXPANDED, PROP_GRID_COLUMN_COUNT, PROP_MENU_BAR_ELLIPSIS_POSITION, PROP_MENU_BAR_POSITION, PROP_MIN_WIDTH_IN_PIXEL, PROP_NOTIFICATION, PROP_RESPONSIVE, PROP_SCROLLABLE, PROP_SELECTION_KEYSTROKE, PROP_SUB_LABEL
-
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.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.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 DynamicGroupBox(IFormField... fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
injectFieldsInternal(org.eclipse.scout.rt.platform.util.collection.OrderedCollection<IFormField> fields)
This is the place to inject fields dynamically-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.groupbox.AbstractGroupBox
addField, createLocalExtension, disposeFieldInternal, getBackgroundImageHorizontalAlignment, getBackgroundImageName, getBackgroundImageVerticalAlignment, getBodyLayoutConfig, getBorderDecoration, getConfiguredBackgroundImageHorizontalAlignment, getConfiguredBackgroundImageName, getConfiguredBackgroundImageVerticalAlignment, getConfiguredBodyGrid, getConfiguredBodyLayoutConfig, getConfiguredBorderDecoration, getConfiguredBorderVisible, getConfiguredCacheExpanded, getConfiguredExpandable, getConfiguredExpanded, getConfiguredGridColumnCount, getConfiguredGridUseUiHeight, getConfiguredGridW, getConfiguredMenuBarEllipsisPosition, getConfiguredMenuBarPosition, getConfiguredResponsive, getConfiguredScrollable, getConfiguredSelectionKeyStroke, getConfiguredSubLabel, getControlFields, getCustomProcessButtonCount, getCustomProcessButtons, getFieldGrid, getGridColumnCount, getGroupBoxCount, getGroupBoxes, getGroupBoxIndex, getMenuBarEllipsisPosition, getMenuBarPosition, getNotification, getPreferenceBaseKey, getSelectionKeyStroke, getSubLabel, getSystemProcessButtonCount, getSystemProcessButtons, getUIFacade, handleChildFieldVisibilityChanged, initConfig, isBorderVisible, isCacheExpanded, isExpandable, isExpanded, isMainBox, isResponsive, isScrollable, rebuildFieldGrid, removeField, removeNotification, setBackgroundImageHorizontalAlignment, setBackgroundImageName, setBackgroundImageVerticalAlignment, setBodyGrid, setBodyLayoutConfig, setBorderDecoration, setBorderVisible, setCacheExpanded, setExpandable, setExpanded, setGridColumnCount, setMainBox, setMenuBarEllipsisPosition, setMenuBarPosition, setNotification, setResponsive, setResponsive, setScrollable, setScrollable, setSelectionKeyStroke, setSubLabel
-
Methods inherited from class org.eclipse.scout.rt.client.ui.form.fields.AbstractCompositeField
calcHasVisibleFieldsInternal, execCalculateVisible, filterFieldsInternal, getChildren, getConfiguredFields, getConfiguredStatusVisible, getFieldByClass, getFieldById, getFieldById, getFieldCount, getFieldIndex, getFields, getFieldsInternal, getMovedFields, getWidgetByClassInternal, handleFieldsChanged, hasVisibleFieldsInternal, isTemplateField, moveFieldTo, setFields, setFieldsInternal, setFormInternal, setHasVisibleFieldsInternal, setParentInternal
-
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, createContextMenu, createStatusMenuMappings, disposeInternal, execAddSearchTerms, execChangedMasterValue, execDataChanged, execDisposeField, execInitField, execIsEmpty, execIsSaveNeeded, execMarkSaved, exportFormFieldData, fireSubtreePropertyChange, getAllContributions, getAllExtensions, getBackgroundColor, getConfiguredBackgroundColor, getConfiguredDisabledStyle, getConfiguredFieldStyle, getConfiguredFillHorizontal, getConfiguredFillVertical, getConfiguredFont, getConfiguredForegroundColor, getConfiguredGridH, getConfiguredGridUseUiWidth, getConfiguredGridWeightX, getConfiguredGridWeightY, getConfiguredGridX, getConfiguredGridY, getConfiguredHeightInPixel, getConfiguredHorizontalAlignment, getConfiguredLabel, getConfiguredLabelBackgroundColor, getConfiguredLabelFont, getConfiguredLabelForegroundColor, getConfiguredLabelHorizontalAlignment, getConfiguredLabelHtmlEnabled, getConfiguredLabelPosition, getConfiguredLabelUseUiWidth, getConfiguredLabelVisible, getConfiguredLabelWidthInPixel, getConfiguredMandatory, getConfiguredMasterField, getConfiguredMasterRequired, getConfiguredPreventInitialFocus, getConfiguredStatusMenuMappings, getConfiguredStatusPosition, getConfiguredTooltipAnchor, getConfiguredTooltipText, getConfiguredVerticalAlignment, getConfiguredViewOrder, getConfiguredVisible, getConfiguredWidthInPixel, getContextMenu, getContribution, getContributionsByClass, getDeclaredMenus, getDisabledStyle, getEnclosingFieldList, getErrorStatus, getErrorStatusInternal, getExtension, getFieldId, 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, hasError, importFormFieldData, 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, loadFromXml, loadFromXmlString, markSaved, optContribution, registerDataChangeListener, removeChildFieldPropertyChangeListener, removeErrorStatus, removeSubtreePropertyChangeListener, removeSubtreePropertyChangeListener, requestFocus, requestInput, setBackgroundColor, setContextMenu, setDisabledStyle, setDisabledStyle, setEnabled, setErrorStatus, setErrorStatusInternal, setFieldChanging, setFieldStyle, setFieldStyle, setFont, setForegroundColor, 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, storeToXml, 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, 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.ICompositeField
getFieldByClass, getFieldById, getFieldById, getFieldCount, getFieldIndex, getFields, getMovedFields, moveFieldTo, setFields, setMandatory
-
Methods inherited from interface org.eclipse.scout.rt.client.ui.action.menu.root.IContextMenuOwner
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, getFieldId, 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, 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.client.ui.form.fields.groupbox.IGroupBox
getContextMenu
-
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.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
-
-
-
-
Constructor Detail
-
DynamicGroupBox
public DynamicGroupBox(IFormField... fields)
-
-
Method Detail
-
injectFieldsInternal
protected void injectFieldsInternal(org.eclipse.scout.rt.platform.util.collection.OrderedCollection<IFormField> fields)
This is the place to inject fields dynamically- Overrides:
injectFieldsInternal
in classAbstractCompositeField
-
-