com.im.ijc.widgets.abstractwidget
Class SupportedTypesBindFieldAcceptor
java.lang.Object
com.im.ijc.widgets.abstractwidget.BindFieldAcceptor
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUMERIC_TYPES_BFA
public static final SupportedTypesBindFieldAcceptor NUMERIC_TYPES_BFA
- Accepts numeric field types. Provided for convenience of API clients.
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.
isAcceptable
protected boolean isAcceptable(DFField field)
- Overrides:
isAcceptable in class BindFieldAcceptor