portal.comp.form
Class FormElement

java.lang.Object
  extended byportal.core.api.Component
      extended byportal.comp.form.FormElement
All Implemented Interfaces:
IValidatable, Renderable, java.io.Serializable
Direct Known Subclasses:
DateSelector, PasswordInput, TextArea, TextInput

public abstract class FormElement
extends Component
implements IValidatable

See Also:
Serialized Form

Constructor Summary
FormElement()
           
FormElement(Model model)
           
 
Method Summary
 boolean isValid()
           
 void setValidationRule(IValidatable validationRule)
           
 void validate(IValidationContext validationContext)
           
 
Methods inherited from class portal.core.api.Component
afterRender, beforeRender, createDefaultModel, draw, getLayout, getModel, getParent, isEnabled, isVisible, render, setEnabled, setLayout, setModel, setParent, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormElement

public FormElement()

FormElement

public FormElement(Model model)
Method Detail

setValidationRule

public final void setValidationRule(IValidatable validationRule)

isValid

public final boolean isValid()

validate

public final void validate(IValidationContext validationContext)
Specified by:
validate in interface IValidatable