public abstract class HubPropController extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HubPropController.HubProp
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
boolean |
DEBUG
Deprecated.
|
protected HubPropController.HubProp[] |
hubProps
Deprecated.
|
Constructor and Description |
---|
HubPropController()
Deprecated.
|
HubPropController(Hub hub)
Deprecated.
|
HubPropController(Hub hub,
String propertyName)
Deprecated.
|
HubPropController(Hub hub,
String propertyName,
Object compareValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
_isValid()
Deprecated.
|
void |
add(Hub hub)
Deprecated.
Add an addition hub to base the check on.
|
void |
add(Hub hub,
String propertyPath)
Deprecated.
If compare value is null: if propertyPath is null then uses OANotNullObject, else uses Boolean.true
|
void |
add(Hub hub,
String propertyPath,
Object compareValue)
Deprecated.
Add an addition hub/property to base the check on.
|
void |
clear()
Deprecated.
|
void |
close()
Deprecated.
|
boolean |
isValid()
Deprecated.
Called by update during a change that affects any of the hub/properties.
|
protected boolean |
isValid(boolean bEnableValue)
Deprecated.
This is called with the Enabled value, as a chance to overwrite the value.
|
protected abstract void |
onUpdate(boolean bValid)
Deprecated.
|
void |
update()
Deprecated.
Called when a change is made to Hub/Property.
|
protected HubPropController.HubProp[] hubProps
public boolean DEBUG
public HubPropController()
public HubPropController(Hub hub)
public void add(Hub hub)
public void add(Hub hub, String propertyPath)
hub
- propertyPath
- public void add(Hub hub, String propertyPath, Object compareValue)
compareValue
- can be null, OANullObject.instance, OANotNullObject.instance, OAAnyValueObject.instance,
or any other value.
Note: OAAnyValueObject is used so that hub.isValid is the only check that is needed.public void clear()
public void close()
public boolean isValid()
protected boolean _isValid()
protected boolean isValid(boolean bEnableValue)
public void update()
protected abstract void onUpdate(boolean bValid)
Copyright © 1999–2019 ViaOA. All rights reserved.