com.sencha.gxt.widget.core.client.form.error
Class ElementErrorHandler

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.form.error.ElementErrorHandler
All Implemented Interfaces:
ErrorHandler

public class ElementErrorHandler
extends java.lang.Object
implements ErrorHandler

A FieldError instance that calls setInnerHTML on a target element. The target element can be specified directly or via a element id.


Constructor Summary
ElementErrorHandler(Element element)
           
ElementErrorHandler(java.lang.String elementId)
           
 
Method Summary
 void clearInvalid()
           
 Element getElement()
           
 java.lang.String getElementId()
           
 void markInvalid(java.util.List<EditorError> errors)
           
 void setElement(Element element)
           
 void setElementId(java.lang.String elementId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementErrorHandler

public ElementErrorHandler(java.lang.String elementId)

ElementErrorHandler

public ElementErrorHandler(Element element)
Method Detail

getElement

public Element getElement()

setElement

public void setElement(Element element)

getElementId

public java.lang.String getElementId()

setElementId

public void setElementId(java.lang.String elementId)

clearInvalid

public void clearInvalid()
Specified by:
clearInvalid in interface ErrorHandler

markInvalid

public void markInvalid(java.util.List<EditorError> errors)
Specified by:
markInvalid in interface ErrorHandler


Copyright © 2012. All Rights Reserved.