Package com.inet.pdfc.print
Class DefaultColorProvider
- java.lang.Object
-
- com.inet.pdfc.print.DefaultColorProvider
-
- All Implemented Interfaces:
ColorProvider,java.io.Serializable
public class DefaultColorProvider extends java.lang.Object implements ColorProvider
Provides the colors used by the Painter to paint the Markers for the Difference Groups and their modifications.- Since:
- 4.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultColorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetMarkerColor(DiffGroup.GroupType t)Returns the color of the marker for a difference group of the given typejava.awt.ColorgetOutlineColor(DiffGroup.GroupType t)Returns the color to mark the difference elements inside a difference group of the given type
-
-
-
Method Detail
-
getMarkerColor
@Nonnull public java.awt.Color getMarkerColor(DiffGroup.GroupType t)
Returns the color of the marker for a difference group of the given type- Specified by:
getMarkerColorin interfaceColorProvider- Parameters:
t- the type of the difference group- Returns:
- the color of the marker for a difference group, should not be null
- Since:
- 3.20
-
getOutlineColor
@Nonnull public java.awt.Color getOutlineColor(DiffGroup.GroupType t)
Returns the color to mark the difference elements inside a difference group of the given type- Specified by:
getOutlineColorin interfaceColorProvider- Parameters:
t- the type of the difference group- Returns:
- the color to mark the difference elements, should not be null
- Since:
- 3.20
-
-