ROW - is the generic type of a single row out of the value.public class UiWidgetCustomMasterDetail<ROW> extends AbstractUiWidgetCustomMasterDetail<List<ROW>,ROW,ROW>
custom master/detail
widget.AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainer| Modifier and Type | Field and Description |
|---|---|
private UiWidgetCustom<ROW,?> |
detailPanel |
private UiWidgetListContainer<ROW> |
masterPanel |
STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIA| Modifier | Constructor and Description |
|---|---|
protected |
UiWidgetCustomMasterDetail(UiContext context,
UiWidgetDynamicPanel<UiWidgetRegular> delegate)
The constructor.
|
|
UiWidgetCustomMasterDetail(UiContext context,
UiWidgetDynamicPanel<UiWidgetRegular> delegate,
UiWidgetListContainer<ROW> masterPanel,
UiWidgetCustom<ROW,?> detailPanel)
The constructor.
|
|
UiWidgetCustomMasterDetail(UiContext context,
UiWidgetListContainer<ROW> masterPanel,
UiWidgetCustom<ROW,?> detailPanel)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected UiWidgetCustom<ROW,?> |
getDetailPanel()
This method gets the details panel showing the
detail for the
current selection from the master list. |
protected UiFeatureSelectedValue<ROW> |
getMasterList()
This method gets the actual widget containing a list of <SELECTION> to choose from.
|
protected UiWidgetListContainer<ROW> |
getMasterPanel() |
protected void |
setDetailPanel(UiWidgetCustom<ROW,?> detailPanel)
Sets the
detail panel in case of lazy initialization. |
protected void |
setMasterPanel(UiWidgetListContainer<ROW> masterPanel)
Sets the
master panel in case of lazy initialization. |
doGetValue, doInitialize, doSetMode, doSetValue, getDetailsForSelection, onMasterListSelectiongetChild, getChild, getChildCount, getChildIndexaddStyle, clearMessages, clearValidity, dispose, doValidate, getAriaRole, getDelegate, getDelegate, getId, getMode, getModeFixed, getParent, getPrimaryStyle, getSize, getSource, getStyles, getTooltip, getValueClass, getVisibleFlag, getWidgetAdapter, hasStyle, hasWidgetAdapter, initialize, isDisposed, isEnabled, isModifiedRecursive, isVisible, isVisibleRecursive, removeFromParent, removeStyle, setEnabled, setFocused, setId, setMode, setMode, setModeFixed, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, setVisibleaddChangeHandler, addEventHandler, addValidator, clearMessagesLocal, clearValidationFailure, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueDirect, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeChangeHandler, removeEventHandler, removeFromParent, removeValidator, setMandatory, setModified, setParent, setValue, toStringaddValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidategetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorprivate UiWidgetListContainer<ROW> masterPanel
getMasterPanel()private UiWidgetCustom<ROW,?> detailPanel
getDetailPanel()protected UiWidgetCustomMasterDetail(UiContext context, UiWidgetDynamicPanel<UiWidgetRegular> delegate)
public UiWidgetCustomMasterDetail(UiContext context, UiWidgetDynamicPanel<UiWidgetRegular> delegate, UiWidgetListContainer<ROW> masterPanel, UiWidgetCustom<ROW,?> detailPanel)
context - is the context.delegate - is the delegate.masterPanel - - see getMasterPanel().detailPanel - - see getDetailPanel().public UiWidgetCustomMasterDetail(UiContext context, UiWidgetListContainer<ROW> masterPanel, UiWidgetCustom<ROW,?> detailPanel)
context - is the context.masterPanel - - see getMasterPanel().detailPanel - - see getDetailPanel().protected UiWidgetListContainer<ROW> getMasterPanel()
getMasterPanel in class AbstractUiWidgetCustomMasterDetail<List<ROW>,ROW,ROW>master list.protected void setMasterPanel(UiWidgetListContainer<ROW> masterPanel)
master panel in case of lazy initialization. super.AbstractUiWidgetCustomMasterDetail.doInitialize() has been
invoked.masterPanel - is the master panel to set.protected UiFeatureSelectedValue<ROW> getMasterList()
master panel. A selection in the master list will
automatically trigger an update of the details panel. details panel can only display a single <DETAIL> at a time. Therefore
if multi-selection is enabled,
nothing will be displayed in the details panel. This may still make sense to
allow mass-operations such as
remove in the master panel.getMasterList in class AbstractUiWidgetCustomMasterDetail<List<ROW>,ROW,ROW>protected UiWidgetCustom<ROW,?> getDetailPanel()
detail for the
current selection from the master list. If the <DETAIL> should be
editable for the user, this details panel will typically be an editor.getDetailPanel in class AbstractUiWidgetCustomMasterDetail<List<ROW>,ROW,ROW>protected void setDetailPanel(UiWidgetCustom<ROW,?> detailPanel)
detail panel in case of lazy initialization. super.AbstractUiWidgetCustomMasterDetail.doInitialize() has been
invoked.detailPanel - is the detail panel to set.Copyright © 2001–2016 mmm-Team. All rights reserved.