Edge.Routing (JGraph v5.12.4.2 API Specification)
Keywords: org.jgraph.graph.Edge.Routing interface

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

## org.jgraph.graph
Interface Edge.Routing

All Superinterfaces:
  Serializable

All Known Implementing Classes:
  DefaultEdge.LoopRouting

Enclosing interface:
  Edge

public static interface Edge.Routing
extends Serializable

Field Summary
`static int` | `NO_PREFERENCE`

Method Summary
`int` | `getPreferredLineStyle(EdgeView edge)` Returns the preferred line style for this routing.
`List` | `route(GraphLayoutCache cache, EdgeView edge)` Returns the points to be used for the edge.

Field Detail

### NO_PREFERENCE

    public static final int NO_PREFERENCE

See Also:
  Constant Field Values

Method Detail

### route

    public List route(GraphLayoutCache cache,
                      EdgeView edge)

  Returns the points to be used for the edge.

  Parameters:
    `cache` - TODO
    `edge` - The edge view to route the points for.

### getPreferredLineStyle

    public int getPreferredLineStyle(EdgeView edge)

  Returns the preferred line style for this routing. A return value of `NO_PREFERENCE` means no preference.

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

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.