jmathlib.core.graphics
Class HandleObject

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

public class HandleObject
extends PropertySet

Base class for handle-based graphics

See Also:
Serialized Form

Constructor Summary
HandleObject()
           
HandleObject(int handle)
           
 
Method Summary
 void addProperty(Property p)
           
protected  void finalize()
           
 java.lang.Object get(java.lang.String name)
           
 int getHandle()
           
static HandleObject getHandleObject(int handle)
           
 Property getProperty(java.lang.String name)
           
static void removeHandleObject(int handle)
           
 void set(java.lang.String name, java.lang.Object value)
           
 void show(Interpreter interpreter)
           
 
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
 

Constructor Detail

HandleObject

public HandleObject()

HandleObject

public HandleObject(int handle)
Method Detail

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

getHandle

public int getHandle()

getHandleObject

public static HandleObject getHandleObject(int handle)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

removeHandleObject

public static void removeHandleObject(int handle)

addProperty

public void addProperty(Property p)
Overrides:
addProperty in class PropertySet

getProperty

public Property getProperty(java.lang.String name)
Overrides:
getProperty in class PropertySet

get

public java.lang.Object get(java.lang.String name)
Overrides:
get in class PropertySet

set

public void set(java.lang.String name,
                java.lang.Object value)
Overrides:
set in class PropertySet

show

public void show(Interpreter interpreter)