org.diyefi.openlogviewer.coloring
Enum InitialLineColoring
java.lang.Object
java.lang.Enum<InitialLineColoring>
org.diyefi.openlogviewer.coloring.InitialLineColoring
- All Implemented Interfaces:
- Serializable, Comparable<InitialLineColoring>
public enum InitialLineColoring
- extends Enum<InitialLineColoring>
InitialLineColoring is used to provide the coloring for the GenericDataElements.
The colors provided should be the most contrasting colors possible.
- Author:
- Ben Fenner
INSTANCE
public static final InitialLineColoring INSTANCE
values
public static InitialLineColoring[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InitialLineColoring c : InitialLineColoring.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InitialLineColoring valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getBestAvailableColor
public Color getBestAvailableColor()
giveBackColor
public void giveBackColor(Color c)
Copyright © 2011 DIYEFI.org. All Rights Reserved.