info.magnolia.security.app.dialog.field
Class ConditionalReadOnlyTextFieldDefinition

java.lang.Object
  extended by info.magnolia.ui.form.field.definition.ConfiguredFieldDefinition
      extended by info.magnolia.ui.form.field.definition.TextFieldDefinition
          extended by info.magnolia.security.app.dialog.field.ConditionalReadOnlyTextFieldDefinition
All Implemented Interfaces:
info.magnolia.ui.form.field.definition.FieldDefinition

public class ConditionalReadOnlyTextFieldDefinition
extends info.magnolia.ui.form.field.definition.TextFieldDefinition

Text field which is read only if a certain value is set when the field is created. Used to prevent changing the name of the superuser role.

See Also:
ConditionalReadOnlyTextFieldFactory

Constructor Summary
ConditionalReadOnlyTextFieldDefinition()
           
 
Method Summary
 String getConditionalValue()
           
 void setConditionalValue(String conditionalValue)
           
 
Methods inherited from class info.magnolia.ui.form.field.definition.TextFieldDefinition
getMaxLength, getRows, setMaxLength, setRows
 
Methods inherited from class info.magnolia.ui.form.field.definition.ConfiguredFieldDefinition
addValidator, getDefaultValue, getDescription, getI18nBasename, getLabel, getName, getRequiredErrorMessage, getStyleName, getTransformerClass, getType, getValidators, isI18n, isReadOnly, isRequired, setDefaultValue, setDescription, setI18n, setI18nBasename, setLabel, setName, setReadOnly, setRequired, setRequiredErrorMessage, setStyleName, setTransformerClass, setType, setValidators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalReadOnlyTextFieldDefinition

public ConditionalReadOnlyTextFieldDefinition()
Method Detail

getConditionalValue

public String getConditionalValue()

setConditionalValue

public void setConditionalValue(String conditionalValue)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.