Gephi Toolkit Javadoc

org.gephi.preview.types
Class EdgeColor

java.lang.Object
  extended by org.gephi.preview.types.EdgeColor

public class EdgeColor
extends java.lang.Object

An edge color type. The color of an edge can be:

Author:
Mathieu Bastian

Nested Class Summary
static class EdgeColor.Mode
           
 
Constructor Summary
EdgeColor(java.awt.Color customColor)
           
EdgeColor(EdgeColor.Mode mode)
           
 
Method Summary
 java.awt.Color getColor(java.awt.Color edgeColor, java.awt.Color sourceColor, java.awt.Color targetColor)
           
 java.awt.Color getCustomColor()
           
 EdgeColor.Mode getMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeColor

public EdgeColor(EdgeColor.Mode mode)

EdgeColor

public EdgeColor(java.awt.Color customColor)
Method Detail

getMode

public EdgeColor.Mode getMode()

getCustomColor

public java.awt.Color getCustomColor()

getColor

public java.awt.Color getColor(java.awt.Color edgeColor,
                               java.awt.Color sourceColor,
                               java.awt.Color targetColor)

Gephi Toolkit Javadoc