net.sf.jzeno.echo.script
Class ComponentInspector
java.lang.Object
nextapp.echo.AbstractComponent
net.sf.jzeno.echo.components.CustomComponent
net.sf.jzeno.echo.script.ComponentInspector
- All Implemented Interfaces:
- java.io.Serializable, BindingTarget, PropertyComponent, RebindableComponent, EventSink, EventSource, Precreation, Component, FastComponent, FastComponentContainer
public class ComponentInspector
- extends CustomComponent
- implements Precreation
Editor that allows a user to create/type a validation expression that needs
to be checked against the state of a given component.
- See Also:
- Serialized Form
Fields inherited from interface nextapp.echo.Component |
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY |
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 nextapp.echo.AbstractComponent |
add, add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, setVisible, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentInspector
public ComponentInspector()
ComponentInspector
public ComponentInspector(java.lang.Class beanClass,
java.lang.String propertyPath,
java.lang.String executionHints)
getBean
public java.lang.Object getBean()
- Description copied from interface:
PropertyComponent
Retrieve the root bean this editor is bound to.
- Specified by:
getBean
in interface PropertyComponent
- Overrides:
getBean
in class CustomComponent
setComponent
public void setComponent(Component component)
addVerification
public void addVerification(PropertyComponent pc)
addVariable
public void addVariable(PropertyComponent pc)
addVariableOk
public void addVariableOk()
setVariable
public void setVariable(PropertyComponent pc)
setVariableOk
public void setVariableOk()
getPropertyValues
public java.util.List getPropertyValues()
setPropertyValues
public void setPropertyValues(java.util.List propertyValues)
check
public boolean check()
applyContext
public void applyContext()
- Specified by:
applyContext
in interface Precreation
getExpression
public java.lang.String getExpression()
setExpression
public void setExpression(java.lang.String expression)
getVariableName
public java.lang.String getVariableName()
setVariableName
public void setVariableName(java.lang.String variableName)