public enum ExtraContentType extends java.lang.Enum<ExtraContentType>
ExtraContentElements
obtained from an ExtraColumn object for a popup window. This enum will be returned from the ExtraContentElement's
getType() method.| Enum Constant and Description |
|---|
BACKGROUND
Content is an Integer containing an ARGB value for the background color to use.
|
COLOR
Content is an Integer containing an ARGB value for the foreground color to use.
|
EDITABLE_TEXT
Content is an editable text field, initialized from
ExtraContentElement.getValue() and
changes stored by calling ExtraContentElement.setValue(Object). |
IMAGE
Content is a String of a relative path or APRS symbol duple of the image to display.
|
SPINNER
Content is a device for changing a numeric or enum value, initialized from
ExtraContentElement.getValue() and
changes stored by calling ExtraContentElement.setValue(Object). |
TEXT
Content is plain text in a String.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtraContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtraContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtraContentType TEXT
public static final ExtraContentType COLOR
public static final ExtraContentType BACKGROUND
public static final ExtraContentType SPINNER
ExtraContentElement.getValue() and
changes stored by calling ExtraContentElement.setValue(Object). Subclass of Number or Enum indicated by return
value from ExtraContentElement.getValueClass().public static final ExtraContentType EDITABLE_TEXT
ExtraContentElement.getValue() and
changes stored by calling ExtraContentElement.setValue(Object).public static final ExtraContentType IMAGE
public static ExtraContentType[] values()
for (ExtraContentType c : ExtraContentType.values()) System.out.println(c);
public static ExtraContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null