Package xal.extension.widgets.smf
Class NodeChannelSelector
java.lang.Object
xal.extension.widgets.swing.KeyValueRecordSelector<NodeChannelRef>
xal.extension.widgets.smf.NodeChannelSelector
display a view that allows users to select channels associated with nodes
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNodeChannelSelector(KeyValueFilteredTableModel<NodeChannelRef> tableModel, JFrame owner, String title) Primary Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeChannelSelectorgetInstance(List<NodeChannelRef> channelRefs, JFrame owner, String title) Get an instance of a record selector for allowing users to select node channel references from a list in a table.static NodeChannelSelectorgetInstanceFromNodes(List<AcceleratorNode> nodes, JFrame owner, String title) Get an instance of a record selector for allowing users to select node channel references from a list in a table.static NodeChannelSelectorgetInstanceFromNodes(List<AcceleratorNode> nodes, JFrame owner, String title, String... handles) Get an instance of a record selector for allowing users to select node channel references from a list in a table.Methods inherited from class xal.extension.widgets.swing.KeyValueRecordSelector
getInstance, getInstance, getInstanceWithFilterPrompt, getInstanceWithFilterPrompt, getRecordTable, getRecordTableModel, getSelectedRecords, showDialog, showDialog, showSingleSelectionDialog
-
Constructor Details
-
NodeChannelSelector
protected NodeChannelSelector(KeyValueFilteredTableModel<NodeChannelRef> tableModel, JFrame owner, String title) Primary Constructor
-
-
Method Details
-
getInstance
public static NodeChannelSelector getInstance(List<NodeChannelRef> channelRefs, JFrame owner, String title) Get an instance of a record selector for allowing users to select node channel references from a list in a table.- Parameters:
channelRefs- node channel referencesowner- the window that owns the dialog windowtitle- the title of the dialog window
-
getInstanceFromNodes
public static NodeChannelSelector getInstanceFromNodes(List<AcceleratorNode> nodes, JFrame owner, String title) Get an instance of a record selector for allowing users to select node channel references from a list in a table.- Parameters:
nodes- the nodes for which to get the channel referencesowner- the window that owns the dialog windowtitle- the title of the dialog window
-
getInstanceFromNodes
public static NodeChannelSelector getInstanceFromNodes(List<AcceleratorNode> nodes, JFrame owner, String title, String... handles) Get an instance of a record selector for allowing users to select node channel references from a list in a table.- Parameters:
nodes- the nodes for which to get the channel referencesowner- the window that owns the dialog windowtitle- the title of the dialog windowhandles- the channel handles for which to get the channel references
-