Gephi Toolkit Javadoc

org.gephi.preview.types
Class DependantColor

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

public final class DependantColor
extends java.lang.Object

A color that can be custom or depend from a parent color.

Author:
Mathieu Bastian

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

Constructor Detail

DependantColor

public DependantColor()

DependantColor

public DependantColor(DependantColor.Mode mode)

DependantColor

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

getCustomColor

public java.awt.Color getCustomColor()

getMode

public DependantColor.Mode getMode()

getColor

public java.awt.Color getColor(java.awt.Color parentColor)

Gephi Toolkit Javadoc