| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - E - public interface VisualizationServer<V,E>
| Nested Class Summary | |
|---|---|
static interface | 
VisualizationServer.Paintable
an interface for the preRender and postRender  | 
| Method Summary | |
|---|---|
 void | 
addChangeListener(ChangeListener l)
Adds a ChangeListener. | 
 void | 
addPostRenderPaintable(VisualizationServer.Paintable paintable)
 | 
 void | 
addPreRenderPaintable(VisualizationServer.Paintable paintable)
 | 
 void | 
fireStateChanged()
Notifies all listeners that have registered interest for notification on this event type.  | 
 Point2D | 
getCenter()
 | 
 ChangeListener[] | 
getChangeListeners()
Returns an array of all the ChangeListeners added
 with addChangeListener(). | 
 Layout<V,E> | 
getGraphLayout()
Returns the current graph layout.  | 
 VisualizationModel<V,E> | 
getModel()
 | 
 PickedState<E> | 
getPickedEdgeState()
 | 
 PickedState<V> | 
getPickedVertexState()
 | 
 GraphElementAccessor<V,E> | 
getPickSupport()
 | 
 RenderContext<V,E> | 
getRenderContext()
 | 
 Renderer<V,E> | 
getRenderer()
Returns the renderer used by this instance.  | 
 Map<RenderingHints.Key,Object> | 
getRenderingHints()
 | 
 boolean | 
isDoubleBuffered()
whether this class uses double buffering.  | 
 void | 
removeChangeListener(ChangeListener l)
Removes a ChangeListener.  | 
 void | 
removePostRenderPaintable(VisualizationServer.Paintable paintable)
 | 
 void | 
removePreRenderPaintable(VisualizationServer.Paintable paintable)
 | 
 void | 
repaint()
 | 
 void | 
setDoubleBuffered(boolean doubleBuffered)
set whether this class uses its offscreen image or not.  | 
 void | 
setGraphLayout(Layout<V,E> layout)
Removes the current graph layout, and adds a new one.  | 
 void | 
setModel(VisualizationModel<V,E> model)
 | 
 void | 
setPickedEdgeState(PickedState<E> pickedEdgeState)
 | 
 void | 
setPickedVertexState(PickedState<V> pickedVertexState)
 | 
 void | 
setPickSupport(GraphElementAccessor<V,E> pickSupport)
 | 
 void | 
setRenderContext(RenderContext<V,E> renderContext)
 | 
 void | 
setRenderer(Renderer<V,E> r)
Sets the showing Renderer to be the input Renderer.  | 
 void | 
setRenderingHints(Map<RenderingHints.Key,Object> renderingHints)
 | 
 void | 
setVisible(boolean aFlag)
 | 
 void | 
stateChanged(ChangeEvent e)
In response to changes from the model, repaint the view, then fire an event to any listeners.  | 
| Method Detail | 
|---|
void setDoubleBuffered(boolean doubleBuffered)
boolean isDoubleBuffered()
VisualizationModel<V,E> getModel()
void setModel(VisualizationModel<V,E> model)
model - The model to set.void stateChanged(ChangeEvent e)
void setRenderer(Renderer<V,E> r)
Renderer<V,E> getRenderer()
void setGraphLayout(Layout<V,E> layout)
layout - the new layout to setLayout<V,E> getGraphLayout()
void setVisible(boolean aFlag)
JComponent.setVisible(boolean)Map<RenderingHints.Key,Object> getRenderingHints()
void setRenderingHints(Map<RenderingHints.Key,Object> renderingHints)
renderingHints - The renderingHints to set.void addPreRenderPaintable(VisualizationServer.Paintable paintable)
paintable - The paintable to add.void removePreRenderPaintable(VisualizationServer.Paintable paintable)
paintable - The paintable to remove.void addPostRenderPaintable(VisualizationServer.Paintable paintable)
paintable - The paintable to add.void removePostRenderPaintable(VisualizationServer.Paintable paintable)
paintable - The paintable to remove.void addChangeListener(ChangeListener l)
ChangeListener.
l - the listener to be addedvoid removeChangeListener(ChangeListener l)
l - the listener to be removedChangeListener[] getChangeListeners()
ChangeListeners added
 with addChangeListener().
ChangeListeners added or an empty
         array if no listeners have been addedvoid fireStateChanged()
EventListenerListPickedState<V> getPickedVertexState()
PickedState<E> getPickedEdgeState()
void setPickedVertexState(PickedState<V> pickedVertexState)
pickedState - The pickedState to set.void setPickedEdgeState(PickedState<E> pickedEdgeState)
GraphElementAccessor<V,E> getPickSupport()
void setPickSupport(GraphElementAccessor<V,E> pickSupport)
pickSupport - The pickSupport to set.Point2D getCenter()
RenderContext<V,E> getRenderContext()
void setRenderContext(RenderContext<V,E> renderContext)
void repaint()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||