jmathlib.core.graphics
Class GraphicalObject

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
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, java.util.SortedMap
Direct Known Subclasses:
FigureObject

public abstract class GraphicalObject
extends HandleObject

implementation of a line object

See Also:
Serialized Form

Field Summary
 double ax_xmax
           
 double ax_xmin
           
 double ax_ymax
           
 double ax_ymin
           
 double ax_zmax
           
 double ax_zmin
           
 RadioProperty BusyActionP
          common properties to all objects
 StringProperty ButtonDownFcnP
           
 HandleObjectListProperty ChildrenP
           
 BooleanProperty ClippingP
           
 StringProperty DiaryFileP
           
 BooleanProperty DiaryP
           
 BooleanProperty EchoP
           
 StringProperty ErrorMessageP
           
 RadioProperty FormatSpacingP
           
 BooleanProperty HandleVisibilityP
           
 int height
           
 BooleanProperty HitTestP
           
 BooleanProperty InterruptibleP
           
 StringProperty LanguageP
           
 Matrix3D mat
           
protected  GraphicalObject parent
          parent axes
 BooleanProperty SelectedP
           
 BooleanProperty SelectionHighlightP
           
 BooleanProperty ShowHiddenHandlesP
           
 StringProperty TagP
           
 TypeProperty TypeP
           
 BooleanProperty VisibileP
           
 int width
           
protected  double xmax
           
protected  double xmin
           
 int xOrig
          Origin of curves
protected  double ymax
           
protected  double ymin
           
 int yOrig
           
protected  double zmax
           
protected  double zmin
           
 int zOrig
           
 
Constructor Summary
GraphicalObject()
           
 
Method Summary
 double getXMax()
           
 double getXMin()
           
 double getYMax()
           
 double getYMin()
           
 double getZMax()
           
 double getZMin()
           
 void paint(java.awt.Graphics g)
           
 void repaint()
           
 void setAxesBoundaries(double _xmin, double _xmax, double _ymin, double _ymax)
           
 void setAxesBoundaries(double _xmin, double _xmax, double _ymin, double _ymax, double _zmin, double _zmax)
          Sets the boundaries for the physical values of the line, this is used for graphs with multiple line
 void setParent(GraphicalObject parent)
           
 void setPlotArea(int _xOrig, int _yOrig, int _width, int _height)
          Sets the area on the screen in which the line must be plotted
 
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

BusyActionP

public RadioProperty BusyActionP
common properties to all objects


ButtonDownFcnP

public StringProperty ButtonDownFcnP

ChildrenP

public HandleObjectListProperty ChildrenP

ClippingP

public BooleanProperty ClippingP

DiaryP

public BooleanProperty DiaryP

DiaryFileP

public StringProperty DiaryFileP

EchoP

public BooleanProperty EchoP

ErrorMessageP

public StringProperty ErrorMessageP

FormatSpacingP

public RadioProperty FormatSpacingP

HandleVisibilityP

public BooleanProperty HandleVisibilityP

HitTestP

public BooleanProperty HitTestP

InterruptibleP

public BooleanProperty InterruptibleP

LanguageP

public StringProperty LanguageP

SelectedP

public BooleanProperty SelectedP

SelectionHighlightP

public BooleanProperty SelectionHighlightP

ShowHiddenHandlesP

public BooleanProperty ShowHiddenHandlesP

TagP

public StringProperty TagP

TypeP

public TypeProperty TypeP

VisibileP

public BooleanProperty VisibileP

parent

protected GraphicalObject parent
parent axes


xOrig

public int xOrig
Origin of curves


yOrig

public int yOrig

zOrig

public int zOrig

width

public int width

height

public int height

xmin

protected double xmin

xmax

protected double xmax

ymin

protected double ymin

ymax

protected double ymax

zmin

protected double zmin

zmax

protected double zmax

ax_xmin

public double ax_xmin

ax_xmax

public double ax_xmax

ax_ymin

public double ax_ymin

ax_ymax

public double ax_ymax

ax_zmin

public double ax_zmin

ax_zmax

public double ax_zmax

mat

public Matrix3D mat
Constructor Detail

GraphicalObject

public GraphicalObject()
Method Detail

getXMin

public double getXMin()

getXMax

public double getXMax()

getYMin

public double getYMin()

getYMax

public double getYMax()

getZMin

public double getZMin()

getZMax

public double getZMax()

setPlotArea

public void setPlotArea(int _xOrig,
                        int _yOrig,
                        int _width,
                        int _height)
Sets the area on the screen in which the line must be plotted


setAxesBoundaries

public void setAxesBoundaries(double _xmin,
                              double _xmax,
                              double _ymin,
                              double _ymax,
                              double _zmin,
                              double _zmax)
Sets the boundaries for the physical values of the line, this is used for graphs with multiple line


setAxesBoundaries

public void setAxesBoundaries(double _xmin,
                              double _xmax,
                              double _ymin,
                              double _ymax)

paint

public void paint(java.awt.Graphics g)

repaint

public void repaint()

setParent

public void setParent(GraphicalObject parent)

FOOTER

BOTTOM