Package sc.bind

Class ArraySelectorBinding

    • Constructor Detail

      • ArraySelectorBinding

        public ArraySelectorBinding​(IBinding arrayElementBinding)
    • Method Detail

      • isConstant

        public boolean isConstant()
        Specified by:
        isConstant in interface IBinding
      • getPropertyValue

        public java.lang.Object getPropertyValue​(java.lang.Object parent,
                                                 boolean getField,
                                                 boolean pendingChild)
        Description copied from interface: IBinding
        Retrieves the current value of the binding given the current object. Use getField = true to force use of the field, rather than the getX method if one exists. Use pendingChild = true for a special case where we are getting the property value of a binding that is part of a reverse binding but where the cached value is up-to-update because we are updating a child remote property.
        Specified by:
        getPropertyValue in interface IBinding
      • getBoundValue

        public java.lang.Object getBoundValue​(boolean pendingChild)
      • addBindingListener

        public void addBindingListener​(java.lang.Object eventObject,
                                       IListener listener,
                                       int event)
        Specified by:
        addBindingListener in interface IBinding
      • invalidateBinding

        public void invalidateBinding​(java.lang.Object object,
                                      boolean sendEvent,
                                      int event,
                                      boolean includeParams)
        Specified by:
        invalidateBinding in interface IBinding
      • applyBinding

        public boolean applyBinding​(java.lang.Object obj,
                                    java.lang.Object value,
                                    IBinding src,
                                    boolean refresh,
                                    boolean pendingChild)
        Specified by:
        applyBinding in interface IBinding
      • applyReverseBinding

        public void applyReverseBinding​(java.lang.Object obj,
                                        java.lang.Object value,
                                        java.lang.Object src)
        Specified by:
        applyReverseBinding in interface IBinding