Documentation of 'edu.uci.ics.jung.visualization.VisualizationServer' Java class
VisualizationServer
edu.uci.ics.jung.visualization

Interface VisualizationServer<V,E>

    • Method Detail

      • setDoubleBuffered

        void setDoubleBuffered(boolean doubleBuffered)
        Specify whether this class uses its offscreen image or not.
        Parameters:
        doubleBuffered - if true, then doubleBuffering in the superclass is set to 'false'
      • isDoubleBuffered

        boolean isDoubleBuffered()
        Returns whether this class uses double buffering. The superclass will be the opposite state.
        Returns:
        the double buffered state
      • setModel

        void setModel(VisualizationModel<V,E> model)
        Parameters:
        model - the model for this class to use
      • stateChanged

        void stateChanged(javax.swing.event.ChangeEvent e)
        In response to changes from the model, repaint the view, then fire an event to any listeners. Examples of listeners are the GraphZoomScrollPane and the BirdsEyeVisualizationViewer
        Parameters:
        e - the change event
      • setRenderer

        void setRenderer(Renderer<V,E> r)
        Sets the showing Renderer to be the input Renderer. Also tells the Renderer to refer to this instance as a PickedKey. (Because Renderers maintain a small amount of state, such as the PickedKey, it is important to create a separate instance for each VV instance.)
        Parameters:
        r - the renderer to use
      • getRenderer

        Renderer<V,E> getRenderer()
        Returns:
        the renderer used by this instance.
      • setGraphLayout

        void setGraphLayout(Layout<V,E> layout)
        Replaces the current graph layout with layout.
        Parameters:
        layout - the new layout to set
      • getGraphLayout

        Layout<V,E> getGraphLayout()
        Returns:
        the current graph layout.
      • setVisible

        void setVisible(boolean aFlag)
        Makes the component visible if aFlag is true, or invisible if false.
        Parameters:
        aFlag - true iff the component should be visible
        See Also:
        JComponent.setVisible(boolean)
      • getRenderingHints

        java.util.Map<java.awt.RenderingHints.Key,java.lang.Object> getRenderingHints()
        Returns:
        the renderingHints
      • setRenderingHints

        void setRenderingHints(java.util.Map<java.awt.RenderingHints.Key,java.lang.Object> renderingHints)
        Parameters:
        renderingHints - The renderingHints to set.
      • removePreRenderPaintable

        void removePreRenderPaintable(VisualizationServer.Paintable paintable)
        Parameters:
        paintable - The paintable to remove.
      • removePostRenderPaintable

        void removePostRenderPaintable(VisualizationServer.Paintable paintable)
        Parameters:
        paintable - The paintable to remove.
      • addChangeListener

        void addChangeListener(javax.swing.event.ChangeListener l)
        Adds a ChangeListener.
        Parameters:
        l - the listener to be added
      • removeChangeListener

        void removeChangeListener(javax.swing.event.ChangeListener l)
        Removes a ChangeListener.
        Parameters:
        l - the listener to be removed
      • getChangeListeners

        javax.swing.event.ChangeListener[] getChangeListeners()
        Returns an array of all the ChangeListeners added with addChangeListener().
        Returns:
        all of the ChangeListeners added or an empty array if no listeners have been added
      • fireStateChanged

        void fireStateChanged()
        Notifies all listeners that have registered interest for notification on this event type. The event instance is lazily created.
        See Also:
        EventListenerList
      • getPickedVertexState

        PickedState<V> getPickedVertexState()
        Returns:
        the vertex PickedState instance
      • getPickedEdgeState

        PickedState<E> getPickedEdgeState()
        Returns:
        the edge PickedState instance
      • setPickedVertexState

        void setPickedVertexState(PickedState<V> pickedVertexState)
      • setPickedEdgeState

        void setPickedEdgeState(PickedState<E> pickedEdgeState)
      • setPickSupport

        void setPickSupport(GraphElementAccessor<V,E> pickSupport)
        Parameters:
        pickSupport - The pickSupport to set.
      • getCenter

        java.awt.geom.Point2D getCenter()
      • setRenderContext

        void setRenderContext(RenderContext<V,E> renderContext)
      • repaint

        void repaint()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.