public class plotter_NB_UI
extends javax.swing.JPanel
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected boolean |
apply_absolute_value |
protected boolean |
Use_Interpolation |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
plotter_NB_UI()
Creates new form plotter_NB_UI
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddArrayPlot(PlotData pd,
java.lang.String name) |
void |
addClearActionListener(java.awt.event.ActionListener _al) |
void |
AddDeleteActionListener(java.awt.event.ActionListener al) |
void |
AddPlot(PlotData pd) |
void |
AddPlot(PlotData pd,
java.lang.String name) |
void |
AddPointToArrayPlot(PlotData pd,
int index,
double pre_f_y) |
void |
AddPointToPlot(PlotData pd,
double pre_f_x,
double pre_f_y,
boolean connected) |
void |
AddPointToPlot(PlotData pd,
double x,
double y,
boolean connected,
double pre_f_x,
double pre_f_y) |
void |
checkComboBoxFunc(int new_function_selected) |
void |
CheckRecalcPlots() |
void |
Clear() |
java.lang.String |
ComputeStatsString() |
void |
FitToGraph() |
void |
FitY() |
void |
ForceRecheckComboFunc() |
boolean |
get_array_mode() |
int |
get_num_plots() |
boolean |
get_paused() |
int |
getFuncArg() |
int |
getGraphFunction() |
java.awt.image.BufferedImage |
getImage() |
java.awt.image.BufferedImage |
getImage(java.awt.Dimension d) |
java.lang.String |
getPlot_order() |
static int |
getTotalPlotters() |
double |
getXMax() |
double |
getXMin() |
double |
getYMax() |
double |
getYMin() |
boolean |
isApply_absolute_value()
Get the value of apply_absolute_value
|
boolean |
isLocked() |
boolean |
isNosplit()
Get the value of nosplit
|
boolean |
isUse_Interpolation()
Get the value of Use_Interpolation
|
void |
LoadDoubleArray(java.lang.String name,
double[] da)
Loads an arrays into a single plot and displays it.
|
void |
loadFile(java.lang.String fileName) |
void |
LoadFloatArray(java.lang.String name,
float[] fa)
Loads an arrays into a single plot and displays it.
|
void |
LoadObjectsList(java.lang.String prefix,
java.util.List l) |
void |
LoadXYDoubleArrays(java.lang.String name,
double[] xA,
double[] yA)
Loads two arrays into a single plot and displays it.
|
void |
LoadXYFloatArrays(java.lang.String name,
float[] xA,
float[] yA)
Loads two arrays into a single plot and displays it.
|
void |
LoadXYObjectsList(java.lang.String prefix,
java.lang.String xname,
java.util.List l) |
static void |
lock_value_for_plot_versus_line_number(boolean _plot_verses_line_number,
boolean _plot_verses_line_number_locked) |
java.awt.image.BufferedImage |
plotToImage() |
java.awt.image.BufferedImage |
plotToImage(int width,
int height) |
void |
refresh() |
void |
ReloadFile() |
void |
ResetMinXToZero() |
void |
SaveFile(java.lang.String fileName) |
void |
SaveStatsFile(java.io.File f) |
void |
ScrollRight() |
void |
set_auto_fit_to_graph(boolean _auto_fit_to_graph) |
void |
set_point_size_limit(int _new_point_size_limit) |
void |
setApply_absolute_value(boolean apply_absolute_value)
Set the value of apply_absolute_value
|
void |
SetEqualizeAxis(boolean _e_mode) |
void |
setFieldSelectPattern(java.lang.String _pattern) |
static void |
setForcedLineFilterPattern(java.lang.String _ForcedLineFilterPattern,
boolean _use_forced_line_filter_pattern) |
void |
setFuncArg(int _func_arg) |
void |
setFuncArg(java.lang.String s) |
void |
setGraphFunction(int i) |
void |
setGraphFunction(java.lang.String function_name) |
void |
setGraphFunctionDERIVATIVE() |
void |
setGraphFunctionDEVIATION() |
void |
setGraphFunctionDIFF() |
void |
setGraphFunctionINTEGRAL() |
void |
setGraphFunctionNEGATIVEX() |
void |
setGraphFunctionNormal() |
void |
setGraphFunctionPPDIFF() |
void |
setGraphFunctionPPDIFFMODPI() |
void |
setGraphFunctionSingle() |
void |
setGraphFunctionSMOOTH() |
void |
setGraphFunctionVS() |
void |
setGraphFunctionXY() |
void |
setGraphFunctionXZ() |
void |
setGraphFunctionYZ() |
void |
SetGraphLimits(double new_x_show_area_min,
double new_x_show_area_max,
double new_y_show_area_min,
double new_y_show_area_max) |
void |
SetInnerArea(double min_x,
double max_x,
double min_y,
double max_y) |
void |
SetKeyListener(java.awt.event.KeyListener kl) |
void |
setNosplit(boolean nosplit)
Set the value of nosplit
|
void |
SetOuterArea(double min_x,
double max_x,
double min_y,
double max_y) |
void |
setParseOptions(ParseOptions po) |
void |
setPlot_order(java.lang.String plot_order) |
void |
SetReverseX(boolean _new_reverse_x) |
void |
setShowKey(boolean _b) |
void |
setSplit(boolean _s_mode) |
void |
setUse_Interpolation(boolean Use_Interpolation)
Set the value of Use_Interpolation
|
void |
setUseShortname(boolean _UseShortName) |
void |
ShowData() |
void |
ShowOptions() |
void |
ZoomIn() |
void |
ZoomOut() |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, 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, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, 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, transferFocusUpCycleprotected boolean Use_Interpolation
protected boolean apply_absolute_value
public static int getTotalPlotters()
public boolean get_array_mode()
public void FitY()
public void SetEqualizeAxis(boolean _e_mode)
public java.awt.image.BufferedImage plotToImage()
public java.awt.image.BufferedImage plotToImage(int width,
int height)
public void set_auto_fit_to_graph(boolean _auto_fit_to_graph)
public java.lang.String getPlot_order()
public void setPlot_order(java.lang.String plot_order)
plot_order - the plot_order to setpublic boolean isUse_Interpolation()
public void setUse_Interpolation(boolean Use_Interpolation)
Use_Interpolation - new value of Use_Interpolationpublic void SaveFile(java.lang.String fileName)
public void ShowData()
public void AddDeleteActionListener(java.awt.event.ActionListener al)
public void ShowOptions()
public void checkComboBoxFunc(int new_function_selected)
public void setSplit(boolean _s_mode)
public void Clear()
public void addClearActionListener(java.awt.event.ActionListener _al)
public void setShowKey(boolean _b)
public void FitToGraph()
public void ZoomOut()
public void ZoomIn()
public java.awt.image.BufferedImage getImage()
public java.awt.image.BufferedImage getImage(java.awt.Dimension d)
public void SetKeyListener(java.awt.event.KeyListener kl)
public void SetGraphLimits(double new_x_show_area_min,
double new_x_show_area_max,
double new_y_show_area_min,
double new_y_show_area_max)
public double getXMin()
public double getXMax()
public double getYMin()
public double getYMax()
public void SetReverseX(boolean _new_reverse_x)
public java.lang.String ComputeStatsString()
throws java.lang.Exception
java.lang.Exceptionpublic void setUseShortname(boolean _UseShortName)
public void SaveStatsFile(java.io.File f)
public void ReloadFile()
public int get_num_plots()
public void LoadXYFloatArrays(java.lang.String name,
float[] xA,
float[] yA)
name - -- name of the plotxA - -- x axis arrayyA - -- y axis arraypublic void LoadXYDoubleArrays(java.lang.String name,
double[] xA,
double[] yA)
name - -- name of the plotxA - -- x axis arrayyA - -- y axis arraypublic void LoadFloatArray(java.lang.String name,
float[] fa)
name - -- name of the plotfa - -- float array to plot.public void LoadDoubleArray(java.lang.String name,
double[] da)
name - -- name of the plotda - -- double array to plot.public boolean isNosplit()
public void setNosplit(boolean nosplit)
nosplit - new value of nosplitpublic void setParseOptions(ParseOptions po)
public void loadFile(java.lang.String fileName)
public void ForceRecheckComboFunc()
public void ScrollRight()
public boolean isLocked()
public void AddPlot(PlotData pd, java.lang.String name)
public void AddPlot(PlotData pd)
public void AddArrayPlot(PlotData pd, java.lang.String name)
public void refresh()
public void AddPointToPlot(PlotData pd, double pre_f_x, double pre_f_y, boolean connected)
public void AddPointToArrayPlot(PlotData pd, int index, double pre_f_y)
public void AddPointToPlot(PlotData pd, double x, double y, boolean connected, double pre_f_x, double pre_f_y)
public void SetOuterArea(double min_x,
double max_x,
double min_y,
double max_y)
public void SetInnerArea(double min_x,
double max_x,
double min_y,
double max_y)
public void setGraphFunctionNormal()
public void setGraphFunctionVS()
public void setGraphFunctionXY()
public void setGraphFunctionXZ()
public void setGraphFunctionYZ()
public void setGraphFunctionSingle()
public void setGraphFunctionSMOOTH()
public void setGraphFunctionDEVIATION()
public void setGraphFunctionDERIVATIVE()
public void setGraphFunctionINTEGRAL()
public void setGraphFunctionDIFF()
public void setGraphFunctionPPDIFF()
public void setGraphFunctionPPDIFFMODPI()
public void setGraphFunctionNEGATIVEX()
public void setGraphFunction(java.lang.String function_name)
public void setGraphFunction(int i)
public int getGraphFunction()
public int getFuncArg()
public void setFuncArg(java.lang.String s)
public void setFuncArg(int _func_arg)
public boolean isApply_absolute_value()
public void setApply_absolute_value(boolean apply_absolute_value)
apply_absolute_value - new value of apply_absolute_valuepublic void CheckRecalcPlots()
public void ResetMinXToZero()
public boolean get_paused()
public void set_point_size_limit(int _new_point_size_limit)
public void setFieldSelectPattern(java.lang.String _pattern)
public static void setForcedLineFilterPattern(java.lang.String _ForcedLineFilterPattern,
boolean _use_forced_line_filter_pattern)
public static void lock_value_for_plot_versus_line_number(boolean _plot_verses_line_number,
boolean _plot_verses_line_number_locked)
public void LoadObjectsList(java.lang.String prefix,
java.util.List l)
throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldExceptionpublic void LoadXYObjectsList(java.lang.String prefix,
java.lang.String xname,
java.util.List l)
throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldException