org.riotfamily.pages.riot.form
Class PagePropertiesEditor
java.lang.Object
org.riotfamily.forms.AbstractElement
org.riotfamily.forms.AbstractEditorBase
org.riotfamily.forms.CompositeElement
org.riotfamily.pages.riot.form.PagePropertiesEditor
- All Implemented Interfaces:
- BackingObjectAware, BeanEditor, Editor, Element, ChangeListener, NestedEditor, BeanFactoryAware
public class PagePropertiesEditor
- extends CompositeElement
- implements Editor, BeanEditor, ChangeListener
- Since:
- 7.0
- Author:
- Felix Gnass [fgnass at neteye dot de]
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.Element |
focus, getEventTriggerId, getForm, getFormContext, getId, getParent, getStyleClass, isCompositeElement, isEnabled, isRequired, isVisible, processRequest, render, setEnabled, setForm, setFormContext, setId, setParent, setRequired |
PagePropertiesEditor
public PagePropertiesEditor(FormRepository repository,
Form form,
String pageType)
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
bind
public void bind(Editor editor,
String property)
- Specified by:
bind
in interface BeanEditor
setBeanClass
public void setBeanClass(Class<?> beanClass)
- Specified by:
setBeanClass
in interface BeanEditor
valueChanged
public void valueChanged(ChangeEvent event)
- Specified by:
valueChanged
in interface ChangeListener