Class DisplayDefinition
- java.lang.Object
-
- com.trx.neon.api.neonMeasurement.model.definitions.DisplayDefinition
-
public class DisplayDefinition extends java.lang.Object
Display Definitions are additional pieces of information that are displayed with a particular signal measurement
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
DisplayFormat
A Java-style format string for display purposes - for instance "%.2f dBm" to display a dBm measurement to two decimal places (-76.25 dBm)java.lang.String
DisplayName
The string to use when displaying this signal in NEON Signal Mapper and Command, such as "Channel Power"DisplayType
DisplayType
The field type of this identifer - currently String, Integer, or Float.java.lang.String
ExportFormat
A Java-style format string for CSV export purposes - for instance "%.2f" to display a dBm measurement to two decimal places (-76.25)java.lang.String
FieldName
The name of this value, which should be unique in the signal, such as "ChannelPower"int
SortIndex
Indicates where this value should be listed relative to other details of the signal
-
Constructor Summary
Constructors Constructor Description DisplayDefinition(java.lang.String fieldName, java.lang.String displayName, java.lang.String displayFormat, java.lang.String exportFormat, DisplayType displayType, int sortIndex)
-
-
-
Field Detail
-
FieldName
public java.lang.String FieldName
The name of this value, which should be unique in the signal, such as "ChannelPower"
-
DisplayName
public java.lang.String DisplayName
The string to use when displaying this signal in NEON Signal Mapper and Command, such as "Channel Power"
-
DisplayFormat
public java.lang.String DisplayFormat
A Java-style format string for display purposes - for instance "%.2f dBm" to display a dBm measurement to two decimal places (-76.25 dBm)
-
ExportFormat
public java.lang.String ExportFormat
A Java-style format string for CSV export purposes - for instance "%.2f" to display a dBm measurement to two decimal places (-76.25)
-
DisplayType
public final DisplayType DisplayType
The field type of this identifer - currently String, Integer, or Float. This type must match with the format display and export format strings
-
SortIndex
public final int SortIndex
Indicates where this value should be listed relative to other details of the signal
-
-
Constructor Detail
-
DisplayDefinition
public DisplayDefinition(java.lang.String fieldName, java.lang.String displayName, java.lang.String displayFormat, java.lang.String exportFormat, DisplayType displayType, int sortIndex)
-
-