|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractComponent
net.sf.jzeno.echo.components.CustomComponent
net.sf.jzeno.echo.editor.JavaBeanPropertyEditor
public class JavaBeanPropertyEditor
Editor that visualizes a property grid to manipulate the properties of the javabean this editor is bound to. It ao fires it's default dynamic event when properties are applied to the component.
Field Summary |
---|
Constructor Summary | |
---|---|
JavaBeanPropertyEditor()
|
|
JavaBeanPropertyEditor(java.lang.Class beanClass,
java.lang.String propertyPath,
java.lang.String executionHints)
|
Method Summary | |
---|---|
void |
apply()
|
void |
applyContext()
|
java.lang.Object |
getBean()
Retrieve the root bean this editor is bound to. |
static java.lang.Class |
getDefaultPropertyEditor(java.lang.Class propertyClass)
|
java.util.List |
getPropertyValues()
Gets the list of property values. |
void |
setComponent(Component component)
|
void |
setPropertyValues(java.util.List propertyValues)
Sets the list of property values. |
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent |
---|
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, rebind, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaBeanPropertyEditor()
public JavaBeanPropertyEditor(java.lang.Class beanClass, java.lang.String propertyPath, java.lang.String executionHints)
Method Detail |
---|
public java.lang.Object getBean()
PropertyComponent
Retrieve the root bean this editor is bound to.
getBean
in interface PropertyComponent
getBean
in class CustomComponent
public void setComponent(Component component)
public java.util.List getPropertyValues()
Gets the list of property values.
public void setPropertyValues(java.util.List propertyValues)
Sets the list of property values.
public void apply()
public static java.lang.Class getDefaultPropertyEditor(java.lang.Class propertyClass)
public void applyContext()
applyContext
in interface Precreation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |