public interface SourceEntry extends java.io.Serializable, java.util.function.Supplier<DataSource>
TreeTableView
with two columns: "Name" and
"Value". The values of the "Name" column are displayed using #getNamePreview()
; the "Value" column uses
getValue()
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of a source corresponding to this entry.
|
java.lang.Object |
getValue()
The value of a source corresponding to this entry.
|
java.lang.Object |
getValueView()
Gets an object used to display the value of the source this entry represents.
|
default java.lang.String |
getViewName()
The string to use to display the name of the source.
|
java.lang.String getName()
default java.lang.String getViewName()
getName()
, but may be overriden for
entries for sources with a nested structure, such as NetworkTables.java.lang.Object getValue()
java.lang.Object getValueView()