Package pamViewFX.fxNodes.utilityPanes
Class GroupedChannelPaneFX
java.lang.Object
pamViewFX.fxNodes.utilityPanes.GroupedChannelPaneFX
The grouping part of a grouped source pane which can be used
 separately from the entire grouped source pane.
- Author:
 - Doug Gillespie
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javafx.scene.control.CheckBox[]static final intstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic intcountChannelGroups(int channelMap, int[] groupList) protected voidvoiddisableAll(boolean disable) voidint[]Get the channel list pane- this is the grid pane in which channels and combo boxes sit.javafx.scene.Nodestatic intgetGroupChannels(int group, int channelMap, int[] groupList) static intgetGroupIndex(int groupMap, int channelMap, int[] groupList) intstatic StringgetGroupList(int group, int channelMap, int[] groupList) static intgetGroupMap(int channelMap, int[] groupList) Creates a bitmap for the groups, the same idea as a channelmap.javafx.beans.property.SimpleObjectProperty<GroupedSourceParameters> booleangetParams(GroupedSourceParameters params) Get the grid pane which all main nodes.booleanvoidsetAutoGrouping(boolean autoGrouping) voidsetChannelGroups(int[] channelGroups) voidsetGrouping(int groupType) voidsetParams(GroupedSourceParameters params) protected voidshowChannels(int channels)  
- 
Field Details
- 
GROUP_SINGLES
public static final int GROUP_SINGLES- See Also:
 
 - 
GROUP_ALL
public static final int GROUP_ALL- See Also:
 
 - 
GROUP_USER
public static final int GROUP_USER- See Also:
 
 - 
channelBoxes
protected javafx.scene.control.CheckBox[] channelBoxes 
 - 
 - 
Constructor Details
- 
GroupedChannelPaneFX
public GroupedChannelPaneFX() 
 - 
 - 
Method Details
- 
getContentNode
public javafx.scene.Node getContentNode() - 
createPanel
protected void createPanel() - 
showChannels
protected void showChannels(int channels)  - 
setChannelGroups
public void setChannelGroups(int[] channelGroups)  - 
isAutoGrouping
public boolean isAutoGrouping() - 
setAutoGrouping
public void setAutoGrouping(boolean autoGrouping)  - 
setGrouping
public void setGrouping(int groupType)  - 
enableGroupBoxes
public void enableGroupBoxes() - 
disableAll
public void disableAll(boolean disable)  - 
getGrouping
public int getGrouping() - 
getChannelGroups
public int[] getChannelGroups() - 
setParams
 - 
getParams
 - 
getGroupMap
public static int getGroupMap(int channelMap, int[] groupList) Creates a bitmap for the groups, the same idea as a channelmap. The groupList array that is passed is of length [numChannels], and each index holds the group number for that channel (e.g. if channel 3 is in group 5, groupList[3]=5). For channels that are not in a group, the groupList array will hold a -1.- Parameters:
 channelMap- the channels that are availablegroupList- an array of length [numChannels] holding the group number for each channel- Returns:
 
 - 
countChannelGroups
public static int countChannelGroups(int channelMap, int[] groupList)  - 
getGroupChannels
public static int getGroupChannels(int group, int channelMap, int[] groupList)  - 
getGroupList
 - 
getGroupIndex
public static int getGroupIndex(int groupMap, int channelMap, int[] groupList)  - 
getSourcePane
Get the grid pane which all main nodes.- Returns:
 - the main source pane.
 
 - 
getChannelListPane
Get the channel list pane- this is the grid pane in which channels and combo boxes sit.- Returns:
 - channel list pane
 
 - 
getObservableProperty
- Returns:
 - the observableProperty
 
 
 -