Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: ArrayTable [javadoc | source]
java.lang.Object
   javax.swing.ArrayTable

All Implemented Interfaces:
    Cloneable

Method from javax.swing.ArrayTable Summary:
clear,   clone,   containsKey,   get,   getKeys,   put,   remove,   size,   writeArrayTable
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.ArrayTable Detail:
 public  void clear() 
    Removes all the mappings.
 public Object clone() 
 public boolean containsKey(Object key) 
 public Object get(Object key) 
 public Object[] getKeys(Object[] keys) 
    Returns the keys of the table, or null if there are currently no bindings.
 public  void put(Object key,
    Object value) 
 public Object remove(Object key) 
 public int size() 
 static  void writeArrayTable(ObjectOutputStream s,
    ArrayTable table) throws IOException 
    Writes the passed in ArrayTable to the passed in ObjectOutputStream. The data is saved as an integer indicating how many key/value pairs are being archived, followed by the the key/value pairs. If table is null, 0 will be written to s.

    This is a convenience method that ActionMap/InputMap and AbstractAction use to avoid having the same code in each class.