public class BaseComponentPropertyChangedTrigger<C extends Component>
extends com.google.code.validationframework.base.trigger.AbstractTrigger
implements com.google.code.validationframework.api.common.Disposable
| Constructor and Description |
|---|
BaseComponentPropertyChangedTrigger(C source)
Constructor specifying the component whose property changes are to be watched.
Using this constructor will be the trigger initiate the validation upon any property change. |
BaseComponentPropertyChangedTrigger(C component,
String... propertyNames)
Constructor specifying the component for which the specified property changes are to be watched.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
C |
getComponent()
Gets the source component.
|
public BaseComponentPropertyChangedTrigger(C source)
source - Component whose property changes are to be listened to.public BaseComponentPropertyChangedTrigger(C component, String... propertyNames)
component - Component whose property changes are to be listened to.propertyNames - Optional names of the properties of the component to listen to.public C getComponent()
public void dispose()
dispose in interface com.google.code.validationframework.api.common.Disposabledispose in class com.google.code.validationframework.base.trigger.AbstractTriggerDisposable.dispose()Copyright © 2015. All Rights Reserved.