public static enum TimelinePanel.MapColor extends Enum<TimelinePanel.MapColor>
| Enum Constant and Description |
|---|
HIGH_COLOR_KEY |
LOW_COLOR_KEY |
WAYPOINTS_COLOR_KEY |
| Modifier and Type | Method and Description |
|---|---|
Color |
getDefaultColor()
Get default color of the preferrence
|
int |
getDegaultARGB()
Get defualt color represented by in in format defined in Color.getRGB()
|
String |
getPrefKey()
Get preferences key for TimelinePanel.
|
static TimelinePanel.MapColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimelinePanel.MapColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimelinePanel.MapColor LOW_COLOR_KEY
public static final TimelinePanel.MapColor HIGH_COLOR_KEY
public static final TimelinePanel.MapColor WAYPOINTS_COLOR_KEY
public static TimelinePanel.MapColor[] values()
for (TimelinePanel.MapColor c : TimelinePanel.MapColor.values()) System.out.println(c);
public static TimelinePanel.MapColor valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getPrefKey()
Get the value of preference through NbPreferences.forModule(TimelinePanel.class).getBoolean(String prefKey, boolean ifNothingSet)
public int getDegaultARGB()
public Color getDefaultColor()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.