public class DetailsView
extends Div
SelectiveSyncRenderer.| Modifier and Type | Class and Description |
|---|---|
static class |
DetailsView.CreationContext
Context for creating
DetailsView. |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
editable |
protected PermissionFacade |
permissionFacade |
protected WidgetInstanceManager |
widgetInstanceManager |
protected static java.lang.String |
YTESTID_COPY_BY_VALUE_ATTRIBUTE |
protected static java.lang.String |
YTESTID_NO_READ_ACCESS_LABEL |
protected static java.lang.String |
YTESTID_PARTIALLY_TRANSLATABLE_ATTRIBUTE |
protected static java.lang.String |
YTESTID_SYNC_ATTRIBUTE |
protected static java.lang.String |
YTESTID_UNTRANSLATABLE_ATTRIBUTE |
| Constructor and Description |
|---|
DetailsView(DetailsView.CreationContext creationContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canChange(java.lang.Object object,
java.lang.String property) |
protected boolean |
canRead(java.lang.Object object,
java.lang.String property) |
void |
clearView()
Clear view
|
protected Checkbox |
createAttributeCheckbox(boolean checked) |
protected Checkbox |
createCopyByValue(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected Div |
createDetailsListItem(Component component) |
protected Div |
createNoReadAccess() |
protected Checkbox |
createPartiallyTranslatable(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected Checkbox |
createSynchronizeAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected Checkbox |
createUntranslatable(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
void |
display(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
Displays synchronization attributes values from syncAttributeConfig.
|
boolean |
equals(java.lang.Object o) |
protected java.lang.String |
getLabel(java.lang.String label) |
int |
hashCode() |
protected void |
renderCopyByValueAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected void |
renderPartiallyTranslatableAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected void |
renderSynchronizeAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected void |
renderUntranslatableAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig,
DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener) |
protected static final java.lang.String YTESTID_SYNC_ATTRIBUTE
protected static final java.lang.String YTESTID_COPY_BY_VALUE_ATTRIBUTE
protected static final java.lang.String YTESTID_UNTRANSLATABLE_ATTRIBUTE
protected static final java.lang.String YTESTID_PARTIALLY_TRANSLATABLE_ATTRIBUTE
protected static final java.lang.String YTESTID_NO_READ_ACCESS_LABEL
protected final boolean editable
protected final transient WidgetInstanceManager widgetInstanceManager
protected final transient PermissionFacade permissionFacade
public DetailsView(DetailsView.CreationContext creationContext)
public void display(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
syncAttributeConfig - values to displaydetailsViewAttributeValueChangeListener - listener for attribute changesprotected void renderSynchronizeAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected void renderCopyByValueAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected void renderUntranslatableAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected void renderPartiallyTranslatableAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected Div createDetailsListItem(Component component)
protected Checkbox createSynchronizeAttribute(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected Checkbox createCopyByValue(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected Checkbox createUntranslatable(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected Checkbox createPartiallyTranslatable(SyncAttributeDescriptorConfigModel syncAttributeConfig, DetailsViewAttributeValueChangeListener detailsViewAttributeValueChangeListener)
protected boolean canRead(java.lang.Object object,
java.lang.String property)
protected boolean canChange(java.lang.Object object,
java.lang.String property)
protected Checkbox createAttributeCheckbox(boolean checked)
protected java.lang.String getLabel(java.lang.String label)
protected Div createNoReadAccess()
public void clearView()
public boolean equals(java.lang.Object o)
public int hashCode()
Copyright © 2018 SAP SE. All Rights Reserved.