Package org.gephi.preview.types
Class DependantColor
- java.lang.Object
-
- org.gephi.preview.types.DependantColor
-
public final class DependantColor extends Object
A color that can be custom or depend from a parent color.- Author:
- Mathieu Bastian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DependantColor.Mode
-
Constructor Summary
Constructors Constructor Description DependantColor()
DependantColor(Color customColor)
DependantColor(DependantColor.Mode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor(Color parentColor)
Color
getCustomColor()
DependantColor.Mode
getMode()
-
-
-
Constructor Detail
-
DependantColor
public DependantColor()
-
DependantColor
public DependantColor(DependantColor.Mode mode)
-
DependantColor
public DependantColor(Color customColor)
-
-
Method Detail
-
getCustomColor
public Color getCustomColor()
-
getMode
public DependantColor.Mode getMode()
-
-