to.etc.domui.component.lookup
Class EqLookupControlImpl

java.lang.Object
  extended by to.etc.domui.component.lookup.AbstractLookupControlImpl
      extended by to.etc.domui.component.lookup.EqLookupControlImpl
All Implemented Interfaces:
ILookupControlInstance

public final class EqLookupControlImpl
extends AbstractLookupControlImpl

ILookupControlInstance which uses a generic input control to create an equals criterion on the input value, provided it is not null.

Author:
Frits Jalvingh Created on Nov 19, 2009

Nested Class Summary
 
Nested classes/interfaces inherited from interface to.etc.domui.component.lookup.ILookupControlInstance
ILookupControlInstance.AppendCriteriaResult
 
Constructor Summary
EqLookupControlImpl(java.lang.String property, IInputNode<?> n)
           
 
Method Summary
 ILookupControlInstance.AppendCriteriaResult appendCriteria(QCriteria<?> crit)
          Evaluate the contents of the input for this lookup line; if the user has added data there then add the values to the query.
 
Methods inherited from class to.etc.domui.component.lookup.AbstractLookupControlImpl
clearInput, getInputControls, getLabelControl, setDisabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqLookupControlImpl

public EqLookupControlImpl(java.lang.String property,
                           IInputNode<?> n)
Method Detail

appendCriteria

public ILookupControlInstance.AppendCriteriaResult appendCriteria(QCriteria<?> crit)
                                                           throws java.lang.Exception
Description copied from interface: ILookupControlInstance
Evaluate the contents of the input for this lookup line; if the user has added data there then add the values to the query.

Specified by:
appendCriteria in interface ILookupControlInstance
Specified by:
appendCriteria in class AbstractLookupControlImpl
Returns:
see ILookupControlInstance.AppendCriteriaResult
Throws:
java.lang.Exception