Interface DepictedObject

    • Method Detail

      • getSession

        GuiseSession getSession()
        Returns:
        The Guise session that owns this object.
      • getDepictID

        long getDepictID()
        Returns:
        The object depiction identifier.
      • exportTransfer

        Transferable<?> exportTransfer()
        Exports data from the depicted object. Each export strategy, from last to first added, will be asked to export data, until one is successful.
        Returns:
        The object to be transferred, or null if no data can be transferred.
      • processEvent

        void processEvent​(PlatformEvent event)
        Processes an event from the platform. This method delegates to the currently installed depictor.
        Parameters:
        event - The event to be processed.
        Throws:
        java.lang.IllegalArgumentException - if the given event is a relevant DepictEvent with a source of a different depicted object.
        See Also:
        getDepictor(), Depictor.processEvent(PlatformEvent)
      • depict

        void depict()
             throws java.io.IOException
        Updates the depiction of the object. The depiction will be marked as updated. This method delegates to the currently installed depictor.
        Throws:
        java.io.IOException - if there is an error updating the depiction.
        See Also:
        getDepictor(), Depictor.depict()