public class SurfaceChart extends JPanel
Canvas used for surface in charts.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SurfaceChart.ControlPanel |
protected static class |
SurfaceChart.SurfaceCanvas |
protected static class |
SurfaceChart.SurfaceVertex |
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected SurfaceChart.SurfaceCanvas |
canvas |
static boolean |
DEBUG |
static int |
DUALSHADE |
static int |
GRAYSCALE |
static int |
NORENDER |
static int |
SPECTRUM |
static int |
WIREFRAME |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
SurfaceChart() |
SurfaceChart(int calDiv,
int dispDiv,
float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax) |
SurfaceChart(int calDiv,
int dispDiv,
float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax,
String expr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCalcDivisions() |
int |
getDispDivisions() |
int |
getPlotMode() |
float |
getXMax() |
float |
getXMin() |
float |
getYMax() |
float |
getYMin() |
float |
getZMax() |
float |
getZMin() |
boolean |
isBoxed() |
boolean |
isDisplayGrids() |
boolean |
isDisplayXY() |
boolean |
isDisplayZ() |
boolean |
isMesh() |
boolean |
isScaleBox() |
static void |
main(String[] args) |
void |
recalculateExpression() |
void |
setBackground(Color c) |
void |
setBoxed(boolean b) |
void |
setCalcDivisions(int d) |
void |
setDispDivisions(int d) |
void |
setDisplayGrids(boolean b) |
void |
setDisplayXY(boolean b) |
void |
setDisplayZ(boolean b) |
void |
setExpression(String exp) |
void |
setMesh(boolean b) |
void |
setPlotMode(int p) |
void |
setScaleBox(boolean b) |
void |
setValuesArray(Coordinate[] puntos) |
void |
setValuesArray(Coordinate[] points,
boolean autorangexy,
boolean autorangez) |
void |
setValuesArray(SurfaceChart.SurfaceVertex[][] asurfacevertex) |
void |
update() |
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, 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, 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, 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, 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, transferFocusUpCyclepublic static boolean DEBUG
protected SurfaceChart.SurfaceCanvas canvas
public static final int WIREFRAME
public static final int NORENDER
public static final int SPECTRUM
public static final int GRAYSCALE
public static final int DUALSHADE
public SurfaceChart()
public SurfaceChart(int calDiv,
int dispDiv,
float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax)
public SurfaceChart(int calDiv,
int dispDiv,
float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax,
String expr)
public void recalculateExpression()
public void setExpression(String exp)
public void setBackground(Color c)
setBackground in class JComponentpublic void setPlotMode(int p)
public void setBoxed(boolean b)
public void setMesh(boolean b)
public void setScaleBox(boolean b)
public void setDisplayXY(boolean b)
public void setDisplayZ(boolean b)
public void setDisplayGrids(boolean b)
public void update()
public boolean isBoxed()
public boolean isMesh()
public boolean isScaleBox()
public boolean isDisplayXY()
public boolean isDisplayZ()
public boolean isDisplayGrids()
public int getPlotMode()
public int getCalcDivisions()
public float getZMin()
public float getZMax()
public float getXMin()
public float getXMax()
public float getYMin()
public float getYMax()
public int getDispDivisions()
public void setDispDivisions(int d)
public void setCalcDivisions(int d)
public void setValuesArray(SurfaceChart.SurfaceVertex[][] asurfacevertex)
public void setValuesArray(Coordinate[] puntos)
public void setValuesArray(Coordinate[] points, boolean autorangexy, boolean autorangez)
public static void main(String[] args)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.