public class FunctionGraphsJPanel
extends javax.swing.JPanel
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Modifier and Type | Class and Description |
---|---|
class |
FunctionGraphsJPanel.ClickedPoint
Description of the Class
|
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL
The static field that defines HORIZONTAL line on a graph panel
|
static int |
LEGEND_POSITION_ARBITRARY
The constant defining the legend position at the arbitrary place of the
graph panel
|
static int |
LEGEND_POSITION_BOTTOM_LEFT
The constant defining the legend position at the bottom left corner of the
graph panel
|
static int |
LEGEND_POSITION_BOTTOM_RIGHT
The constant defining the legend position at the bottom right corner of the
graph panel
|
static int |
LEGEND_POSITION_TOP_LEFT
The constant defining the legend position at the top left corner of the
graph panel
|
static int |
LEGEND_POSITION_TOP_RIGHT
The constant defining the legend position at the top right corner of the
graph panel
|
static int |
VERTICAL
The static field that defines Vertical line on a graph panel
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FunctionGraphsJPanel()
Constructor for the FunctionGraphsJPanel object
|
Modifier and Type | Method and Description |
---|---|
void |
addChooseListener(java.awt.event.ActionListener al)
Adds a feature to the ChooseListener attribute of the FunctionGraphsJPanel
object
|
void |
addCurveData(CurveData curveData)
Adds a feature to the CurveData attribute of the FunctionGraphsJPanel object
|
void |
addCurveData(java.util.Vector<? extends CurveData> cdV)
Adds a feature to the CurveData attribute of the FunctionGraphsJPanel object
|
void |
addDraggedHorLinesListener(java.awt.event.ActionListener draggedHorLinesListenerIn)
Adds a feature to the DraggedHorLinesListener attribute of the
FunctionGraphsJPanel object
|
void |
addDraggedVerLinesListener(java.awt.event.ActionListener draggedVerLinesListenerIn)
Adds a feature to the DraggedVerLinesListener attribute of the
FunctionGraphsJPanel object
|
int |
addGraphData(BasicGraphData lgd)
Adds a BasicGraphData instance to the graph panel
|
void |
addGraphData(java.util.Vector<? extends BasicGraphData> gdV)
Adds all BasicGraphData instances in the vector to the graph panel.
|
int |
addHorizontalLine(double y)
Adds a feature to the HorizontalLine attribute of the FunctionGraphsJPanel
object
|
int |
addHorizontalLine(double y,
java.awt.Color cl)
Adds a feature to the HorizontalLine attribute of the FunctionGraphsJPanel
object
|
void |
addHorLimitsListener(java.awt.event.ActionListener al)
Adds a feature to the HorLimitsListener attribute of the
FunctionGraphsJPanel object
|
void |
addVerLimitsListener(java.awt.event.ActionListener al)
Adds a feature to the VerLimitsListener attribute of the
FunctionGraphsJPanel object
|
int |
addVerticalLine(double x)
Adds a feature to the VerticalLine attribute of the FunctionGraphsJPanel
object
|
int |
addVerticalLine(double x,
java.awt.Color cl)
Adds a feature to the VerticalLine attribute of the FunctionGraphsJPanel
object
|
void |
clearZoomStack()
Description of the Method
|
java.util.Vector<CurveData> |
getAllCurveData()
Returns the allCurveData attribute of the FunctionGraphsJPanel object
|
java.util.Vector<BasicGraphData> |
getAllGraphData()
Returns the vector with refernces to all BasicGraphData objects on this
graph panel
|
java.awt.Color |
getBorderBackGroundColor()
Returns the borderBackGroundColor attribute of the FunctionGraphsJPanel
object
|
FunctionGraphsJPanel.ClickedPoint |
getClickedPointObject()
Returns the clickedPointObject attribute of the FunctionGraphsJPanel object
|
ColorSurfaceData |
getColorSurfaceData()
Returns the reference to ColorSurfaceData object that is plotted on the
graph panel
|
GridLimits |
getCurrentGL()
Returns the currentGL attribute of the FunctionGraphsJPanel object
|
double |
getCurrentMaxX()
Returns the currentMaxX attribute of the FunctionGraphsJPanel object
|
double |
getCurrentMaxY()
Returns the currentMaxY attribute of the FunctionGraphsJPanel object
|
double |
getCurrentMinX()
Returns the currentMinX attribute of the FunctionGraphsJPanel object
|
double |
getCurrentMinY()
Returns the currentMinY attribute of the FunctionGraphsJPanel object
|
CurveData |
getCurveData(int i)
Returns the curveData attribute of the FunctionGraphsJPanel object
|
int |
getDraggedLineIndex()
Returns the draggedLineIndex attribute of the FunctionGraphsJPanel object
|
GridLimits |
getExternalGL()
Returns the external GridLimits object
|
java.awt.Color |
getGraphBackGroundColor()
Returns the graphBackGroundColor attribute of the FunctionGraphsJPanel
object
|
java.lang.Integer |
getGraphChosenIndex()
Returns the graphChosenIndex attribute of the FunctionGraphsJPanel object
|
java.awt.Color |
getGraphColor(int index)
Returns the graphColor attribute of the FunctionGraphsJPanel object
|
java.awt.Color |
getGraphsDefaultColor()
Returns the graphsDefaultColor attribute of the FunctionGraphsJPanel object
|
boolean |
getGridLinesVisibleX()
Returns the gridLinesVisibleX attribute of the FunctionGraphsJPanel object
|
boolean |
getGridLinesVisibleY()
Returns the gridLinesVisibleY attribute of the FunctionGraphsJPanel object
|
double |
getHorizontalValue(int index)
Returns the horizontalValue attribute of the FunctionGraphsJPanel object
|
java.util.Vector<java.awt.event.ActionListener> |
getHorLimitsListeners()
Returns the horLimitsListeners attribute of the FunctionGraphsJPanel object
|
double |
getInnerMaxX()
Returns the innerMaxX attribute of the FunctionGraphsJPanel object
|
double |
getInnerMaxY()
Returns the innerMaxY attribute of the FunctionGraphsJPanel object
|
double |
getInnerMinX()
Returns the innerMinX attribute of the FunctionGraphsJPanel object
|
double |
getInnerMinY()
Returns the innerMinY attribute of the FunctionGraphsJPanel object
|
BasicGraphData |
getInstanceOfGraphData(int index)
Returns the reference to BasicGraphData object with a particular index
|
java.lang.String |
getLegendKeyString()
Returns the legendKeyString attribute of the FunctionGraphsJPanel object
|
java.lang.String |
getName()
Returns the name attribute of the FunctionGraphsJPanel object
|
GridLimits |
getNewGridLimits()
Returns the newGridLimits attribute of the FunctionGraphsJPanel object
|
int |
getNumberOfHorizontalLines()
Returns the numberOfHorizontalLines attribute of the FunctionGraphsJPanel
object
|
int |
getNumberOfInstanceOfGraphData()
Returns the number of BasicGraphData objects on this graph panel
|
int |
getNumberOfVerticalLines()
Returns the numberOfVerticalLines attribute of the FunctionGraphsJPanel
object
|
int |
getNumbTotalGraphPoints()
Returns the total number of points in the all BasicGraphData objects
|
java.lang.Integer |
getPointChosenIndex()
Returns the pointChosenIndex attribute of the FunctionGraphsJPanel object
|
java.lang.Double |
getPointChosenX()
Returns the pointChosenX attribute of the FunctionGraphsJPanel object
|
java.lang.Double |
getPointChosenY()
Returns the pointChosenY attribute of the FunctionGraphsJPanel object
|
int |
getScreenX(double x)
Returns the screenX attribute of the FunctionGraphsJPanel object
|
int |
getScreenY(double y)
Returns the screenY attribute of the FunctionGraphsJPanel object
|
java.util.Vector<java.awt.event.ActionListener> |
getVerLimitsListeners()
Returns the verLimitsListeners attribute of the FunctionGraphsJPanel object
|
double |
getVerticalValue(int index)
Returns the verticalValue attribute of the FunctionGraphsJPanel object
|
boolean |
isLegendVisible()
Returns the legendVisible attribute of the FunctionGraphsJPanel object
|
void |
mouseClicked(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mouseDragged(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mouseExited(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mouseMoved(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mousePressed(java.awt.event.MouseEvent e)
Description of the Method
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Description of the Method
|
protected void |
paintComponent(java.awt.Graphics g)
Description of the Method
|
void |
refreshGraphJPanel()
Update data and the graph panel
|
void |
removeAllCurveData()
Description of the Method
|
void |
removeAllGraphData()
Removes all BasicGraphData instances from the graph panel
|
void |
removeColorForAllGraphs()
Description of the Method
|
void |
removeCurveData(CurveData curveData)
Description of the Method
|
void |
removeCurveData(int i)
Description of the Method
|
void |
removeGraphData(BasicGraphData gd)
Removes a BasicGraphData instance from the graph panel
|
void |
removeGraphData(int index)
Removes a BasicGraphData instance with a particular index from the graph
panel
|
void |
removeGraphData(java.util.Vector<? extends BasicGraphData> gdV)
Removes all BasicGraphData instances in the vector from the graph panel
|
void |
removeHorizontalValue(int index)
Description of the Method
|
void |
removeHorizontalValues()
Description of the Method
|
void |
removeHorLimitsListener(java.awt.event.ActionListener al)
Description of the Method
|
void |
removeVerLimitsListener(java.awt.event.ActionListener al)
Description of the Method
|
void |
removeVerticalValue(int index)
Description of the Method
|
void |
removeVerticalValues()
Description of the Method
|
void |
resetGraphsDefaultColor()
Description of the Method
|
void |
setAxisNameColorX(java.awt.Color clX)
Sets the axisNameColorX attribute of the FunctionGraphsJPanel object
|
void |
setAxisNameColorY(java.awt.Color clY)
Sets the axisNameColorY attribute of the FunctionGraphsJPanel object
|
void |
setAxisNameFontX(java.awt.Font fnX)
Sets the axisNameFontX attribute of the FunctionGraphsJPanel object
|
void |
setAxisNameFontY(java.awt.Font fnY)
Sets the axisNameFontY attribute of the FunctionGraphsJPanel object
|
void |
setAxisNames(java.lang.String nameX,
java.lang.String nameY)
Sets the axisNames attribute of the FunctionGraphsJPanel object
|
void |
setAxisNameX(java.lang.String nameX)
Sets the axisNameX attribute of the FunctionGraphsJPanel object
|
void |
setAxisNameY(java.lang.String nameY)
Sets the axisNameY attribute of the FunctionGraphsJPanel object
|
void |
setBorderBackGroundColor(java.awt.Color bkgBorderAreaColor)
Sets the borderBackGroundColor attribute of the FunctionGraphsJPanel object
|
void |
setChooseModeButtonVisible(boolean vs)
Sets the chooseModeButtonVisible attribute of the FunctionGraphsJPanel
object
|
void |
setChoosingGraphMode()
Sets the choosingGraphMode attribute of the FunctionGraphsJPanel object
|
void |
setColorSurfaceData(ColorSurfaceData colorSurfaceData)
Sets ColorSurfaceData object that will be plotted on the graph panel
|
void |
setCurveData(java.util.Vector<? extends CurveData> cdV)
Sets the curveData attribute of the FunctionGraphsJPanel object
|
void |
setDisplayGraphMode()
Sets the displayGraphMode attribute of the FunctionGraphsJPanel object
|
void |
setDraggedHorLinesMotionListen(boolean draggedHorLinesMotionListenYesIn)
Sets the draggedHorLinesMotionListen attribute of the FunctionGraphsJPanel
object
|
void |
setDraggedVerLinesMotionListen(boolean draggedVerLinesMotionListenYesIn)
Sets the draggedVerLinesMotionListen attribute of the FunctionGraphsJPanel
object
|
void |
setDraggingHorLinesGraphMode(boolean dragLinesModeYes)
Sets the draggingHorLinesGraphMode attribute of the FunctionGraphsJPanel
object
|
void |
setDraggingVerLinesGraphMode(boolean dragLinesModeYes)
Sets the draggingVerLinesGraphMode attribute of the FunctionGraphsJPanel
object
|
void |
setExternalGL(GridLimits GL)
Sets the GridLimits object to the graph panel as an external grid limits
|
void |
setGraphBackGroundColor(java.awt.Color bkgGraphAreaColor)
Sets the graphBackGroundColor attribute of the FunctionGraphsJPanel object
|
boolean |
setGraphColor(int index,
java.awt.Color color)
Sets the graphColor attribute of the FunctionGraphsJPanel object
|
void |
setGraphData(java.util.Vector<? extends BasicGraphData> gdV)
Sets all BasicGraphData instances in the vector to the graph panel.
|
void |
setGraphLineChoosenColor(java.awt.Color color)
Sets the graphLineChoosenColor attribute of the FunctionGraphsJPanel object
|
void |
setGraphsDefaultColor(java.awt.Color color)
Sets the graphsDefaultColor attribute of the FunctionGraphsJPanel object
|
void |
setGridLineColor(java.awt.Color gridLineColor)
Sets the grid lines color of the FunctionGraphsJPanel.
|
void |
setGridLinesVisibleX(boolean vsbl)
Sets the gridLinesVisibleX attribute of the FunctionGraphsJPanel object
|
void |
setGridLinesVisibleY(boolean vsbl)
Sets the gridLinesVisibleY attribute of the FunctionGraphsJPanel object
|
void |
setHorizontalLineColor(java.awt.Color cl,
int index)
Sets the horizontalLineColor attribute of the FunctionGraphsJPanel object
|
void |
setHorizontalLineValue(double y,
int index)
Sets the horizontalLineValue attribute of the FunctionGraphsJPanel object
|
void |
setHorLinesButtonVisible(boolean vs)
Sets the horLinesButtonVisible attribute of the FunctionGraphsJPanel object
|
void |
setLegendBackground(java.awt.Color cl)
Sets the legendBackground attribute of the FunctionGraphsJPanel object
|
void |
setLegendButtonVisible(boolean vs)
Sets the legendButtonVisible attribute of the FunctionGraphsJPanel object
|
void |
setLegendColor(java.awt.Color cl)
Sets the legendColor attribute of the FunctionGraphsJPanel object
|
void |
setLegendFont(java.awt.Font fnt)
Sets the legendFont attribute of the FunctionGraphsJPanel object
|
void |
setLegendKeyString(java.lang.String legendKeyString)
Sets the legendKeyString attribute of the FunctionGraphsJPanel object
|
void |
setLegendPosition(int legendPosition)
Sets the legendPosition attribute of the FunctionGraphsJPanel object
|
void |
setLegendVisible(boolean vs)
Sets the legendVisible attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksX(double vMin,
double vMax,
double step)
Sets the limitsAndTicksX attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksX(double vMin,
double vMax,
double step,
int nMinorTicksIn)
Sets the limitsAndTicksX attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksX(double vMin,
double step,
int nStep)
Sets the limitsAndTicksX attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksX(double vMin,
double step,
int nStep,
int nMinorTicksIn)
Sets the limitsAndTicksX attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksY(double vMin,
double vMax,
double step)
Sets the limitsAndTicksY attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksY(double vMin,
double vMax,
double step,
int nMinorTicksIn)
Sets the limitsAndTicksY attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksY(double vMin,
double step,
int nStep)
Sets the limitsAndTicksY attribute of the FunctionGraphsJPanel object
|
void |
setLimitsAndTicksY(double vMin,
double step,
int nStep,
int nMinorTicksIn)
Sets the limitsAndTicksY attribute of the FunctionGraphsJPanel object
|
void |
setMakrsScaleX(double numbMarkScaleXin)
Sets the makrsScaleX attribute of the FunctionGraphsJPanel object
|
void |
setMakrsScaleY(double numbMarkScaleYin)
Sets the makrsScaleY attribute of the FunctionGraphsJPanel object
|
void |
setName(java.lang.String name)
Sets the name attribute of the FunctionGraphsJPanel object
|
void |
setNameColor(java.awt.Color cl)
Sets the nameColor attribute of the FunctionGraphsJPanel object
|
void |
setNameFont(java.awt.Font fn)
Sets the nameFont attribute of the FunctionGraphsJPanel object
|
void |
setNumberColor(java.awt.Color cl)
Sets the numberColor attribute of the FunctionGraphsJPanel object
|
void |
setNumberFont(java.awt.Font fn)
Sets the numberFont attribute of the FunctionGraphsJPanel object
|
void |
setNumberFormatX(java.text.DecimalFormat df)
Sets the numberFormatX attribute of the FunctionGraphsJPanel object
|
void |
setNumberFormatY(java.text.DecimalFormat df)
Sets the numberFormatY attribute of the FunctionGraphsJPanel object
|
void |
setOffScreenImageDrawing(boolean offScreenImageOnIn)
Sets the offScreenImageDrawing attribute of the FunctionGraphsJPanel object
|
void |
setSmartGL(boolean smart)
Sets the boolean value that defines if the smart (slow one) GridLimits
object will be used as internal GL manager for the graph panel
|
void |
setVerLinesButtonVisible(boolean vs)
Sets the verLinesButtonVisible attribute of the FunctionGraphsJPanel object
|
void |
setVerticalLineColor(java.awt.Color cl,
int index)
Sets the verticalLineColor attribute of the FunctionGraphsJPanel object
|
void |
setVerticalLineValue(double x,
int index)
Sets the verticalLineValue attribute of the FunctionGraphsJPanel object
|
void |
xMarkersOn(boolean gridXmarkerOnIn)
Description of the Method
|
void |
yMarkersOn(boolean gridYmarkerOnIn)
Description of the Method
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, 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, 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, update
add, 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, validateTree
action, 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, 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, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static int HORIZONTAL
public static int VERTICAL
public static final int LEGEND_POSITION_ARBITRARY
public static final int LEGEND_POSITION_TOP_LEFT
public static final int LEGEND_POSITION_TOP_RIGHT
public static final int LEGEND_POSITION_BOTTOM_LEFT
public static final int LEGEND_POSITION_BOTTOM_RIGHT
public FunctionGraphsJPanel()
public int addGraphData(BasicGraphData lgd)
lgd
- The BasicGraphData instancepublic void removeGraphData(int index)
index
- The index of this data set in the graph panelpublic void removeGraphData(BasicGraphData gd)
gd
- The BasicGraphData instancepublic void addGraphData(java.util.Vector<? extends BasicGraphData> gdV)
gdV
- The vector with BasicGraphData instancespublic void setGraphData(java.util.Vector<? extends BasicGraphData> gdV)
gdV
- The vector with BasicGraphData instancespublic void removeGraphData(java.util.Vector<? extends BasicGraphData> gdV)
gdV
- The vector with BasicGraphData instancespublic void removeAllGraphData()
public BasicGraphData getInstanceOfGraphData(int index)
index
- The index of BasicGraphData object inside the graph panelpublic java.util.Vector<BasicGraphData> getAllGraphData()
public int getNumberOfInstanceOfGraphData()
public int getNumbTotalGraphPoints()
public void setColorSurfaceData(ColorSurfaceData colorSurfaceData)
colorSurfaceData
- New ColorSurfaceData objectpublic ColorSurfaceData getColorSurfaceData()
public CurveData getCurveData(int i)
i
- Description of the Parameterpublic java.util.Vector<CurveData> getAllCurveData()
public void addCurveData(CurveData curveData)
curveData
- The feature to be added to the CurveData attributepublic void addCurveData(java.util.Vector<? extends CurveData> cdV)
cdV
- The feature to be added to the CurveData attributepublic void setCurveData(java.util.Vector<? extends CurveData> cdV)
cdV
- The new curveData valuepublic void removeCurveData(int i)
i
- Description of the Parameterpublic void removeCurveData(CurveData curveData)
curveData
- Description of the Parameterpublic void removeAllCurveData()
public void setGraphsDefaultColor(java.awt.Color color)
color
- The new graphsDefaultColor valuepublic void setGraphLineChoosenColor(java.awt.Color color)
color
- The new graphLineChoosenColor valuepublic java.awt.Color getGraphsDefaultColor()
public void resetGraphsDefaultColor()
public void removeColorForAllGraphs()
public java.awt.Color getGraphColor(int index)
index
- Description of the Parameterpublic boolean setGraphColor(int index, java.awt.Color color)
index
- The new graphColor valuecolor
- The new graphColor valuepublic void xMarkersOn(boolean gridXmarkerOnIn)
gridXmarkerOnIn
- Description of the Parameterpublic void yMarkersOn(boolean gridYmarkerOnIn)
gridYmarkerOnIn
- Description of the Parameterpublic void setOffScreenImageDrawing(boolean offScreenImageOnIn)
offScreenImageOnIn
- The new offScreenImageDrawing valuepublic void setDisplayGraphMode()
public void setChoosingGraphMode()
public void setChooseModeButtonVisible(boolean vs)
vs
- The new chooseModeButtonVisible valuepublic java.lang.Integer getGraphChosenIndex()
public java.lang.Integer getPointChosenIndex()
public java.lang.Double getPointChosenX()
public java.lang.Double getPointChosenY()
public void addChooseListener(java.awt.event.ActionListener al)
al
- The feature to be added to the ChooseListener attributepublic GridLimits getNewGridLimits()
public GridLimits getCurrentGL()
public void setExternalGL(GridLimits GL)
GL
- The GridLimits objectpublic void setSmartGL(boolean smart)
smart
- The boolean valuepublic GridLimits getExternalGL()
public double getInnerMinX()
public double getInnerMaxX()
public double getInnerMinY()
public double getInnerMaxY()
public double getCurrentMinX()
public double getCurrentMaxX()
public double getCurrentMinY()
public double getCurrentMaxY()
public void clearZoomStack()
public void setLimitsAndTicksX(double vMin, double step, int nStep, int nMinorTicksIn)
vMin
- The new limitsAndTicksX valuestep
- The new limitsAndTicksX valuenStep
- The new limitsAndTicksX valuenMinorTicksIn
- The new limitsAndTicksX valuepublic void setLimitsAndTicksY(double vMin, double step, int nStep, int nMinorTicksIn)
vMin
- The new limitsAndTicksY valuestep
- The new limitsAndTicksY valuenStep
- The new limitsAndTicksY valuenMinorTicksIn
- The new limitsAndTicksY valuepublic void setLimitsAndTicksX(double vMin, double step, int nStep)
vMin
- The new limitsAndTicksX valuestep
- The new limitsAndTicksX valuenStep
- The new limitsAndTicksX valuepublic void setLimitsAndTicksY(double vMin, double step, int nStep)
vMin
- The new limitsAndTicksY valuestep
- The new limitsAndTicksY valuenStep
- The new limitsAndTicksY valuepublic void setLimitsAndTicksX(double vMin, double vMax, double step, int nMinorTicksIn)
vMin
- The new limitsAndTicksX valuevMax
- The new limitsAndTicksX valuestep
- The new limitsAndTicksX valuenMinorTicksIn
- The new limitsAndTicksX valuepublic void setLimitsAndTicksY(double vMin, double vMax, double step, int nMinorTicksIn)
vMin
- The new limitsAndTicksY valuevMax
- The new limitsAndTicksY valuestep
- The new limitsAndTicksY valuenMinorTicksIn
- The new limitsAndTicksY valuepublic void setLimitsAndTicksX(double vMin, double vMax, double step)
vMin
- The new limitsAndTicksX valuevMax
- The new limitsAndTicksX valuestep
- The new limitsAndTicksX valuepublic void setLimitsAndTicksY(double vMin, double vMax, double step)
vMin
- The new limitsAndTicksY valuevMax
- The new limitsAndTicksY valuestep
- The new limitsAndTicksY valuepublic void setGraphBackGroundColor(java.awt.Color bkgGraphAreaColor)
bkgGraphAreaColor
- The new graphBackGroundColor valuepublic void setGridLineColor(java.awt.Color gridLineColor)
gridLineColor
- The new grid lines colorpublic void setBorderBackGroundColor(java.awt.Color bkgBorderAreaColor)
bkgBorderAreaColor
- The new borderBackGroundColor valuepublic java.awt.Color getGraphBackGroundColor()
public java.awt.Color getBorderBackGroundColor()
public void setName(java.lang.String name)
setName
in class java.awt.Component
name
- The new name valuepublic java.lang.String getName()
getName
in class java.awt.Component
public void setAxisNames(java.lang.String nameX, java.lang.String nameY)
nameX
- The new axisNames valuenameY
- The new axisNames valuepublic void setAxisNameX(java.lang.String nameX)
nameX
- The new axisNameX valuepublic void setAxisNameY(java.lang.String nameY)
nameY
- The new axisNameY valuepublic void setNameFont(java.awt.Font fn)
fn
- The new nameFont valuepublic void setAxisNameFontX(java.awt.Font fnX)
fnX
- The new axisNameFontX valuepublic void setAxisNameFontY(java.awt.Font fnY)
fnY
- The new axisNameFontY valuepublic void setNumberFont(java.awt.Font fn)
fn
- The new numberFont valuepublic void setNameColor(java.awt.Color cl)
cl
- The new nameColor valuepublic void setAxisNameColorX(java.awt.Color clX)
clX
- The new axisNameColorX valuepublic void setAxisNameColorY(java.awt.Color clY)
clY
- The new axisNameColorY valuepublic void setNumberColor(java.awt.Color cl)
cl
- The new numberColor valuepublic void setNumberFormatX(java.text.DecimalFormat df)
df
- The new numberFormatX valuepublic void setNumberFormatY(java.text.DecimalFormat df)
df
- The new numberFormatY valuepublic void setMakrsScaleX(double numbMarkScaleXin)
numbMarkScaleXin
- The new makrsScaleX valuepublic void setMakrsScaleY(double numbMarkScaleYin)
numbMarkScaleYin
- The new makrsScaleY valuepublic FunctionGraphsJPanel.ClickedPoint getClickedPointObject()
public int getNumberOfVerticalLines()
public int getNumberOfHorizontalLines()
public int addVerticalLine(double x)
x
- The feature to be added to the VerticalLine attributepublic int addHorizontalLine(double y)
y
- The feature to be added to the HorizontalLine attributepublic int addVerticalLine(double x, java.awt.Color cl)
x
- The feature to be added to the VerticalLine attributecl
- The feature to be added to the VerticalLine attributepublic int addHorizontalLine(double y, java.awt.Color cl)
y
- The feature to be added to the HorizontalLine attributecl
- The feature to be added to the HorizontalLine attributepublic void setVerticalLineValue(double x, int index)
x
- The new verticalLineValue valueindex
- The new verticalLineValue valuepublic void setHorizontalLineValue(double y, int index)
y
- The new horizontalLineValue valueindex
- The new horizontalLineValue valuepublic void setVerticalLineColor(java.awt.Color cl, int index)
cl
- The new verticalLineColor valueindex
- The new verticalLineColor valuepublic void setHorizontalLineColor(java.awt.Color cl, int index)
cl
- The new horizontalLineColor valueindex
- The new horizontalLineColor valuepublic double getVerticalValue(int index)
index
- Description of the Parameterpublic double getHorizontalValue(int index)
index
- Description of the Parameterpublic void removeVerticalValue(int index)
index
- Description of the Parameterpublic void removeHorizontalValue(int index)
index
- Description of the Parameterpublic void removeVerticalValues()
public void removeHorizontalValues()
public void setDraggingHorLinesGraphMode(boolean dragLinesModeYes)
dragLinesModeYes
- The new draggingHorLinesGraphMode valuepublic void setDraggingVerLinesGraphMode(boolean dragLinesModeYes)
dragLinesModeYes
- The new draggingVerLinesGraphMode valuepublic void setHorLinesButtonVisible(boolean vs)
vs
- The new horLinesButtonVisible valuepublic void setVerLinesButtonVisible(boolean vs)
vs
- The new verLinesButtonVisible valuepublic void addDraggedHorLinesListener(java.awt.event.ActionListener draggedHorLinesListenerIn)
draggedHorLinesListenerIn
- The feature to be added to the
DraggedHorLinesListener attributepublic void addDraggedVerLinesListener(java.awt.event.ActionListener draggedVerLinesListenerIn)
draggedVerLinesListenerIn
- The feature to be added to the
DraggedVerLinesListener attributepublic void setDraggedHorLinesMotionListen(boolean draggedHorLinesMotionListenYesIn)
draggedHorLinesMotionListenYesIn
- The new draggedHorLinesMotionListen
valuepublic void setDraggedVerLinesMotionListen(boolean draggedVerLinesMotionListenYesIn)
draggedVerLinesMotionListenYesIn
- The new draggedVerLinesMotionListen
valuepublic int getDraggedLineIndex()
public void setGridLinesVisibleX(boolean vsbl)
vsbl
- The new gridLinesVisibleX valuepublic boolean getGridLinesVisibleX()
public void setGridLinesVisibleY(boolean vsbl)
vsbl
- The new gridLinesVisibleY valuepublic boolean getGridLinesVisibleY()
public void addHorLimitsListener(java.awt.event.ActionListener al)
al
- The feature to be added to the HorLimitsListener attributepublic void addVerLimitsListener(java.awt.event.ActionListener al)
al
- The feature to be added to the VerLimitsListener attributepublic void removeHorLimitsListener(java.awt.event.ActionListener al)
al
- Description of the Parameterpublic void removeVerLimitsListener(java.awt.event.ActionListener al)
al
- Description of the Parameterpublic java.util.Vector<java.awt.event.ActionListener> getHorLimitsListeners()
public java.util.Vector<java.awt.event.ActionListener> getVerLimitsListeners()
public void setLegendVisible(boolean vs)
vs
- The new legendVisible valuepublic boolean isLegendVisible()
public void setLegendButtonVisible(boolean vs)
vs
- The new legendButtonVisible valuepublic void setLegendKeyString(java.lang.String legendKeyString)
legendKeyString
- The new legendKeyString valuepublic java.lang.String getLegendKeyString()
public void setLegendPosition(int legendPosition)
legendPosition
- The new legendPosition valuepublic void setLegendFont(java.awt.Font fnt)
fnt
- The new legendFont valuepublic void setLegendColor(java.awt.Color cl)
cl
- The new legendColor valuepublic void setLegendBackground(java.awt.Color cl)
cl
- The new legendBackground valueprotected void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
g
- Description of the Parameterpublic void refreshGraphJPanel()
public int getScreenX(double x)
x
- Description of the Parameterpublic int getScreenY(double y)
y
- Description of the Parameterpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- Description of the Parameterpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- Description of the Parameterpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- Description of the Parameterpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- Description of the Parameterpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- Description of the Parameterpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
e
- Description of the Parameterpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
e
- Description of the Parameter