Package sc.bind
Class NewBinding
- java.lang.Object
-
- sc.bind.AbstractListener
-
- sc.bind.DestinationListener
-
- sc.bind.AbstractMethodBinding
-
- sc.bind.NewBinding
-
public class NewBinding extends AbstractMethodBinding
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface sc.bind.IListener
IListener.SyncType
-
-
Field Summary
-
Fields inherited from interface sc.bind.IListener
ARRAY_ELEMENT_CHANGED, ARRAY_ELEMENT_INVALIDATED, ARRAY_ELEMENT_VALIDATED, LISTENER_ADDED, PENDING_VALUE_SENTINEL, UNSET_VALUE_SENTINEL, VALUE_CHANGED, VALUE_CHANGED_MASK, VALUE_INVALIDATED, VALUE_REQUESTED, VALUE_VALIDATED
-
-
Constructor Summary
Constructors Constructor Description NewBinding(java.lang.Object theClass, java.lang.String paramSig, IBinding[] parameterBindings)
NewBinding(java.lang.Object dstObject, IBinding dstBinding, java.lang.Object theClass, java.lang.String paramSig, IBinding[] parameterBindings, BindingDirection dir, int flags, BindOptions opts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
invokeMethod(java.lang.Object obj, boolean pendingChild)
protected java.lang.Object
invokeReverseMethod(java.lang.Object obj, java.lang.Object value)
Called when reverse bindings fireprotected boolean
needsMethodObj()
Override in subclasses that do not use the methObj so we can tell when the method just could not be resolvedjava.lang.String
toString(java.lang.String operation, boolean displayValue)
-
Methods inherited from class sc.bind.AbstractMethodBinding
accessBinding, activate, addBindingListener, applyBinding, applyChangedValue, applyPendingChildValue, applyPendingValue, applyReverseBinding, cleanParamValues, equalObjects, getBoundParams, getBoundValueForChild, getPropertyValue, hasNullParams, hasPendingParams, hasUnsetParams, initFlagsOnChildren, initializeBinding, initParams, invalidateBinding, isConstant, isRefreshDisabled, isReversible, isValid, parentBindingChanged, refreshBinding, removeBindingListener, removeListener, setBindingParent, setMethObj, toBindingString, useParens, valueInvalidated, valueValidated
-
Methods inherited from class sc.bind.DestinationListener
accessObj, addCurrentScopeContext, getCurrentScopeContexts, getTrace, getUnsetOrPending, getVerbose, initFlags, isCrossScope, isDefinedObject, isValidObject, toString, toString
-
Methods inherited from class sc.bind.AbstractListener
arrayElementChanged, arrayElementInvalidated, arrayElementValidated, getPriority, getSync, listenerAdded, performCast, valueChanged, valueRequested
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface sc.bind.IBinding
performCast
-
-
-
-
Constructor Detail
-
NewBinding
public NewBinding(java.lang.Object theClass, java.lang.String paramSig, IBinding[] parameterBindings)
-
NewBinding
public NewBinding(java.lang.Object dstObject, IBinding dstBinding, java.lang.Object theClass, java.lang.String paramSig, IBinding[] parameterBindings, BindingDirection dir, int flags, BindOptions opts)
-
-
Method Detail
-
invokeMethod
protected java.lang.Object invokeMethod(java.lang.Object obj, boolean pendingChild)
- Specified by:
invokeMethod
in classAbstractMethodBinding
-
needsMethodObj
protected boolean needsMethodObj()
Description copied from class:AbstractMethodBinding
Override in subclasses that do not use the methObj so we can tell when the method just could not be resolved- Overrides:
needsMethodObj
in classAbstractMethodBinding
-
invokeReverseMethod
protected java.lang.Object invokeReverseMethod(java.lang.Object obj, java.lang.Object value)
Called when reverse bindings fire- Specified by:
invokeReverseMethod
in classAbstractMethodBinding
-
toString
public java.lang.String toString(java.lang.String operation, boolean displayValue)
- Overrides:
toString
in classDestinationListener
-
-