alun.viewgraph
Class DynamicMappableMap<V extends Mappable>
java.lang.Object
alun.viewgraph.Map
alun.viewgraph.DynamicMappableMap<V>
- All Implemented Interfaces:
- MappableGraph
public class DynamicMappableMap<V extends Mappable>
- extends Map
- implements MappableGraph
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DynamicMappableMap
public DynamicMappableMap(Graph<V,java.lang.Object> gg,
boolean edges)
DynamicMappableMap
public DynamicMappableMap(Graph<V,java.lang.Object> gg)
getShowing
public Mappable getShowing(double x,
double y)
- Specified by:
getShowing in interface MappableGraph
paint
public void paint(java.awt.Graphics gr)
- Specified by:
paint in interface MappableGraph- Overrides:
paint in class Map
show
public void show(Mappable x)
- Specified by:
show in interface MappableGraph
hide
public void hide(Mappable x)
- Specified by:
hide in interface MappableGraph
show
public void show(java.util.Collection<? extends Mappable> x)
- Specified by:
show in interface MappableGraph
hide
public void hide(java.util.Collection<? extends Mappable> x)
- Specified by:
hide in interface MappableGraph
getAllVertices
public java.util.Set<Mappable> getAllVertices()
- Specified by:
getAllVertices in interface MappableGraph
getShownVertices
public java.util.Set<Mappable> getShownVertices()
- Specified by:
getShownVertices in interface MappableGraph
getAllComponent
public java.util.Set<Mappable> getAllComponent(Mappable x)
- Specified by:
getAllComponent in interface MappableGraph
getShownComponent
public java.util.Set<Mappable> getShownComponent(Mappable x)
- Specified by:
getShownComponent in interface MappableGraph
getAllNeighbours
public java.util.Collection<Mappable> getAllNeighbours(Mappable x)
- Specified by:
getAllNeighbours in interface MappableGraph
getShownNeighbours
public java.util.Collection<Mappable> getShownNeighbours(Mappable x)
- Specified by:
getShownNeighbours in interface MappableGraph
getShownOutNeighbours
public java.util.Collection<Mappable> getShownOutNeighbours(Mappable x)
- Specified by:
getShownOutNeighbours in interface MappableGraph
getShownInNeighbours
public java.util.Collection<Mappable> getShownInNeighbours(Mappable x)
- Specified by:
getShownInNeighbours in interface MappableGraph
toString
public java.lang.String toString()
- Overrides:
toString in class Map