public class MEDCut extends MEDCalculator
,
Serialized FormMEDCalculator.CalculationResult, MEDCalculator.CalculatorThread
Modifier and Type | Field and Description |
---|---|
protected static FwkDescriptionInterface |
descriptor |
static java.lang.String |
version |
channelCopy, channelCut, channelFilter, channels, getHt, ident, implicitChannelCalculation, independentColumnName, independentFilter, markerFilter, markers, position, setHt
actionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visible
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICON, iconCount, internetAddress, name, titleName
CONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTED
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
MEDCut()
The default constructor.
|
MEDCut(FwkControllerInterface controller)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
FwkArrayInterface |
calculate(FwkColumnAccessInterface independent,
FwkArrayInterface channels,
FwkArrayInterface markers)
The low level calculation method that calculates the result.
|
java.lang.String |
getChannelColumnName(FwkColumnAccessInterface col,
double[] limit)
Get the short name of a newly created channel.
|
java.lang.String |
getChannelName(FwkColumnAccessInterface col,
double[] limit)
Get the name of a newly created channel.
|
static FwkDescriptionInterface |
getDescriptor() |
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
calculate, calculate, calculate, canChangeChannel, canCopyChannel, canCreateImplicitChannel, checkCalulatorPanel, clear, containsKey, containsValue, entrySet, execute, get, getCalculatorPanel, getCalculatorPanelPosition, getChannelCopy, getChannelCut, getChannelFilter, getChannelInfoBusName, getChannelNames, getDialogPanel, getDialogParent, getIcon, getIdent, getImplicitChannelCalculation, getIndependentChannelName, getIndependentFilter, getMarkerFilter, getMarkerInfoBusName, getMarkerNames, getMED, getProperties, getProperty, init, isEmpty, keySet, main, put, putAll, release, remove, setCalculatorPanelPosition, setChannelCopy, setChannelCut, setChannelFilter, setChannelNames, setIdent, setImplicitChannelCalculation, setIndependentChannelName, setIndependentFilter, setMarkerFilter, setMarkerNames, setProperties, setProperty, size, toString, values
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getActionListenerArray, getButtonClass, getCommand, getCommandName, getCommands, getController, getGroup, getHelpID, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setController, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregister
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIconKey, setName, setSupportEMail, setTitleName
getNiceVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addActionListener, addMenuListener, getActionListenerArray, getButtonClass, getCommandName, getHelpID, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeMenuListener, setAsParent, setButtonClass, setCommandName, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, unregister
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getController, setController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
public static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
public MEDCut()
public MEDCut(FwkControllerInterface controller)
controller
- must be an instance implementing com.highqsoft.med.MEDInterface.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class MEDCalculator
public static FwkDescriptionInterface getDescriptor()
public FwkArrayInterface calculate(FwkColumnAccessInterface independent, FwkArrayInterface channels, FwkArrayInterface markers) throws FwkException
At this phase no infobus communication was already done. The result will be published from the high level calculation method.
Currently this method does nothing. Designers of a new calculator must overwrite this method.
The current implementation doesn't support the implicit calculation of new channels. Newly created columns will be published via the FwkColumnAccessProducer.
calculate
in interface MEDCalculatorInterface
calculate
in class MEDCalculator
independent
- The independent channel.channels
- The array containing the channels.
This array may be null or empty.markers
- The array containing the markers.
This array may be null or empty.FwkException
calculate(String, String[], String[])
public java.lang.String getChannelName(FwkColumnAccessInterface col, double[] limit)
getChannelName
in interface MEDCalculatorInterface
getChannelName
in class MEDCalculator
col
- the source channel.limit
- a two element array containing the upper and the lower limit.public java.lang.String getChannelColumnName(FwkColumnAccessInterface col, double[] limit)
getChannelColumnName
in interface MEDCalculatorInterface
getChannelColumnName
in class MEDCalculator
col
- the source channel.limit
- a two element array containing the upper and the lower limit.