Package pamViewFX.fxNodes.utilityPanes
Class ChannelPanelFX
-
Constructor Summary
ConstructorDescriptionChannelPanelFX
(Object ownerWindow) ChannelPanelFX
(Object ownerWindow, boolean multiRow) -
Method Summary
Modifier and TypeMethodDescriptionint
int
Get the selected channelsjavafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.Get settings from the pane.boolean
void
Called when settings pane is first initialised.void
setAvailableChannels
(int availableChannels) void
setChannelMap
(int channelMap) Set the selected channelsvoid
setMultiColumn
(boolean multiColumn) void
Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
ChannelPanelFX
-
ChannelPanelFX
-
-
Method Details
-
setChannelMap
public void setChannelMap(int channelMap) Set the selected channels- Parameters:
channelMap
- bitmap of channels to select
-
getChannelMap
public int getChannelMap()Get the selected channels- Returns:
- bitmap o selected channels
-
getAvailableChannels
public int getAvailableChannels()- Returns:
- the bitmap of availableChannels
-
setAvailableChannels
public void setAvailableChannels(int availableChannels) - Parameters:
availableChannels
- the bitmap of availableChannels
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<Integer>
- Returns:
- settings class
-
setParams
Description copied from class:SettingsPane
Called whenever the pane is first shown/open to set pane to show current settings.- Specified by:
setParams
in classSettingsPane<Integer>
- Parameters:
input
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<Integer>
- Returns:
- name of the pane
-
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPane
Get node for GUI change of settings.- Specified by:
getContentNode
in classSettingsPane<Integer>
-
paneInitialized
public void paneInitialized()Description copied from class:SettingsPane
Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);- Specified by:
paneInitialized
in classSettingsPane<Integer>
-
isMultiColumn
public boolean isMultiColumn()- Returns:
- the multiColumn layout option
-
setMultiColumn
public void setMultiColumn(boolean multiColumn) - Parameters:
multiColumn
- set optional multicolumn layout
-