Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.visualization
Class RandomVertexLocationDecorator

    java.lang.Object
      edu.uci.ics.jung.visualization.RandomVertexLocationDecorator

All Implemented Interfaces:
  VertexLocationFunction

public class RandomVertexLocationDecorator
extends Object
implements VertexLocationFunction

Constructor Summary
`RandomVertexLocationDecorator(Dimension d)`
`RandomVertexLocationDecorator(Dimension d, int seed)`

Method Summary
`Point2D` | `getLocation(ArchetypeVertex v)`
`Iterator` | `getVertexIterator()`
`void` | `reset()` Resets all vertex locations returned by `getLocation` to new (random) locations.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RandomVertexLocationDecorator

    public RandomVertexLocationDecorator(Dimension d)

### RandomVertexLocationDecorator

    public RandomVertexLocationDecorator(Dimension d,
                                         int seed)

Method Detail

### reset

    public void reset()

  Resets all vertex locations returned by `getLocation` to new (random) locations.

### getLocation

    public Point2D getLocation(ArchetypeVertex v)

  Specified by:
    `getLocation` in interface `VertexLocationFunction`

### getVertexIterator

    public Iterator getVertexIterator()

  Specified by:
    `getVertexIterator` in interface `VertexLocationFunction`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD