jmathlib.core.graphics
Class FigureObject
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap
jmathlib.core.graphics.PropertySet
jmathlib.core.graphics.HandleObject
jmathlib.core.graphics.GraphicalObject
jmathlib.core.graphics.FigureObject
- 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.NavigableMap, java.util.SortedMap, PropertyListener
- Direct Known Subclasses:
- AxesObject
public class FigureObject
- extends GraphicalObject
- implements java.awt.event.WindowListener, java.awt.print.Printable, java.awt.event.ActionListener, PropertyListener
created and holds the axes of a plot, there can be multiple axes in one plot
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Fields inherited from class jmathlib.core.graphics.GraphicalObject |
ax_xmax, ax_xmin, ax_ymax, ax_ymin, ax_zmax, ax_zmin, BusyActionP, ButtonDownFcnP, ChildrenP, ClippingP, DiaryFileP, DiaryP, EchoP, ErrorMessageP, FormatSpacingP, HandleVisibilityP, height, HitTestP, InterruptibleP, LanguageP, mat, parent, SelectedP, SelectionHighlightP, ShowHiddenHandlesP, TagP, TypeP, VisibileP, width, xmax, xmin, xOrig, ymax, ymin, yOrig, zmax, zmin, zOrig |
| Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
| Methods inherited from class jmathlib.core.graphics.GraphicalObject |
getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, paint, setAxesBoundaries, setAxesBoundaries, setParent, setPlotArea |
| Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, 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 |
AlphamapP
public DoubleVectorProperty AlphamapP
BeingDeletedP
public BooleanProperty BeingDeletedP
CloseRequestFcnP
public FunctionalHandleProperty CloseRequestFcnP
ColorP
public ColorProperty ColorP
ColormapP
public ColormapProperty ColormapP
CreateFcnP
public FunctionalHandleProperty CreateFcnP
CurrentCharacterP
public StringProperty CurrentCharacterP
DeleteFcnP
public FunctionalHandleProperty DeleteFcnP
DockControlsP
public BooleanProperty DockControlsP
DoubleBufferP
public BooleanProperty DoubleBufferP
FileNameP
public StringProperty FileNameP
FixedColorsP
public ColormapProperty FixedColorsP
IntegerHandleP
public BooleanProperty IntegerHandleP
InvertHardcopyP
public BooleanProperty InvertHardcopyP
KeyPressFcnP
public FunctionalHandleProperty KeyPressFcnP
KeyReleaseFcnP
public FunctionalHandleProperty KeyReleaseFcnP
MenuBarP
public RadioProperty MenuBarP
MinColormapP
public DoubleProperty MinColormapP
NameP
public StringProperty NameP
NextPlotP
public RadioProperty NextPlotP
NumberTitleP
public BooleanProperty NumberTitleP
PaperOrientationP
public RadioProperty PaperOrientationP
PaperPositionP
public DoubleVectorProperty PaperPositionP
PaperPositionModeP
public RadioProperty PaperPositionModeP
PaperSizeP
public DoubleVectorProperty PaperSizeP
PaperTypeP
public StringProperty PaperTypeP
PaperUnitsP
public RadioProperty PaperUnitsP
PointerP
public RadioProperty PointerP
PointerShapeCDataP
public DoubleVectorProperty PointerShapeCDataP
PointerShapeHotSpotP
public DoubleVectorProperty PointerShapeHotSpotP
PositionP
public DoubleVectorProperty PositionP
RendererP
public RadioProperty RendererP
RendererModeP
public RadioProperty RendererModeP
ResizeP
public BooleanProperty ResizeP
ResizeFcnP
public FunctionalHandleProperty ResizeFcnP
SelectionTypeP
public RadioProperty SelectionTypeP
ShareColorsP
public BooleanProperty ShareColorsP
ToolBarP
public RadioProperty ToolBarP
UnitsP
public UnitsProperty UnitsP
WindowButtonDownFcnP
public FunctionalHandleProperty WindowButtonDownFcnP
WindowButtonMotionFcnP
public FunctionalHandleProperty WindowButtonMotionFcnP
WindowButtonUpFcnP
public FunctionalHandleProperty WindowButtonUpFcnP
WindowScrollWheelFcnP
public FunctionalHandleProperty WindowScrollWheelFcnP
WindowStyleP
public RadioProperty WindowStyleP
WVisualModeP
public RadioProperty WVisualModeP
VisualModeP
public RadioProperty VisualModeP
FigureObject
public FigureObject()
FigureObject
public FigureObject(int _figureNo)
getCurrentAxes
public AxesObject getCurrentAxes()
getCurrentPolarAxes
public PolarAxesObject getCurrentPolarAxes()
convertCurrentAxesTo3DAxes
public void convertCurrentAxesTo3DAxes()
getFigureNumber
public int getFigureNumber()
setSubPlot
public void setSubPlot(int _gridY,
int _gridX,
int _currentAxes)
- devide the current figure into n*m tiles
clearFigure
public void clearFigure()
print
public int print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int page)
throws java.awt.print.PrinterException
- method for printing the graphics window to an external printer
- Specified by:
print in interface java.awt.print.Printable
- Throws:
java.awt.print.PrinterException
close
public void close()
close
public void close(boolean notify)
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosing in interface java.awt.event.WindowListener
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivated in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosed in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconified in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconified in interface java.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpened in interface java.awt.event.WindowListener
setGraphicsManager
public void setGraphicsManager(GraphicsManager _gM)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
repaint
public void repaint()
- Overrides:
repaint in class GraphicalObject
propertyChanged
public void propertyChanged(Property p)
- Specified by:
propertyChanged in interface PropertyListener