jmathlib.core.graphics
Class GraphicsManager

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

public class GraphicsManager
extends HandleObject

See Also:
Serialized Form

Field Summary
private  int currentFigure
          current figure that is used for plot()... commands
(package private)  java.util.Vector figures
          A list of all figures
(package private)  BooleanProperty SelectedP
           
(package private)  BooleanProperty SelectionHighlightP
           
(package private)  UnitsProperty UnitsP
          properties
(package private)  BooleanProperty VisibileP
           
 
Constructor Summary
GraphicsManager()
           
 
Method Summary
 void closeAll()
           
 void closeFigure(int figureNo)
           
 void createNewFigure()
           
 void createNewFigure(int _figureNo)
           
private  FigureObject findFigure(int _figureNo)
           
private  boolean findFigureNumber(int _figureNo)
          check the figures vector if a figure with the number _figureNo exists
 void findProperty(java.lang.String property)
           
 FigureObject getCurrentFigure()
           
 int getCurrentFigureNumber()
           
private  int getUnusedFigureNumber()
          return a figure number that is not already used
 void removeFigure(int _figureNo)
           
 void setCurrentFigure(int _currentFigure)
           
 void setProperty(java.lang.String property, double value)
           
 void setProperty(java.lang.String property, java.lang.String value)
           
 
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

figures

java.util.Vector figures
A list of all figures


currentFigure

private int currentFigure
current figure that is used for plot()... commands


UnitsP

UnitsProperty UnitsP
properties


SelectedP

BooleanProperty SelectedP

SelectionHighlightP

BooleanProperty SelectionHighlightP

VisibileP

BooleanProperty VisibileP
Constructor Detail

GraphicsManager

public GraphicsManager()
Method Detail

getCurrentFigure

public FigureObject getCurrentFigure()

createNewFigure

public void createNewFigure()

createNewFigure

public void createNewFigure(int _figureNo)

findFigureNumber

private boolean findFigureNumber(int _figureNo)
check the figures vector if a figure with the number _figureNo exists


findFigure

private FigureObject findFigure(int _figureNo)

getUnusedFigureNumber

private int getUnusedFigureNumber()
return a figure number that is not already used


getCurrentFigureNumber

public int getCurrentFigureNumber()

setCurrentFigure

public void setCurrentFigure(int _currentFigure)

removeFigure

public void removeFigure(int _figureNo)

findProperty

public void findProperty(java.lang.String property)

setProperty

public void setProperty(java.lang.String property,
                        double value)

setProperty

public void setProperty(java.lang.String property,
                        java.lang.String value)

closeAll

public void closeAll()

closeFigure

public void closeFigure(int figureNo)

FOOTER

BOTTOM