net.xqhs.graphs.representation.graphical
Class RadialGraphRepresentation

java.lang.Object
  extended by net.xqhs.util.config.Config
      extended by net.xqhs.util.logging.Unit
          extended by net.xqhs.graphs.representation.GraphRepresentationImplementation
              extended by net.xqhs.graphs.representation.linear.LinearGraphRepresentation
                  extended by net.xqhs.graphs.representation.graphical.GraphicalGraphRepresentation
                      extended by net.xqhs.graphs.representation.graphical.RadialGraphRepresentation
All Implemented Interfaces:
GraphRepresentation, net.xqhs.util.config.Configurable

public class RadialGraphRepresentation
extends GraphicalGraphRepresentation

A representation based on the GraphicalGraphRepresentation, but using a radial layout instead of a top-down right-to-left one.

Author:
Andrei Olaru

Nested Class Summary
 
Nested classes/interfaces inherited from class net.xqhs.util.config.Config
net.xqhs.util.config.Config.ConfigLockedException
 
Field Summary
 
Fields inherited from class net.xqhs.graphs.representation.graphical.GraphicalGraphRepresentation
bottomright, canvas, topleft
 
Fields inherited from class net.xqhs.graphs.representation.linear.LinearGraphRepresentation
isBackwards, paths, sortedNodes
 
Fields inherited from class net.xqhs.graphs.representation.GraphRepresentationImplementation
parentRepresentation, theGraph, theRepresentation
 
Fields inherited from class net.xqhs.util.logging.Unit
DEFAULT_LEVEL, DEFAULT_UNIT_NAME
 
Constructor Summary
RadialGraphRepresentation(Graph theGraph)
          Creates a new representation for the specified Graph instance.
 
Method Summary
protected  void doLayout()
           
protected  void doLayout(GraphicalRepresentationElement repr, java.awt.Point cPos, java.awt.geom.Point2D ref, float aFactor, float rFactor, GraphicalRepresentationElement container)
           
 
Methods inherited from class net.xqhs.graphs.representation.graphical.GraphicalGraphRepresentation
displayRepresentation, doLayout, getRepresentation, makeDefaults, measureLayout, processGraph, representChildren, representOthers, setBottomRight, setCanvas, setDefaultName, setOrigin
 
Methods inherited from class net.xqhs.graphs.representation.linear.LinearGraphRepresentation
buildPaths, isBackwards, setBackwards, setBackwards
 
Methods inherited from class net.xqhs.graphs.representation.GraphRepresentationImplementation
getRootRepresentation, setParentRepresentation, setUnitName, update
 
Methods inherited from class net.xqhs.util.logging.Unit
compose, dbg, doExit, getDefaultUnitName, getUnitName, l, le, lf, li, lock, lockedR, lr, lr, lw, setLink, setLink, setLogDisplay, setLogEnsureNew, setLoggerClass, setLoggerType, setLoggerTypeClass, setLogLevel, setLogReporter, setUnitName
 
Methods inherited from class net.xqhs.util.config.Config
build, ensureLocked, locked, lockedEx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadialGraphRepresentation

public RadialGraphRepresentation(Graph theGraph)
Creates a new representation for the specified Graph instance.

Parameters:
theGraph - - the graph
Method Detail

doLayout

protected void doLayout()
Overrides:
doLayout in class GraphicalGraphRepresentation

doLayout

protected void doLayout(GraphicalRepresentationElement repr,
                        java.awt.Point cPos,
                        java.awt.geom.Point2D ref,
                        float aFactor,
                        float rFactor,
                        GraphicalRepresentationElement container)