cassis.gui.plot.rotdiagram
public class RotationalView extends javax.swing.JPanel implements RotationalTableListener, CassisViewInterface, ISpectrumComputation
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
RotationalView() |
RotationalView(LineListProductVariable lineProduct)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNumRendererToFitSelection(int id,
int numRenderer) |
boolean |
checkIfSaveIsPossible(java.io.File file,
EXTENSION ext) |
void |
clearAllFit(int nbFitRenderer)
Clear all the fit
|
void |
clearFitRenderer(int nbFitRenderer)
Clear the fit renderer at the nbFitRenderer position
|
void |
clearLastFit(int nbFitRenderer)
Clear the last fit
|
void |
display() |
void |
displayFit(int nbFitRenderer,
org.jfree.data.xy.XYSeriesCollection dataset)
Display a new fit
|
void |
displayFitInformations(java.util.List<LineInformation> listOfLines)
Change information about fits
|
void |
displayLinks(boolean isDisplay) |
void |
displayPlot()
Display the plot
|
void |
displayTitle(java.lang.String inTitle)
Display the name of the molecule on the graphic
|
org.jfree.chart.ChartPanel |
getChartPanel() |
java.awt.Component |
getComponent() |
RotationalTableView |
getDataPanel()
Build the panel for the management of data
|
FitRotationalPanel |
getFitPanel()
Build the panel containing buttons which controles the fit
|
java.util.ArrayList<java.lang.Integer> |
getFitSelection(int id) |
java.lang.String |
getHelpUrl() |
InfoPanel |
getInfoPanel() |
MyLayeredPane |
getLayeredPane() |
CassisSaveViewInterface |
getSave() |
java.util.List<LineDescription> |
getSyntheticLineVisible() |
javax.swing.JTabbedPane |
getTabManager() |
java.lang.String |
getTitle() |
void |
initialisePlot()
Reinitialize the plot
|
void |
invokeSpectrumComputation() |
void |
mouseBeginRectangleSelection() |
void |
mouseEndRectangleFitReleased(double mouseX,
double mouseY,
double eventX,
double eventY) |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
void |
refreshChart(org.jfree.chart.JFreeChart freshChart)
Refresh the chart with a new chart.
|
void |
rotationalDisplayFileButtonClicked(java.util.EventObject object) |
void |
rotationalDisplayLineBoxClicked(java.util.EventObject object) |
void |
rotationalReadFileEvent(java.util.EventObject object) |
void |
rotationalWriteFileButtonClicked(java.util.EventObject object) |
void |
setLineProductVariable(LineListProductVariable lineProduct) |
void |
writeDataFile(java.io.File file) |
getAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic RotationalView()
public RotationalView(LineListProductVariable lineProduct)
lineProduct - public javax.swing.JTabbedPane getTabManager()
public void setLineProductVariable(LineListProductVariable lineProduct)
public InfoPanel getInfoPanel()
public MyLayeredPane getLayeredPane()
public org.jfree.chart.ChartPanel getChartPanel()
public FitRotationalPanel getFitPanel()
public RotationalTableView getDataPanel()
public void displayPlot()
public void displayTitle(java.lang.String inTitle)
inTitle - public void initialisePlot()
public void clearFitRenderer(int nbFitRenderer)
nbFitRenderer - public void clearLastFit(int nbFitRenderer)
nbFitRenderer - public void displayFit(int nbFitRenderer,
org.jfree.data.xy.XYSeriesCollection dataset)
nbFitRenderer - dataset - public void displayFitInformations(java.util.List<LineInformation> listOfLines)
listOfLines - public void refreshChart(org.jfree.chart.JFreeChart freshChart)
public void invokeSpectrumComputation()
invokeSpectrumComputation in interface ISpectrumComputationpublic CassisSaveViewInterface getSave()
getSave in interface CassisViewInterfacepublic java.awt.Component getComponent()
getComponent in interface CassisViewInterfacepublic java.lang.String getHelpUrl()
getHelpUrl in interface CassisViewInterfacepublic java.lang.String getTitle()
getTitle in interface CassisViewInterfacepublic void rotationalDisplayFileButtonClicked(java.util.EventObject object)
rotationalDisplayFileButtonClicked in interface RotationalTableListenerpublic void displayLinks(boolean isDisplay)
public void rotationalDisplayLineBoxClicked(java.util.EventObject object)
rotationalDisplayLineBoxClicked in interface RotationalTableListenerpublic void rotationalWriteFileButtonClicked(java.util.EventObject object)
rotationalWriteFileButtonClicked in interface RotationalTableListenerpublic void writeDataFile(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic void rotationalReadFileEvent(java.util.EventObject object)
rotationalReadFileEvent in interface RotationalTableListenerpublic void clearAllFit(int nbFitRenderer)
nbFitRenderer - public void mouseBeginRectangleSelection()
public void mouseEndRectangleFitReleased(double mouseX,
double mouseY,
double eventX,
double eventY)
eventY - eventX - mouseY - mouseX - public java.util.ArrayList<java.lang.Integer> getFitSelection(int id)
id - public void addNumRendererToFitSelection(int id,
int numRenderer)
public java.util.List<LineDescription> getSyntheticLineVisible()
getSyntheticLineVisible in interface CassisViewInterfacepublic int print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
throws java.awt.print.PrinterException
print in interface java.awt.print.Printablejava.awt.print.PrinterExceptionpublic boolean checkIfSaveIsPossible(java.io.File file,
EXTENSION ext)
checkIfSaveIsPossible in interface CassisViewInterfacepublic void display()
display in interface ISpectrumComputation