com.im.ijc.widgets/1 5.9.1

com.im.ijc.widgets.abstractwidget
Class SupportedTypesBindFieldAcceptor

java.lang.Object
  extended by com.im.ijc.widgets.abstractwidget.BindFieldAcceptor
      extended by com.im.ijc.widgets.abstractwidget.SupportedTypesBindFieldAcceptor

public class SupportedTypesBindFieldAcceptor
extends BindFieldAcceptor

Convenient specialized BindFieldAcceptor for the situation when the widget is able to bind to a fields with particular capability.


Field Summary
static SupportedTypesBindFieldAcceptor NUMERIC_TYPES_BFA
          Accepts numeric field types.
 
Constructor Summary
SupportedTypesBindFieldAcceptor(List<Class<? extends DFCapability>> supportedFieldTypes)
          Returns new acceptor which is able to bind to the given set of types of fields.
 
Method Summary
protected  boolean isAcceptable(DFField field)
           
 
Methods inherited from class com.im.ijc.widgets.abstractwidget.BindFieldAcceptor
acceptBindItems, filterFields, offerEmptyEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMERIC_TYPES_BFA

public static final SupportedTypesBindFieldAcceptor NUMERIC_TYPES_BFA
Accepts numeric field types. Provided for convenience of API clients.

Constructor Detail

SupportedTypesBindFieldAcceptor

public SupportedTypesBindFieldAcceptor(List<Class<? extends DFCapability>> supportedFieldTypes)
Returns new acceptor which is able to bind to the given set of types of fields.

Parameters:
supportedFieldTypes - set of types of fields to which this acceptor is able to bind. All other types are not accepted.
Method Detail

isAcceptable

protected boolean isAcceptable(DFField field)
Overrides:
isAcceptable in class BindFieldAcceptor

com.im.ijc.widgets/1 5.9.1