org.riotfamily.pages.riot.form
Class SitePropertiesEditor

java.lang.Object
  extended by org.riotfamily.forms.AbstractElement
      extended by org.riotfamily.forms.AbstractEditorBase
          extended by org.riotfamily.forms.CompositeElement
              extended by org.riotfamily.pages.riot.form.SitePropertiesEditor
All Implemented Interfaces:
BackingObjectAware, Editor, Element, NestedEditor, BeanFactoryAware

public class SitePropertiesEditor
extends CompositeElement
implements Editor, NestedEditor

Since:
7.0
Author:
Felix Gnass [fgnass at neteye dot de]

Field Summary
 
Fields inherited from class org.riotfamily.forms.AbstractElement
log
 
Constructor Summary
SitePropertiesEditor(FormRepository repository, Site masterSite)
           
 
Method Summary
 Editor getEditor(String property)
           
 String getLabel()
          Returns the label.
 Object getValue()
          Returns the value.
 void setBackingObject(Object obj)
           
 void setValue(Object value)
          Sets the (initial) value, typically retrieved from a backing object.
 
Methods inherited from class org.riotfamily.forms.CompositeElement
addComponent, afterFormSet, focus, getComponents, initComponent, initCompositeElement, isCompositeElement, isEmpty, processRequest, processRequestCompontents, processRequestInternal, removeComponent, renderInternal, setBeanFactory
 
Methods inherited from class org.riotfamily.forms.AbstractEditorBase
addChangeListener, afterBindingSet, fireChangeEvent, getEditorBinding, getFieldName, getHint, getParamName, hasListeners, setEditorBinding, setFieldName, setParamName
 
Methods inherited from class org.riotfamily.forms.AbstractElement
afterFormContextSet, getEventTriggerId, getForm, getFormContext, getFormListener, getId, getParent, getStyleClass, getSystemStyleClass, getWrapperStyleClass, isEnabled, isRequired, isVisible, render, render, setEnabled, setForm, setFormContext, setHint, setId, setInline, setLabel, setParent, setReadOnly, setRequired, setStyleClass, setVisible, setWrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.riotfamily.forms.Editor
addChangeListener, getEditorBinding, getFieldName, setEditorBinding, setFieldName
 
Methods inherited from interface org.riotfamily.forms.Element
focus, getEventTriggerId, getForm, getFormContext, getId, getParent, getStyleClass, isCompositeElement, isEnabled, isRequired, isVisible, processRequest, render, setEnabled, setForm, setFormContext, setId, setParent, setRequired
 

Constructor Detail

SitePropertiesEditor

public SitePropertiesEditor(FormRepository repository,
                            Site masterSite)
Method Detail

getLabel

public String getLabel()
Description copied from interface: Editor
Returns the label.

Specified by:
getLabel in interface Editor
Overrides:
getLabel in class AbstractEditorBase

getValue

public Object getValue()
Description copied from interface: Editor
Returns the value.

Specified by:
getValue in interface Editor

setValue

public void setValue(Object value)
Description copied from interface: Editor
Sets the (initial) value, typically retrieved from a backing object.

Specified by:
setValue in interface Editor

setBackingObject

public void setBackingObject(Object obj)
Specified by:
setBackingObject in interface BackingObjectAware

getEditor

public Editor getEditor(String property)
Specified by:
getEditor in interface NestedEditor