Class AbstractPropertyFutureRule<U>
- java.lang.Object
-
- ch.sahits.game.com.guigarage.marvfx.property.rules.future.AbstractPropertyFutureRule<U>
-
- All Implemented Interfaces:
MarvinPropertyRule<U>
,javafx.beans.value.ChangeListener<U>
- Direct Known Subclasses:
StringWillAlwaysEndWithRule
,StringWillAlwaysStartWithRule
,WillChangeByDefinedCountRule
,WillChangeRule
,WillChangeThisWayRule
,WillNeverChangeRule
public abstract class AbstractPropertyFutureRule<U> extends java.lang.Object implements javafx.beans.value.ChangeListener<U>, MarvinPropertyRule<U>
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyFutureRule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
changed(javafx.beans.value.ObservableValue<? extends U> observable, U oldValue, U newValue)
java.lang.Iterable<RuleFail>
check()
protected abstract void
check(U oldValue, U newValue)
protected RuleFail
checkConfirmation()
FutureRuleObserver<U>
createObserver()
protected void
fail()
protected void
fail(java.lang.String message)
-
-
-
Field Detail
-
fails
private java.util.List<RuleFail> fails
-
-
Method Detail
-
changed
public void changed(javafx.beans.value.ObservableValue<? extends U> observable, U oldValue, U newValue)
- Specified by:
changed
in interfacejavafx.beans.value.ChangeListener<U>
-
fail
protected void fail()
-
fail
protected void fail(java.lang.String message)
-
checkConfirmation
protected RuleFail checkConfirmation()
-
check
public final java.lang.Iterable<RuleFail> check()
-
createObserver
public FutureRuleObserver<U> createObserver()
-
-