|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<TimelinePanel.MapColor>
cz.cuni.amis.nb.pogamut.options.TimelinePanel.MapColor
public static enum TimelinePanel.MapColor
List of preferrences of colors related to visualization of map.
| Enum Constant Summary | |
|---|---|
HIGH_COLOR_KEY
|
|
LOW_COLOR_KEY
|
|
WAYPOINTS_COLOR_KEY
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TimelinePanel.MapColor LOW_COLOR_KEY
public static final TimelinePanel.MapColor HIGH_COLOR_KEY
public static final TimelinePanel.MapColor WAYPOINTS_COLOR_KEY
| Method Detail |
|---|
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 name
NullPointerException - 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||