Documentation of 'visad.RemoteDisplayImpl' Java class
RemoteDisplayImpl
visad

Class RemoteDisplayImpl

    • Constructor Detail

      • RemoteDisplayImpl

        public RemoteDisplayImpl(DisplayImpl d)
                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • addSlave

        public void addSlave(RemoteSlaveDisplay display)
                      throws VisADException,
                             java.rmi.RemoteException
        links a slave display to this display
        Specified by:
        addSlave in interface Display
        Parameters:
        display - RemoteSlaveDisplay to link
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeSlave

        public void removeSlave(RemoteSlaveDisplay display)
                         throws VisADException,
                                java.rmi.RemoteException
        removes a link between a slave display and this display
        Specified by:
        removeSlave in interface Display
        Parameters:
        display - RemoteSlaveDisplay to remove
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeAllSlaves

        public void removeAllSlaves()
                             throws VisADException,
                                    java.rmi.RemoteException
        removes all links between slave displays and this display
        Specified by:
        removeAllSlaves in interface Display
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • hasSlaves

        public boolean hasSlaves()
                          throws VisADException,
                                 java.rmi.RemoteException
        whether there are any slave displays linked to this display
        Specified by:
        hasSlaves in interface Display
        Returns:
        true if this display has any slave displays
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • sendMouseEvent

        public void sendMouseEvent(java.awt.event.MouseEvent e)
                            throws VisADException,
                                   java.rmi.RemoteException
        sends a mouse event to this remote display's associated display
        Specified by:
        sendMouseEvent in interface RemoteDisplay
        Throws:
        VisADException
        java.rmi.RemoteException
      • addReference

        public void addReference(DataReference ref,
                                 ConstantMap[] constant_maps)
                          throws VisADException,
                                 java.rmi.RemoteException
        link ref to this Display; must be RemoteDataReference; this method may only be invoked after all links to ScalarMaps have been made; the ConstantMap array applies only to rendering ref
        Specified by:
        addReference in interface Display
        Parameters:
        ref - DataReference to link to
        constant_maps - array of ConstantMaps applied to linked Data
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • addReferences

        public void addReferences(DataRenderer renderer,
                                  DataReference ref)
                           throws VisADException,
                                  java.rmi.RemoteException
        link ref to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information
        Throws:
        VisADException
        java.rmi.RemoteException
      • addReferences

        public void addReferences(DataRenderer renderer,
                                  DataReference ref,
                                  ConstantMap[] constant_maps)
                           throws VisADException,
                                  java.rmi.RemoteException
        link ref to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; the maps array applies only to rendering ref; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information
        Specified by:
        addReferences in interface Display
        Parameters:
        renderer - DataRenderer used to depict linked Data
        ref - DataReference to link to
        constant_maps - array of ConstantMaps applied to this Data
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • addReferences

        public void addReferences(DataRenderer renderer,
                                  DataReference[] refs)
                           throws VisADException,
                                  java.rmi.RemoteException
        link refs to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information
        Throws:
        VisADException
        java.rmi.RemoteException
      • addReferences

        public void addReferences(DataRenderer renderer,
                                  DataReference[] refs,
                                  ConstantMap[][] constant_maps)
                           throws VisADException,
                                  java.rmi.RemoteException
        link refs to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; the maps[i] array applies only to rendering refs[i]; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information
        Throws:
        VisADException
        java.rmi.RemoteException
      • addMap

        public void addMap(ScalarMap map)
                    throws VisADException,
                           java.rmi.RemoteException
        add a ScalarMap to this Display
        Specified by:
        addMap in interface Display
        Parameters:
        map - ScalarMap to link
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeMap

        public void removeMap(ScalarMap map)
                       throws VisADException,
                              java.rmi.RemoteException
        remove a ScalarMap from this Display
        Specified by:
        removeMap in interface Display
        Parameters:
        map - ScalarMap to remove
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • clearMaps

        public void clearMaps()
                       throws VisADException,
                              java.rmi.RemoteException
        clear set of ScalarMap-s associated with this display
        Specified by:
        clearMaps in interface Display
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • getDisplayClassName

        public java.lang.String getDisplayClassName()
                                             throws java.rmi.RemoteException
        Specified by:
        getDisplayClassName in interface RemoteDisplay
        Throws:
        java.rmi.RemoteException
      • getDisplayRendererClassName

        public java.lang.String getDisplayRendererClassName()
                                                     throws java.rmi.RemoteException
        Specified by:
        getDisplayRendererClassName in interface RemoteDisplay
        Throws:
        java.rmi.RemoteException
      • getDisplaySync

        public DisplaySync getDisplaySync()
                                   throws java.rmi.RemoteException
        Returns a remotely-usable wrapper for the associated Display's synchronization object.
        Specified by:
        getDisplaySync in interface RemoteDisplay
        Throws:
        java.rmi.RemoteException
      • getRemoteDisplaySync

        public RemoteDisplaySync getRemoteDisplaySync()
                                               throws java.rmi.RemoteException
        Returns a remotely-usable wrapper for the associated Display's synchronization object.
        Specified by:
        getRemoteDisplaySync in interface RemoteDisplay
        Throws:
        java.rmi.RemoteException
      • sendMessage

        public void sendMessage(MessageEvent msg)
                         throws java.rmi.RemoteException
        Send a message to all MessageListeners.
        Specified by:
        sendMessage in interface Display
        Parameters:
        msg - Message being sent.
        Throws:
        java.rmi.RemoteException - an RMI error occurred

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.