Package jspecview.dialog
Class JSVDialog
java.lang.Object
jspecview.common.Coordinate
jspecview.common.Annotation
jspecview.dialog.JSVDialog
- All Implemented Interfaces:
AnnotationData
- Direct Known Subclasses:
IntegrationDialog,MeasurementsDialog,OverlayLegendDialog,PeakListDialog,ViewsDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class jspecview.common.Annotation
Annotation.AType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Objectprotected PlatformDialogprotected intprotected intprotected JSVPanelprotected DialogManagerprotected Parametersprotected intprotected Spectrumprotected Stringprotected Objectprotected Objectprotected Objectprotected Annotation.ATypeprotected JSViewerprotected MeasurementDataFields inherited from class jspecview.common.Annotation
isPixels, text -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected voidaddUniqueControls(DialogManager dialogHelper) protected voidvoidabstract booleanprotected booleancallbackAD(String id, String msg) voidvoiddispose()protected voiddone()protected voidprotected voidgetAType()getData()abstract int[]getPosXY()booleangetState()booleanisDialog()booleanprotected voidprotected voidloadData()reEnable()voidrepaint()voidselectTableRow(int i) voidsetData(AnnotationData data) voidvoidsetFocus(boolean tf) voidsetGraphSetKey(String key) required initializer; from JSViewervoidsetSpecShift(double dx) voidsetState(boolean b) protected voidsetThreshold(double y) voidsetVisible(boolean visible) protected voidshowMessage(String msg, String title, int msgType) voidupdate(Coordinate clicked, double xRange, int yOffset) Methods inherited from class jspecview.common.Annotation
getColoredAnnotation, setA, toStringMethods inherited from class jspecview.common.Coordinate
applyScale, copy, deltaX, equals, findXForPeakNearest, getMaxX, getMaxX, getMaxY, getMaxYUser, getMinX, getMinX, getMinY, getMinYUser, getNearestIndexForX, getNearestXWithYAbove, getXVal, getYVal, getYValueAt, isYInRange, normalise, parabolicInterpolation, parseDSV, removeScale, reverse, set, setXVal, setYVal, shiftX
-
Field Details
-
optionKey
-
options
-
type
-
title
-
vwr
-
spec
-
manager
-
dialog
-
jsvp
-
txt1
-
txt2
-
txt3
-
combo1
-
xyData
-
myParams
-
precision
protected int precision -
addApplyBtn
protected boolean addApplyBtn -
iRowColSelected
protected int iRowColSelected -
iSelected
protected int iSelected
-
-
Constructor Details
-
JSVDialog
public JSVDialog()
-
-
Method Details
-
getPosXY
public abstract int[] getPosXY() -
isDialog
public boolean isDialog()- Specified by:
isDialogin interfaceAnnotationData
-
addUniqueControls
protected abstract void addUniqueControls() -
callback
-
setParams
required initializer; from JSViewer- Parameters:
title-viewer-spec-- Returns:
- this
-
layoutDialog
protected void layoutDialog() -
callbackAD
- Parameters:
id-msg-- Returns:
- true if consumed
-
addUniqueControls
- Parameters:
dialogHelper-
-
getAType
- Specified by:
getATypein interfaceAnnotationData
-
getGraphSetKey
- Specified by:
getGraphSetKeyin interfaceAnnotationData
-
setGraphSetKey
- Specified by:
setGraphSetKeyin interfaceAnnotationData
-
getSpectrum
- Specified by:
getSpectrumin interfaceAnnotationData
-
getState
public boolean getState()- Specified by:
getStatein interfaceAnnotationData
-
setState
public void setState(boolean b) - Specified by:
setStatein interfaceAnnotationData
-
checkEnables
public void checkEnables() -
getParameters
- Specified by:
getParametersin interfaceAnnotationData
-
showMessage
-
setThreshold
protected void setThreshold(double y) -
applyFromFields
public void applyFromFields() -
reEnable
-
dispose
public void dispose() -
setVisible
public void setVisible(boolean visible) -
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceAnnotationData
-
selectTableRow
public void selectTableRow(int i) -
repaint
public void repaint() -
setFields
public void setFields() -
setFocus
public void setFocus(boolean tf) -
update
-
getData
- Specified by:
getDatain interfaceAnnotationData
-
setData
-
setSpecShift
public void setSpecShift(double dx) - Specified by:
setSpecShiftin interfaceAnnotationData
-
apply
-
done
protected void done() -
eventFocus
protected void eventFocus() -
eventApply
protected void eventApply() -
loadData
protected void loadData()
-