net.ponder2
Class HashInspector

java.lang.Object
  extended by net.ponder2.HashInspector
All Implemented Interfaces:
ManagedObject

public class HashInspector
extends java.lang.Object
implements ManagedObject

Creates a window making available for editing the values of a Hash. Understands, strings, numbers and booleans. If objects are in the hash, they will be displayed but will not be editable.

Version:
$Id:$
Author:
Kevin Twidle

Constructor Summary
HashInspector()
          Creates a HashInspector window with the default title of "Hash Inspector"
HashInspector(java.lang.String aString)
          Creates a HashInspector window with the title aString
 
Method Summary
 void manage(P2Object aHash, java.lang.String aName)
          manages aHash using the identifier aName for its display
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashInspector

public HashInspector()
Creates a HashInspector window with the default title of "Hash Inspector"


HashInspector

public HashInspector(java.lang.String aString)
Creates a HashInspector window with the title aString

Parameters:
aString - the title of the window
Method Detail

manage

public void manage(P2Object aHash,
                   java.lang.String aName)
            throws Ponder2ArgumentException,
                   Ponder2OperationException
manages aHash using the identifier aName for its display

Parameters:
aHash - the hash to be displayed
aName - the name to be given in the window for the hash
Throws:
Ponder2ArgumentException
Ponder2OperationException


Copyright © 2008 Imperial College. All Rights Reserved.