public interface ComponentEditConfig extends JSONItem
Modifier and Type | Method and Description |
---|---|
DialogMode |
getDialogMode()
Returns the display mode of the dialog
|
java.util.Map<java.lang.String,DropTarget> |
getDropTargets()
Returns a unmodifiable map of configurations of drop targets.
|
java.lang.String |
getEmptyText()
Gets the text to be displayed when
isEmpty() is true . |
java.util.Map<java.lang.String,java.lang.Object> |
getFormParameterMap()
Returns the additional form parameters to be included in the dialog.
|
java.util.Map<java.lang.String,java.lang.String> |
getFormParameters()
Returns an unmodifiable map for additional form parameters to be included
in the dialog.
|
InplaceEditingConfig |
getInplaceEditingConfig()
Returns the configuration for inplace editing of this configuration.
|
java.lang.String |
getInsertBehavior()
Returns the insert behavior or
null of not defined |
EditLayout |
getLayout()
Returns the edit layout for the edit control widget.
|
java.util.Map<java.lang.String,java.lang.String> |
getListeners()
Returns an unmodifiable map of edit listeners.
|
JSONItem |
getLiveRelationship()
Returns the component live relationship.
|
Toolbar |
getToolbar()
Returns the (unmodifiable) toolbar for the editbar/menu.
|
java.lang.Boolean |
isDeepCancel()
Returns if cancelling inheritance of the component sets the cq:isCancelledForChildren flag or not.
|
boolean |
isDefault()
Checks if this config has all default values in respect to the default
values of the widgets.
|
boolean |
isEmpty()
Returns the
empty flag. |
java.lang.Boolean |
isOrderable()
Returns if the edited component is orderable.
|
boolean |
isTargetingDisabled()
Returns if targeting is disabled for this component.
|
boolean isDefault()
true
the edit config does not
need to be submitted to the client.true
if defaultEditLayout getLayout()
java.util.Map<java.lang.String,DropTarget> getDropTargets()
DialogMode getDialogMode()
InplaceEditingConfig getInplaceEditingConfig()
null
if there is no inplace editing
config (which means that no inplace editing is available for the component)java.lang.String getInsertBehavior()
null
of not definednull
boolean isEmpty()
empty
flag. Indicates if the respective
component has no visual content and a placeholder text should be
rendered.true
if a placeholder text should be renderedjava.lang.String getEmptyText()
isEmpty()
is true
.
Returns null
if the default text is displayed.null
java.lang.Boolean isOrderable()
true
if the component is orderable or null
if the behavior is defined by the widgets.Toolbar getToolbar()
java.util.Map<java.lang.String,java.lang.String> getFormParameters()
java.util.Map<java.lang.String,java.lang.Object> getFormParameterMap()
java.util.Map<java.lang.String,java.lang.String> getListeners()
JSONItem getLiveRelationship()
null
otherwisejava.lang.Boolean isDeepCancel()
true
if cancel sets the flag or null
if cancel does not set the flag.boolean isTargetingDisabled()
true
if targeting is disabled, false
if targeting is allowedCopyright © 2010 - 2020 Adobe. All Rights Reserved