Package org.ka2ddo.yaac.io
Enum Class PortConfig.HintType
- All Implemented Interfaces:
Serializable
,Comparable<PortConfig.HintType>
,Constable
- Enclosing class:
- PortConfig
For the
ConfigImporter
, provide hints of how required but non-transferable config fields
should be asked for.- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPrompt with a combo box pre-loaded with standard APRS-IS Tier 2 rotator hostnames.Just prompt with a plain text edit field, but only accept characters legal in a callsign-SSID.Prompt with a file chooser.Prompt with a combo box loaded with a String array obtained from a static getDeviceNames() method provided by thePortConnector
subclass.Prompt with a combo box pre-loaded with the localhost name.Prompt for entering a standard serial port baud rate (300, 1200, 9600, 115200, etc.).Prompt with a combo box pre-loaded with available serial ports.Prompt for entering a TCP or UDP port number in the range 1 to 65535.Just prompt with a plain text edit field.Just prompt with a plain text edit field, but only accept uppercase. -
Method Summary
Modifier and TypeMethodDescriptionstatic PortConfig.HintType
Returns the enum constant of this class with the specified name.static PortConfig.HintType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
Just prompt with a plain text edit field. -
TEXT_UC
Just prompt with a plain text edit field, but only accept uppercase. -
SERIAL_PORTS
Prompt with a combo box pre-loaded with available serial ports. -
APRSIS_HOSTS
Prompt with a combo box pre-loaded with standard APRS-IS Tier 2 rotator hostnames. -
LOCALHOST
Prompt with a combo box pre-loaded with the localhost name. -
FILE_CHOOSER
Prompt with a file chooser.PortConfig.RequireHints
for this type must be aPortConfig.RequireFile
. -
GENERIC_CALL_FOR_NAMELIST
Prompt with a combo box loaded with a String array obtained from a static getDeviceNames() method provided by thePortConnector
subclass. -
CALLSIGN_SSID
Just prompt with a plain text edit field, but only accept characters legal in a callsign-SSID. -
TCP_UDP_PORT
Prompt for entering a TCP or UDP port number in the range 1 to 65535. -
SERIAL_PORT_BAUD_RATE
Prompt for entering a standard serial port baud rate (300, 1200, 9600, 115200, etc.).
-
-
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
-