public static enum PortConfig.HintType extends java.lang.Enum<PortConfig.HintType>
ConfigImporter
, provide hints of how required but non-transferable config fields
should be asked for.PortConfig.RequireHints
Enum Constant and Description |
---|
APRSIS_HOSTS
Prompt with a combo box pre-loaded with standard APRS-IS Tier 2 rotator hostnames.
|
CALLSIGN_SSID
Just prompt with a plain text edit field, but only accept characters legal in a callsign-SSID.
|
FILE_CHOOSER
Prompt with a file chooser.
|
GENERIC_CALL_FOR_NAMELIST
Prompt with a combo box loaded with a String array obtained from a static
getDeviceNames() method provided by the
PortConnector subclass. |
LOCALHOST
Prompt with a combo box pre-loaded with the localhost name.
|
SERIAL_PORT_BAUD_RATE
Prompt for entering a standard serial port baud rate (300, 1200, 9600, 115200, etc.).
|
SERIAL_PORTS
Prompt with a combo box pre-loaded with available serial ports.
|
TCP_UDP_PORT
Prompt for entering a TCP or UDP port number in the range 1 to 65535.
|
TEXT
Just prompt with a plain text edit field.
|
TEXT_UC
Just prompt with a plain text edit field, but only accept uppercase.
|
Modifier and Type | Method and Description |
---|---|
static PortConfig.HintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortConfig.HintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortConfig.HintType TEXT
public static final PortConfig.HintType TEXT_UC
public static final PortConfig.HintType SERIAL_PORTS
public static final PortConfig.HintType APRSIS_HOSTS
public static final PortConfig.HintType LOCALHOST
public static final PortConfig.HintType FILE_CHOOSER
PortConfig.RequireHints
for this type must be a PortConfig.RequireFile
.public static final PortConfig.HintType GENERIC_CALL_FOR_NAMELIST
PortConnector
subclass.public static final PortConfig.HintType CALLSIGN_SSID
public static final PortConfig.HintType TCP_UDP_PORT
public static final PortConfig.HintType SERIAL_PORT_BAUD_RATE
public static PortConfig.HintType[] values()
for (PortConfig.HintType c : PortConfig.HintType.values()) System.out.println(c);
public static PortConfig.HintType 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