Class ecm.model.configuration.LayoutAttribute


Extends ecm.model.AttributeDefinition.
Provides event methods that are used to for attribute definition property changes.
Defined in: <ecm\model\configuration\LayoutAttribute.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
reason 
A text string used for indicating what the model is being used for "create", "checkin", "editProperties", etc
Fields borrowed from class ecm.model.AttributeDefinition:
allowedValues, availableOperators, cardinality, choiceList, contentClass, dataType, defaultValue, description, foreignKey, format, formatDescription, hasDependentAttributes, hidden, markingList, maxLength, maxValue, minLength, minValue, nullable, openChoice, orderable, propertyEditor, propertyFormatter, readOnly, repositoryType, required, requiredClass, searchable, settability, subClassAttribute, system, textSearchable, uniqueValues, usesLongColumn
Fields borrowed from class ecm.model._ModelObject:
categorization, id, isRecurring, name, nameFilter, pane, status, type, userId

Method Summary

Method Attributes Method Name and Description
 
onChoiceListChanged(choiceList)
Called whenever the choice list changes.
 
onCustomValidationChanged(customValidationError, customInvalidItems)
Called whenever the custom validation error or custom invalid items changes.
 
onHasDependentAttributesChanged(hasDependentAttributes)
Called whenever the hasDependentAttributes setting changes.
 
Called whenever the hidden setting changes.
 
Called whenever the label changes.
 
onMaxLengthChanged(maxLength)
Called whenever the maximum length changes.
 
Called whenever the maximum value changes.
 
onMinLengthChanged(minLength)
Called whenever the minimum length changes.
 
Called whenever the minimum value changes.
 
Called whenever the read only setting changes.
 
Called whenever the required setting changes.
 
Called whenever the value setting changes.
Methods borrowed from class ecm.model.AttributeDefinition:
clone, getMetaData, setMetaData
Methods borrowed from class ecm.model._ModelObject:
destroy, onChange, own, refresh, toString

Constructor Detail

ecm.model.configuration.LayoutAttribute()

Since:
2.0.3

Field Detail

reason

A text string used for indicating what the model is being used for "create", "checkin", "editProperties", etc

Method Detail

onChoiceListChanged(choiceList)

Called whenever the choice list changes. This may happen when resolving the dependent attributes
Parameters:
choiceList
The new choiceList value.

onCustomValidationChanged(customValidationError, customInvalidItems)

Called whenever the custom validation error or custom invalid items changes. This may happen when resolving the dependent attributes
Parameters:
customValidationError
The new value of the customValidationError setting.
customInvalidItems
The new value of the customInvalidItems setting.

onHasDependentAttributesChanged(hasDependentAttributes)

Called whenever the hasDependentAttributes setting changes. This may happen when resolving the dependent attributes
Parameters:
hasDependentAttributes
The new value of the hasDependentAttributes setting.

onHiddenChanged(hidden)

Called whenever the hidden setting changes. This may happen when resolving the dependent attributes
Parameters:
hidden
The new hidden value.

onLabelChanged(label)

Called whenever the label changes. This may happen when resolving the dependent attributes
Parameters:
label
The new label value.

onMaxLengthChanged(maxLength)

Called whenever the maximum length changes. This may happen when resolving the dependent attributes
Parameters:
maxLength
The new maxLength value.

onMaxValueChanged(maxValue)

Called whenever the maximum value changes. This may happen when resolving the dependent attributes
Parameters:
maxValue
The new maxValue value.

onMinLengthChanged(minLength)

Called whenever the minimum length changes. This may happen when resolving the dependent attributes
Parameters:
minLength
The new minLength value.

onMinValueChanged(minValue)

Called whenever the minimum value changes. This may happen when resolving the dependent attributes
Parameters:
minValue
The new minValue value.

onReadOnlyChanged(readOnly)

Called whenever the read only setting changes. This may happen when resolving the dependent attributes
Parameters:
readOnly
The new value of the readOnly setting.

onRequiredChanged(required)

Called whenever the required setting changes. This may happen when resolving the dependent attributes
Parameters:
required
The new required value.

onValueChanged(value)

Called whenever the value setting changes. This may happen when resolving the dependent attributes
Parameters:
value
The new value of the value setting.