org.globus.cog.gui.grapheditor.targets.swing.views
Class ListView

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.canvas.views.AbstractView
      extended byorg.globus.cog.gui.grapheditor.targets.swing.views.SwingView
          extended byorg.globus.cog.gui.grapheditor.targets.swing.views.ListView
All Implemented Interfaces:
CanvasActionListener, CanvasEventListener, CanvasView, ColumnsEditor.Listener, GraphListener
Direct Known Subclasses:
AllListView, ProjectPropertiesView, TargetsListView

public class ListView
extends SwingView
implements CanvasView, GraphListener, CanvasActionListener, ColumnsEditor.Listener, CanvasEventListener

Implements a table view of the objects and their properties. It allows for filtering of the nodes based on their class types.


Constructor Summary
ListView()
           
 
Method Summary
 void activate()
           
 void canvasActionPerformed(CanvasActionEvent e)
           
 void canvasEvent(CanvasEvent e)
           
 void clean()
          Cleans up this view.
 void columnsUpdated(ColumnsEditor e)
           
 void disable()
           
 void editorClosed(ColumnsEditor e)
           
 void enable()
           
 void graphChanged(GraphChangedEvent e)
           
 void invalidate()
          Forces the view to reevaluate its internal state.
 
Methods inherited from class org.globus.cog.gui.grapheditor.targets.swing.views.SwingView
getComponent, getSwingRenderer, repaint, setComponent
 
Methods inherited from class org.globus.cog.gui.grapheditor.canvas.views.AbstractView
addTransformation, getCanvas, getGraph, getName, getNewInstance, getRenderer, getTransformations, getType, getViewport, isActive, isSelective, reLayout, setGraph, setName, setRenderer, setTransformation, setType, setViewport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.gui.grapheditor.canvas.views.CanvasView
addTransformation, getGraph, getName, getNewInstance, getRenderer, getViewport, isSelective, reLayout, setGraph, setRenderer, setTransformation, setViewport
 

Constructor Detail

ListView

public ListView()
Method Detail

graphChanged

public void graphChanged(GraphChangedEvent e)
Specified by:
graphChanged in interface GraphListener

invalidate

public void invalidate()
Description copied from interface: CanvasView
Forces the view to reevaluate its internal state. This method is called whenever the structure of the graph changes

Specified by:
invalidate in interface CanvasView
Overrides:
invalidate in class AbstractView

canvasActionPerformed

public void canvasActionPerformed(CanvasActionEvent e)
Specified by:
canvasActionPerformed in interface CanvasActionListener

activate

public void activate()
Specified by:
activate in interface CanvasView
Overrides:
activate in class SwingView

enable

public void enable()
Overrides:
enable in class SwingView

clean

public void clean()
Description copied from interface: CanvasView
Cleans up this view. This method should be called when a view is deactivated. The view can be reused later, by invalidating it.

Specified by:
clean in interface CanvasView
Overrides:
clean in class SwingView

disable

public void disable()
Overrides:
disable in class SwingView

columnsUpdated

public void columnsUpdated(ColumnsEditor e)
Specified by:
columnsUpdated in interface ColumnsEditor.Listener

editorClosed

public void editorClosed(ColumnsEditor e)
Specified by:
editorClosed in interface ColumnsEditor.Listener

canvasEvent

public void canvasEvent(CanvasEvent e)
Specified by:
canvasEvent in interface CanvasEventListener