package bluej.debugmgr.objectbench;
import bluej.debugger.DebuggerObject;
import bluej.debugger.gentype.GenTypeClass;
import threadchecker.OnThread;
import threadchecker.Tag;
| An interface for listening for object selection events.
|
| @author Davin McCall
|
@OnThread(Tag.FXPlatform)
public interface ObjectBenchInterface
{
| Add a listener for events on this object bench.
| @param l The listener to add
|
public void addObjectBenchListener(ObjectBenchListener l);
| Remove a listener so that it no longer receives events.
| @param l The listener to remove
|
public void removeObjectBenchListener(ObjectBenchListener l);
| Check whether the bench contains an object with name 'name'.
|
| @param name The name to check for.
|
public boolean hasObject(String name);
| Add an object to the bench with the specified name and type.
|
| @param object The object to add to the bench.
| @param type The type of the object.
| @param name The desired name of the object as it should appear on the bench.
|
| @return The name actually used (may not match desired name in case of clash).
|
public String addObject(DebuggerObject object, GenTypeClass type, String name);
}
top,
use,
map,
interface ObjectBenchInterface
. addObjectBenchListener
. removeObjectBenchListener
. hasObject
. addObject
27 neLoCode
+ 13 LoComm