Package org.ka2ddo.yaac.pluginapi
Enum Class ExtraContentType
- All Implemented Interfaces:
Serializable
,Comparable<ExtraContentType>
,Constable
This enumeration identifies the different rendering types for a set of
ExtraContentElement
s
obtained from an ExtraColumn object for a popup window. This enum will be returned from the ExtraContentElement's
getType()
method.- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionContent is an Integer containing an ARGB value for the background color to use.Content is an Integer containing an ARGB value for the foreground color to use.Content is an editable text field, initialized fromExtraContentElement.getValue()
and changes stored by callingExtraContentElement.setValue(Object)
.Content is a String of a relative path, APRS symbol duple, or URL of the image to display.Content is a device for changing a numeric or enum value, initialized fromExtraContentElement.getValue()
and changes stored by callingExtraContentElement.setValue(Object)
.Content is plain text in a String. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtraContentType
Returns the enum constant of this class with the specified name.static ExtraContentType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
Content is plain text in a String. -
COLOR
Content is an Integer containing an ARGB value for the foreground color to use. -
BACKGROUND
Content is an Integer containing an ARGB value for the background color to use. -
SPINNER
Content is a device for changing a numeric or enum value, initialized fromExtraContentElement.getValue()
and changes stored by callingExtraContentElement.setValue(Object)
. Subclass of Number or Enum indicated by return value fromExtraContentElement.getValueClass()
. -
EDITABLE_TEXT
Content is an editable text field, initialized fromExtraContentElement.getValue()
and changes stored by callingExtraContentElement.setValue(Object)
. -
IMAGE
Content is a String of a relative path, APRS symbol duple, or URL of the image to display.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-