jhplot
Class SHPlotJa
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- jhplot.HPlotJa
-
- jhplot.SHPlotJa
-
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
public class SHPlotJa extends HPlotJa
A class to create a canvas with several plots and Feynman diagrams. Unlike HPlotJa, it creates a singleton, i.e only one instance is allowed- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Field Summary
-
Fields inherited from class jhplot.HPlotJa
Exponent, JAVA_CLASSPATH, JAVA_HOME, JAVA_RUNTIME_VERSION, JAVA_VERSION, Key, LabelX, LabelY, OS_ARCH, OS_NAME, OS_VERSION, PREFS_FILENAME, StatBox, Title, USER_HOME, USER_NAME, VERSION, VERSION_NUMBER, WEB_SITE
-
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doc()
Show online documentation.static SHPlotJa
getCanvas()
Construct a HPlotJa canvas with a plot with the default size 600x400.static SHPlotJa
getCanvas(java.lang.String title)
Construct a HPlot canvas with a plot with the default size 600x400.static SHPlotJa
getCanvas(java.lang.String title, int xsize, int ysize)
Construct a HPlot canvas with a single plot.static SHPlotJa
getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2)
Create HPlot canvas with several plots.static SHPlotJa
getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2, boolean setaxes)
Create HPlotJa canvas with several plots.static void
reloadCanvas()
Reload the canvas by removing components-
Methods inherited from class jhplot.HPlotJa
add, addKey, addStatBox, addToBack, addToFront, analF, buildPads, cd, clearAll, clearAllData, clearData, clearData, close, convertSVG, convertSVG, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, export, factories, fit, fitF, funcF, getArrayList, getBoxColor, getBoxFillColor, getCdX, getCdY, getContourBinsX, getContourBinsY, getContourLevels, getCurDir, getData, getGTitle, getJaAxes, getKeyTextSpace, getLabel, getLabelsAll, getLegends, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginX, getMarginY, getNtotX, getNtotY, getPad, getPad, getPadHeight, getPadPositionX, getPadPositionY, getPadWidth, getPreferences, getSizeX, getSizeY, getStatistics, getStatistics, getSymbol, histF, isContour, isContourBar, isShowStatBox, main, removeAxes, removeObject, setAntiAlias, setAutoRange, setAutoRange, setAutoRange, setAutoRangeAll, setAutoRangeAll, setAutoRangeAll, setAxesFrame, setAxisAll, setBoxColor, setBoxFillColor, setContour, setContourBar, setContourBins, setContourLevels, setCurDir, setGridAll, setGTitle, setGTitle, setGTitle, setGTitle, setGTitle, setKeyTextSpace, setLabel, setLabel, setLabel, setLabel, setLabelShift, setLabelX, setLabelY, setLegendAll, setLegendFont, setLegendFont, setLegends, setLocationAtCenter, setLogScale, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarginX, setMarginY, setNameX, setNameX, setNameX, setNameY, setNameY, setNameY, setPad, setPad, setPad, setPadLocation, setPadSize, setRange, setRangeX, setRangeX, setRangeY, setRangeY, setShowMirror, setShowStatBox, setStatBox, setTicFont, setTicksLabels, showAxis, showEditor, showEditor, showKey, treeF, update, visible, visible, visible
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, 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, update, updateUI
-
Methods inherited from class java.awt.Container
add, 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, validate
-
Methods inherited from class java.awt.Component
action, 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, getAccessibleContext, 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, 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, transferFocusUpCycle
-
-
-
-
Method Detail
-
getCanvas
public static SHPlotJa getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2, boolean setaxes)
Create HPlotJa canvas with several plots. If canvas exits, it will be cleared.- Parameters:
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in ysetaxes
- set or not the graph
-
getCanvas
public static SHPlotJa getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2)
Create HPlot canvas with several plots. If canvas exits, it will be cleared.- Parameters:
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in y
-
getCanvas
public static SHPlotJa getCanvas(java.lang.String title, int xsize, int ysize)
Construct a HPlot canvas with a single plot. If canvas exits, it will be cleared.- Parameters:
title
- Title for the canvasxs
- size in xys
- size in y
-
getCanvas
public static SHPlotJa getCanvas(java.lang.String title)
Construct a HPlot canvas with a plot with the default size 600x400. If canvas exits, it will be cleared.- Parameters:
title
- Title
-
getCanvas
public static SHPlotJa getCanvas()
Construct a HPlotJa canvas with a plot with the default size 600x400. If canvas exits, it will be cleared.
-
reloadCanvas
public static void reloadCanvas()
Reload the canvas by removing components
-
-
DMelt 3.0 © DataMelt by jWork.ORG