public interface Component extends Adaptable, LabeledResource
isAccessible()
should be called.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCellName()
Returns the cell name of this component.
|
ComponentEditConfig |
getChildEditConfig()
Returns the child edit config of this component or the one of it's
super component.
|
java.lang.String |
getComponentGroup()
Returns the name of the component group.
|
ComponentEditConfig |
getDeclaredChildEditConfig()
Returns the child edit config of this component
|
ComponentEditConfig |
getDeclaredEditConfig()
Returns the edit config of this component
|
java.lang.String |
getDefaultView()
Returns the default view for this component
|
java.lang.String |
getDesignDialogPath()
Returns the design dialog path of this component or of an inherited one.
|
ComponentEditConfig |
getDesignEditConfig(java.lang.String cellName)
Returns the design edit config for the given cell name
|
java.lang.String |
getDialogPath()
Returns the dialog path of this component or of an inherited one.
|
ComponentEditConfig |
getEditConfig()
Returns the edit config of this component or the one of it's super
component.
|
java.util.Map<java.lang.String,java.lang.String> |
getHtmlTagAttributes()
Returns additional tag attributes that are added to the surrounding
html tag.
|
java.lang.String |
getIconPath()
Returns the path to an icon for this component or
null if
the component does not provide an icon. |
java.lang.String[] |
getInfoProviders()
Returns a collection of info provider names that are configured for this
page-level component.
|
Resource |
getLocalResource(java.lang.String name)
Finds the resource with the given name that is stored "in" this component.
|
ValueMap |
getProperties()
Returns the
properties of
this Component. |
java.lang.String |
getResourceType()
Returns the resource type to be used for this component.
|
Component |
getSuperComponent()
Returns the super component if the super resource type is defined and
points to a valid component.
|
java.lang.String |
getTemplatePath()
Returns the path to the template for the component's content.
|
java.lang.String |
getThumbnailPath()
Returns the path to a thumbnail for this component or
null
if the component does not provide a thumbnail. |
java.util.Collection<VirtualComponent> |
getVirtualComponents()
Returns a collection of virtual components that are configured for this
component.
|
boolean |
isAccessible()
Checks if this component is accessible, i.e.
|
boolean |
isAnalyzable()
Checks if this component is analyzable.
|
boolean |
isContainer()
Checks if this component is a container component.
|
boolean |
isDesignable()
Checks if this component is designable.
|
boolean |
isEditable()
Checks if this component is editable.
|
boolean |
noDecoration()
Checks if this component does not need decoration when included.
|
getDescription, getName, getPath, getTitle
boolean isAccessible()
true
if the component is accessible.java.lang.String getCellName()
boolean isEditable()
true
if the component is editable.boolean isDesignable()
true
if the component is designable.boolean isContainer()
true
if this component is a container.boolean isAnalyzable()
true
if the component is analyzable.boolean noDecoration()
true
if this component does not need decoration
when included.java.lang.String getDialogPath()
null
java.lang.String getDesignDialogPath()
null
java.lang.String getIconPath()
null
if
the component does not provide an icon.
If this component does not define a path the one of the super component
is returned.
Note: the path is a webapp relative URL. eg: /docroot/c1.gifnull
java.lang.String getThumbnailPath()
null
if the component does not provide a thumbnail.
If this component does not define a path the one of the super component
is returned.
Note: the path is a webapp relative URL. eg: /docroot/c1.gifnull
java.lang.String getComponentGroup()
null
if not defined.ValueMap getProperties()
properties
of
this Component.ComponentEditConfig getDeclaredEditConfig()
null
if not availableComponentEditConfig getDeclaredChildEditConfig()
null
if not availableComponentEditConfig getEditConfig()
null
if not availableComponentEditConfig getChildEditConfig()
null
if not availableComponentEditConfig getDesignEditConfig(java.lang.String cellName)
cellName
- name of the celljava.util.Map<java.lang.String,java.lang.String> getHtmlTagAttributes()
Component getSuperComponent()
null
java.lang.String getResourceType()
Resource getLocalResource(java.lang.String name)
name
- name of the resourcejava.util.Collection<VirtualComponent> getVirtualComponents()
java.lang.String getDefaultView()
null
is not defined.java.lang.String getTemplatePath()
null
if not definedjava.lang.String[] getInfoProviders()
Copyright © 2010 - 2020 Adobe. All Rights Reserved