Gephi Toolkit Javadoc

org.gephi.preview.types
Class DependantOriginalColor

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

public final class DependantOriginalColor
extends java.lang.Object

A color that depends from another object, but can also have it's own color.

Author:
Mathieu Bastian

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

Constructor Detail

DependantOriginalColor

public DependantOriginalColor(DependantOriginalColor.Mode mode)

DependantOriginalColor

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

getCustomColor

public java.awt.Color getCustomColor()

getMode

public DependantOriginalColor.Mode getMode()

getColor

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

Gephi Toolkit Javadoc