public class MEDLevelCut extends MEDCalculator
,
Serialized FormMEDCalculator.CalculationResult, MEDCalculator.CalculatorThread| Modifier and Type | Field and Description |
|---|---|
protected static FwkDescriptionInterface |
descriptor |
protected javax.swing.JTextField |
lowerField |
protected FwkPanel |
panel |
protected javax.swing.JTextField |
upperField |
protected javax.swing.JTextField |
valueField |
static java.lang.String |
version |
channelCopy, channelCut, channelFilter, channels, getHt, ident, implicitChannelCalculation, independentColumnName, independentFilter, markerFilter, markers, position, setHtactionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visiblesourceauthor, 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, titleNameCONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTEDAUTHOR, 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 |
|---|
MEDLevelCut()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
calculate(double[] independent,
double[] data)
Calculate the results of a single channel.
|
boolean |
checkCalulatorPanel()
Check the calculator specific dialog panel values.
|
FwkPanelInterface |
getCalculatorPanel()
Get the calculator dialog.
|
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() |
double |
getLower()
Get the lower limit.
|
double |
getUpper()
Get the upper limit.
|
double |
getValue()
Get the value.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
setLower(double val)
Set the lower limit.
|
void |
setUpper(double val)
Set the upper limit.
|
void |
setValue(double val)
Set the value.
|
calculate, calculate, calculate, canChangeChannel, canCopyChannel, canCreateImplicitChannel, clear, containsKey, containsValue, entrySet, execute, get, 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, valuesaddActionListener, 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, unregisteraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsgetAuthor, 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, setTitleNamegetNiceVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddActionListener, 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, unregisteraddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringgetController, setControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventspublic static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected FwkPanel panel
protected javax.swing.JTextField lowerField
protected javax.swing.JTextField upperField
protected javax.swing.JTextField valueField
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class MEDCalculatorpublic static FwkDescriptionInterface getDescriptor()
public double[] calculate(double[] independent,
double[] data)
throws FwkException
calculate in interface MEDCalculatorInterfacecalculate in class MEDCalculatorindependent - An array containing The independent channel.data - The array containing the channel data of interest.FwkExceptionpublic java.lang.String getChannelName(FwkColumnAccessInterface col, double[] limit)
getChannelName in interface MEDCalculatorInterfacegetChannelName in class MEDCalculatorcol - 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 MEDCalculatorInterfacegetChannelColumnName in class MEDCalculatorcol - the source channel.limit - a two element array containing the upper and the lower limit.public double getLower()
public void setLower(double val)
val - the lower value.public double getUpper()
public void setUpper(double val)
val - the upper value.public double getValue()
public void setValue(double val)
val - the new value.public FwkPanelInterface getCalculatorPanel()
This method should return a dialog to configurate the calculator specific properties.
getCalculatorPanel in interface MEDCalculatorInterfacegetCalculatorPanel in class MEDCalculatorpublic boolean checkCalulatorPanel()
throws FwkException
checkCalulatorPanel in interface MEDCalculatorInterfacecheckCalulatorPanel in class MEDCalculatorFwkException - if the check failed. The calculator is responsable.
to signal the problem to the user.