Class VirtualsPropCnr

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable

    public class VirtualsPropCnr
    extends PropCnr
    The Virtuals property container contains all the virtualized instances of a session divided into VirtualSpace, Panels, and other connectors.
    Author:
    Christopher Mindus
    • Constructor Detail

      • VirtualsPropCnr

        public VirtualsPropCnr()
        Constructs an unnamed instance.
      • VirtualsPropCnr

        public VirtualsPropCnr​(Atom name)
        Constructs a named instance.
    • Method Detail

      • addVirtualizedContainer

        public void addVirtualizedContainer​(PropCnr cnr,
                                            java.lang.String ref)
                                     throws PropException
        Adds a new virtualized property container with the specified reference path.
        Parameters:
        cnr - Container to add.
        ref - The non-virtualized reference path.
        Throws:
        PropException - When the property has a duplicate property name or if structural changes in containers is prohibited due to creation-ship of container and who is requesting the structural change.
      • getVirtualizedContainer

        public PropCnr getVirtualizedContainer​(java.lang.String ref)
        Gets a virtual property from a reference path.
        Parameters:
        ref - The non-virtualized reference path.
        Returns:
        The property container, or null if not found.
      • removeVirtualizedContainer

        public void removeVirtualizedContainer​(PropCnr cnr)
        Removes a virtualized container.
        Parameters:
        cnr - Container to remove.