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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
countChannelGroups
(int channelMap, int[] groupList) void
disableAll
(boolean disable) void
int[]
Get the channel list pane- this is the grid pane in which channels and combo boxes sit.javafx.scene.Node
static int
getGroupChannels
(int group, int channelMap, int[] groupList) static int
getGroupIndex
(int groupMap, int channelMap, int[] groupList) int
static String
getGroupList
(int group, int channelMap, int[] groupList) static int
getGroupMap
(int channelMap, int[] groupList) Creates a bitmap for the groups, the same idea as a channelmap.javafx.beans.property.SimpleObjectProperty<GroupedSourceParameters>
boolean
getParams
(GroupedSourceParameters params) Get the grid pane which all main nodes.boolean
void
setAutoGrouping
(boolean autoGrouping) void
setChannelGroups
(int[] channelGroups) void
setGrouping
(int groupType) void
setParams
(GroupedSourceParameters params)
-
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:
-
-
Constructor Details
-
GroupedChannelPaneFX
public GroupedChannelPaneFX()
-
-
Method Details
-
getContentNode
public javafx.scene.Node getContentNode() -
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
-