jmathlib.core.graphics.axes.coreObjects
Class LineObject

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap
          extended by jmathlib.core.graphics.PropertySet
              extended by jmathlib.core.graphics.HandleObject
                  extended by jmathlib.core.graphics.GraphicalObject
                      extended by jmathlib.core.graphics.FigureObject
                          extended by jmathlib.core.graphics.axes.AxesObject
                              extended by jmathlib.core.graphics.axes.coreObjects.LineObject
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.awt.print.Printable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, java.util.Map, java.util.SortedMap, PropertyListener
Direct Known Subclasses:
Line3DObject, SurfaceObject

public class LineObject
extends AxesObject
implements PropertyListener

implementation of a line object

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jmathlib.core.graphics.axes.AxesObject
AxesObject.AxesComponent
 
Field Summary
static int AREA_MODE
           
 ColorProperty ColorP
           
static int LINE_MODE
           
 LineStyleProperty LineStyleP
           
 DoubleProperty LineWidthP
           
 MarkerProperty MarkerP
           
 DoubleProperty MarkerSizeP
           
protected  int mode
           
static int STAIR_MODE
           
static int STEM_MODE
           
 RadioProperty TypeP
           
 DoubleVectorProperty XDataP
           
 DoubleVectorProperty YDataP
           
 DoubleVectorProperty ZDataP
           
 
Fields inherited from class jmathlib.core.graphics.axes.AxesObject
ActivePositionPropertyP, ALimModeP, ALimP, AmbientLightColorP, backBuffer, backEnabled, backGC, backSize, BoxP, CameraPositionModeP, CameraPositionP, CameraTargetModeP, CameraTargetP, CameraUpVectorModeP, CameraUpVectorP, CameraViewAngleModeP, CameraViewAngleP, ChildrenP, CLimModeP, CLimP, ColorOrderP, component, CurrentPointP, DataAspectRatioModeP, DataAspectRatioP, DrawModeP, dxFrame, dyFrame, FontAngleP, FontNameP, FontSizeP, FontUnitsP, FontWeightP, GridLineStyleP, LayerP, MinorGridLineStyleP, OuterPositionP, PlotBoxAspectRatioModeP, PlotBoxAspectRatioP, ProjectionP, TickDirModeP, TickDirP, TickLengthP, TightInsetP, title, TitleP, XAxisLocationP, XColorP, XDirP, XGridP, XGridStyleP, xLabel, XLimModeP, XLimP, XMinorGridP, XMinorTickP, XScaleP, XTickLabelModeP, XTickLabelP, XTickModeP, XTickP, YAxisLocationP, YColorP, YDirP, YGridP, YGridStyleP, yLabel, YLimModeP, YLimP, YMinorGridP, YMinorTickP, YScaleP, YTickLabelModeP, YTickLabelP, YTickModeP, YTickP, ZAxisLocationP, ZColorP, ZDirP, ZGridP, ZGridStyleP, zLabel, ZLimModeP, ZLimP, ZMinorGridP, ZMinorTickP, ZScaleP, ZTickLabelModeP, ZTickLabelP, ZTickModeP, ZTickP
 
Fields inherited from class jmathlib.core.graphics.FigureObject
AlphamapP, BeingDeletedP, CloseRequestFcnP, ColormapP, CreateFcnP, CurrentCharacterP, DeleteFcnP, DockControlsP, DoubleBufferP, FileNameP, FixedColorsP, IntegerHandleP, InvertHardcopyP, KeyPressFcnP, KeyReleaseFcnP, MenuBarP, MinColormapP, NameP, NextPlotP, NumberTitleP, PaperOrientationP, PaperPositionModeP, PaperPositionP, PaperSizeP, PaperTypeP, PaperUnitsP, PointerP, PointerShapeCDataP, PointerShapeHotSpotP, PositionP, RendererModeP, RendererP, ResizeFcnP, ResizeP, SelectionTypeP, ShareColorsP, ToolBarP, UnitsP, VisualModeP, WindowButtonDownFcnP, WindowButtonMotionFcnP, WindowButtonUpFcnP, WindowScrollWheelFcnP, WindowStyleP, WVisualModeP
 
Fields inherited from class jmathlib.core.graphics.GraphicalObject
ax_xmax, ax_xmin, ax_ymax, ax_ymin, ax_zmax, ax_zmin, BusyActionP, ButtonDownFcnP, ClippingP, DiaryFileP, DiaryP, EchoP, ErrorMessageP, FormatSpacingP, HandleVisibilityP, height, HitTestP, InterruptibleP, LanguageP, mat, parent, SelectedP, SelectionHighlightP, ShowHiddenHandlesP, TagP, VisibileP, width, xmax, xmin, xOrig, ymax, ymin, yOrig, zmax, zmin, zOrig
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
LineObject()
           
LineObject(double[] _x, double[] _y)
           
LineObject(double[] _x, double[] _y, java.lang.String color, java.lang.String lineStyle, java.lang.String marker)
          Constructor for a line
 
Method Summary
private  void findMinMaxX()
           
private  void findMinMaxY()
           
 void paint(java.awt.Graphics g)
           
 void propertyChanged(Property p)
           
 
Methods inherited from class jmathlib.core.graphics.axes.AxesObject
addLine, addLine, addLines, autoScale, autoScaleX, autoScaleY, autoScaleZ, autoTick, autoTickLabel, autoTickLabelX, autoTickLabelY, autoTickLabelZ, autoTickX, autoTickY, autoTickZ, clearAxes, flushBackBuffer, getComponent, getMinimumSize, getSize, initBackBuffer, repaint, setBackBuffer, setHold, setTitle, setXLabel, setYLabel, setZLabel
 
Methods inherited from class jmathlib.core.graphics.FigureObject
actionPerformed, clearFigure, close, close, convertCurrentAxesTo3DAxes, getCurrentAxes, getCurrentPolarAxes, getFigureNumber, print, setGraphicsManager, setSubPlot, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class jmathlib.core.graphics.GraphicalObject
getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, setAxesBoundaries, setAxesBoundaries, setParent, setPlotArea
 
Methods inherited from class jmathlib.core.graphics.HandleObject
addProperty, finalize, get, getHandle, getHandleObject, getProperty, removeHandleObject, set, show
 
Methods inherited from class jmathlib.core.graphics.PropertySet
show
 
Methods inherited from class java.util.TreeMap
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Field Detail

LINE_MODE

public static final int LINE_MODE
See Also:
Constant Field Values

STEM_MODE

public static final int STEM_MODE
See Also:
Constant Field Values

STAIR_MODE

public static final int STAIR_MODE
See Also:
Constant Field Values

AREA_MODE

public static final int AREA_MODE
See Also:
Constant Field Values

ColorP

public ColorProperty ColorP

MarkerP

public MarkerProperty MarkerP

MarkerSizeP

public DoubleProperty MarkerSizeP

XDataP

public DoubleVectorProperty XDataP

YDataP

public DoubleVectorProperty YDataP

ZDataP

public DoubleVectorProperty ZDataP

LineStyleP

public LineStyleProperty LineStyleP

LineWidthP

public DoubleProperty LineWidthP

TypeP

public RadioProperty TypeP

mode

protected int mode
Constructor Detail

LineObject

public LineObject()

LineObject

public LineObject(double[] _x,
                  double[] _y)

LineObject

public LineObject(double[] _x,
                  double[] _y,
                  java.lang.String color,
                  java.lang.String lineStyle,
                  java.lang.String marker)
Constructor for a line

Method Detail

findMinMaxX

private void findMinMaxX()

findMinMaxY

private void findMinMaxY()

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class AxesObject

propertyChanged

public void propertyChanged(Property p)
Specified by:
propertyChanged in interface PropertyListener
Overrides:
propertyChanged in class AxesObject

FOOTER

BOTTOM