Class PropExtender

    • Constructor Summary

      Constructors 
      Constructor Description
      PropExtender()
      The default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()
      Disposes of the extends framework.
      boolean initialize​(java.lang.String extendsName, PropCnr source, PropCnr target)
      Initializes the property extender.
      void onEvent​(GEvent e)
      Source events.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropExtender

        public PropExtender()
        The default constructor.
    • Method Detail

      • initialize

        public boolean initialize​(java.lang.String extendsName,
                                  PropCnr source,
                                  PropCnr target)
                           throws PropException
        Initializes the property extender.
        Specified by:
        initialize in interface IPropExtender
        Parameters:
        extendsName - The reference.
        source - The source container.
        target - The target container.
        Returns:
        true for initialized successfully, false if already initialized.
        Throws:
        PropException - If the extends container cannot be found, the target and extendsFrom are not of same class, one of them is index-based, or target is read-only.
      • dispose

        public void dispose()
        Disposes of the extends framework. Call this method to stop extension on a container. All properties belonging to the extended container are removed.
        Specified by:
        dispose in interface IPropExtender
      • onEvent

        public void onEvent​(GEvent e)
        Source events.
        Specified by:
        onEvent in interface EventListener
        Parameters:
        e - The event.