|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.schwarzrot.ui.validation.constraints.AbstractValidationConstraint<E>
de.schwarzrot.ui.validation.constraints.VCAnyIsTrue<E>
E - the type of the bean, wrapped by the presentation modelpublic class VCAnyIsTrue<E extends Entity>
this constraints checks, whether any of the given properties is true.
| Constructor Summary | |
|---|---|
VCAnyIsTrue(com.jgoodies.binding.PresentationModel<E> model,
List<String> propertyNames)
constructor that takes a list of propertynames |
|
VCAnyIsTrue(com.jgoodies.binding.PresentationModel<E> model,
String[] propertyNames)
conveniance constructor to allow the user to specify just a bunch of properties |
|
| Method Summary | |
|---|---|
boolean |
matches()
the validation kernel |
| Methods inherited from class de.schwarzrot.ui.validation.constraints.AbstractValidationConstraint |
|---|
getLogger, getModel, getPropertyName, getValue, getValue, setModel, setPropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VCAnyIsTrue(com.jgoodies.binding.PresentationModel<E> model,
List<String> propertyNames)
model - - the presentation model, that hides the beanpropertyNames - - the list of property names, that should be checked
public VCAnyIsTrue(com.jgoodies.binding.PresentationModel<E> model,
String[] propertyNames)
model - - the presentation model, that hides the beanpropertyNames - - the bunch of properties, that should be checked| Method Detail |
|---|
public boolean matches()
ValidationConstraint
false - if the property failed on validation
|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||