alun.viewgraph
Class DynamicMap<V>

java.lang.Object
  extended by alun.viewgraph.Map<V>
      extended by alun.viewgraph.DynamicMap<V>
All Implemented Interfaces:
MappableGraph

public class DynamicMap<V>
extends Map<V>


Constructor Summary
DynamicMap(Graph<V,? extends java.lang.Object> gg)
           
 
Method Summary
 java.util.Collection<Mappable> getAllComponent(Mappable x)
           
 java.util.Collection<Mappable> getAllNeighbours(Mappable x)
           
 java.util.Set<Mappable> getAllVertices()
           
 Mappable getShowing(double x, double y)
           
 java.util.Collection<Mappable> getShownComponent(Mappable x)
           
 java.util.Collection<Mappable> getShownInNeighbours(Mappable x)
           
 java.util.Collection<Mappable> getShownNeighbours(Mappable x)
           
 java.util.Collection<Mappable> getShownOutNeighbours(Mappable x)
           
 java.util.Set<Mappable> getShownVertices()
           
 void hide(java.util.Collection<? extends Mappable> x)
           
 void hide(Mappable x)
           
 void paint(java.awt.Graphics g)
           
 void show(java.util.Collection<? extends Mappable> x)
           
 void show(Mappable x)
           
 java.lang.String toString()
           
 
Methods inherited from class alun.viewgraph.Map
makeRep, setFontSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicMap

public DynamicMap(Graph<V,? extends java.lang.Object> gg)
Method Detail

show

public void show(Mappable x)

hide

public void hide(Mappable x)

show

public void show(java.util.Collection<? extends Mappable> x)

hide

public void hide(java.util.Collection<? extends Mappable> x)

getAllVertices

public java.util.Set<Mappable> getAllVertices()

getShownVertices

public java.util.Set<Mappable> getShownVertices()

getAllComponent

public java.util.Collection<Mappable> getAllComponent(Mappable x)

getShownComponent

public java.util.Collection<Mappable> getShownComponent(Mappable x)

getAllNeighbours

public java.util.Collection<Mappable> getAllNeighbours(Mappable x)

getShownNeighbours

public java.util.Collection<Mappable> getShownNeighbours(Mappable x)

getShownOutNeighbours

public java.util.Collection<Mappable> getShownOutNeighbours(Mappable x)

getShownInNeighbours

public java.util.Collection<Mappable> getShownInNeighbours(Mappable x)

paint

public void paint(java.awt.Graphics g)
Specified by:
paint in interface MappableGraph
Overrides:
paint in class Map<V>

getShowing

public Mappable getShowing(double x,
                           double y)

toString

public java.lang.String toString()
Overrides:
toString in class Map<V>