public class CmsAttributeConfiguration extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier | Constructor and Description |
---|---|
protected |
CmsAttributeConfiguration()
Constructor.
|
|
CmsAttributeConfiguration(java.lang.String label,
java.lang.String help,
java.lang.String widgetName,
java.lang.String widgetConfig,
java.lang.String defaultValue,
java.lang.String displayType,
boolean visible,
boolean localSynchronized,
boolean dynamicallyLoaded)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue()
Returns the default value.
|
java.lang.String |
getDisplayType()
Returns the widget display type.
|
java.lang.String |
getHelp()
Returns the attribute help information.
|
java.lang.String |
getLabel()
Returns the attribute label.
|
java.lang.String |
getWidgetConfig()
Returns the widget configuration.
|
java.lang.String |
getWidgetName()
Returns the widget name.
|
boolean |
isDisplayColumn()
Returns the if the widget should be displayed in compact view.
|
boolean |
isDisplaySingleLine()
Returns
true if the widget should be displayed in single line view. |
boolean |
isDynamicallyLoaded()
Returns
true if the attribute is set dynamically and not from the XML content. |
boolean |
isLocaleSynchronized()
Returns if the attribute should be synchronized across all locales.
|
boolean |
isVisible()
Returns if the given attribute should be visible in the editor.
|
void |
setDisplayType(java.lang.String displayType)
Sets the widget display type.
|
public CmsAttributeConfiguration(java.lang.String label, java.lang.String help, java.lang.String widgetName, java.lang.String widgetConfig, java.lang.String defaultValue, java.lang.String displayType, boolean visible, boolean localSynchronized, boolean dynamicallyLoaded)
label
- the attribute labelhelp
- the attribute help informationwidgetName
- the widget namewidgetConfig
- the widget configurationdefaultValue
- the attribute default valuedisplayType
- the display typevisible
- if the attribute should be visible in the editorlocalSynchronized
- if the attribute should be synchronized across all localesdynamicallyLoaded
- if the attribute should be loaded dynamicallyprotected CmsAttributeConfiguration()
public java.lang.String getDefaultValue()
public java.lang.String getDisplayType()
public java.lang.String getHelp()
public java.lang.String getLabel()
public java.lang.String getWidgetConfig()
public java.lang.String getWidgetName()
public boolean isDisplayColumn()
true
if the widget should be displayed in compact viewpublic boolean isDisplaySingleLine()
true
if the widget should be displayed in single line view.true
if the widget should be displayed in single line viewpublic boolean isDynamicallyLoaded()
true
if the attribute is set dynamically and not from the XML content.true
if the attribute is set dynamically and not from the XML contentpublic boolean isLocaleSynchronized()
true
if the attribute should be synchronized across all localespublic boolean isVisible()
true
if the given attribute should be visible in the editorpublic void setDisplayType(java.lang.String displayType)
displayType
- the widget display type