Gephi Toolkit Javadoc

org.gephi.preview.api
Interface ColorizerFactory


public interface ColorizerFactory

Interface of a colorizer factory.

Author:
Jérémy Subtil

Method Summary
 Colorizer createCustomColorMode(java.awt.Color color)
          Creates a CustomColorMode colorizer from the given color object.
 Colorizer createCustomColorMode(int r, int g, int b)
          Creates a CustomColorMode colorizer from the given color components.
 Colorizer createEdgeB1ColorMode()
          Creates a EdgeB1ColorMode colorizer.
 Colorizer createEdgeB2ColorMode()
          Creates a EdgeB2ColorMode colorizer.
 Colorizer createEdgeBothBColorMode()
          Creates a EdgeBothBColorMode colorizer.
 Colorizer createEdgeOriginalColorMode()
           
 Colorizer createNodeOriginalColorMode()
          Creates a NodeOriginalColorMode colorizer.
 Colorizer createParentColorMode()
          Creates a ParentColorMode colorizer.
 boolean isCustomColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a CustomColorMode.
 boolean isEdgeB1ColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a EdgeB1ColorMode.
 boolean isEdgeB2ColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a EdgeB2ColorMode.
 boolean isEdgeBothBColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a EdgeBothBColorMode.
 boolean isEdgeOriginalColorMode(Colorizer colorizer)
           
 boolean isNodeOriginalColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a NodeOriginalColorMode.
 boolean isParentColorMode(Colorizer colorizer)
          Returns whether or not the given colorizer is a ParentColorMode.
 boolean matchCustomColorMode(java.lang.String s)
          Returns whether or not the given string matches with the CustomColorMode's identifier.
 boolean matchEdgeB1ColorMode(java.lang.String s)
          Returns whether or not the given string matches with the EdgeB1ColorMode's identifier.
 boolean matchEdgeB2ColorMode(java.lang.String s)
          Returns whether or not the given string matches with the EdgeB2ColorMode's identifier.
 boolean matchEdgeBothBColorMode(java.lang.String s)
          Returns whether or not the given string matches with the EdgeBothBColorMode's identifier.
 boolean matchEdgeOriginalColorMode(java.lang.String s)
           
 boolean matchNodeOriginalColorMode(java.lang.String s)
          Returns whether or not the given string matches with the NodeOriginalColorMode's identifier.
 boolean matchParentColorMode(java.lang.String s)
          Returns whether or not the given string matches with the ParentColorMode's identifier.
 

Method Detail

matchCustomColorMode

boolean matchCustomColorMode(java.lang.String s)
Returns whether or not the given string matches with the CustomColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the CustomColorMode's identifier

matchNodeOriginalColorMode

boolean matchNodeOriginalColorMode(java.lang.String s)
Returns whether or not the given string matches with the NodeOriginalColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the NodeOriginalColorMode's identifier

matchParentColorMode

boolean matchParentColorMode(java.lang.String s)
Returns whether or not the given string matches with the ParentColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the ParentColorMode's identifier

matchEdgeB1ColorMode

boolean matchEdgeB1ColorMode(java.lang.String s)
Returns whether or not the given string matches with the EdgeB1ColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the EdgeB1ColorMode's identifier

matchEdgeB2ColorMode

boolean matchEdgeB2ColorMode(java.lang.String s)
Returns whether or not the given string matches with the EdgeB2ColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the EdgeB2ColorMode's identifier

matchEdgeBothBColorMode

boolean matchEdgeBothBColorMode(java.lang.String s)
Returns whether or not the given string matches with the EdgeBothBColorMode's identifier.

Parameters:
s - the string to compare
Returns:
true if the given string matches with the EdgeBothBColorMode's identifier

matchEdgeOriginalColorMode

boolean matchEdgeOriginalColorMode(java.lang.String s)

isCustomColorMode

boolean isCustomColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a CustomColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a CustomColorMode

isNodeOriginalColorMode

boolean isNodeOriginalColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a NodeOriginalColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a NodeOriginalColorMode

isParentColorMode

boolean isParentColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a ParentColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a ParentColorMode

isEdgeB1ColorMode

boolean isEdgeB1ColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a EdgeB1ColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a EdgeB1ColorMode

isEdgeB2ColorMode

boolean isEdgeB2ColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a EdgeB2ColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a EdgeB2ColorMode

isEdgeBothBColorMode

boolean isEdgeBothBColorMode(Colorizer colorizer)
Returns whether or not the given colorizer is a EdgeBothBColorMode.

Parameters:
colorizer - the colorizer to identify
Returns:
true if the given colorizer is a EdgeBothBColorMode

isEdgeOriginalColorMode

boolean isEdgeOriginalColorMode(Colorizer colorizer)

createCustomColorMode

Colorizer createCustomColorMode(int r,
                                int g,
                                int b)
Creates a CustomColorMode colorizer from the given color components.

Parameters:
r - the red color component
g - the green color component
b - the blue color component
Returns:
a CustomColorMode colorizer

createCustomColorMode

Colorizer createCustomColorMode(java.awt.Color color)
Creates a CustomColorMode colorizer from the given color object.

Parameters:
color - the color object
Returns:
a CustomColorMode colorizer

createNodeOriginalColorMode

Colorizer createNodeOriginalColorMode()
Creates a NodeOriginalColorMode colorizer.

Returns:
a NodeOriginalColorMode colorizer

createParentColorMode

Colorizer createParentColorMode()
Creates a ParentColorMode colorizer.

Returns:
a ParentColorMode colorizer

createEdgeB1ColorMode

Colorizer createEdgeB1ColorMode()
Creates a EdgeB1ColorMode colorizer.

Returns:
a EdgeB1ColorMode colorizer

createEdgeB2ColorMode

Colorizer createEdgeB2ColorMode()
Creates a EdgeB2ColorMode colorizer.

Returns:
a EdgeB2ColorMode colorizer

createEdgeBothBColorMode

Colorizer createEdgeBothBColorMode()
Creates a EdgeBothBColorMode colorizer.

Returns:
a EdgeBothBColorMode colorizer

createEdgeOriginalColorMode

Colorizer createEdgeOriginalColorMode()

Gephi Toolkit Javadoc