org.sapia.gumby
Interface Scope

All Known Implementing Classes:
MapScope, View

public interface Scope

A scope is a simple associative datastructure that is kept within a GuiEnv instance, under a given name.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2005 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
GuiEnv

Method Summary
 Object get(String name)
           
 void put(String name, Object o)
           
 

Method Detail

put

public void put(String name,
                Object o)
Parameters:
name - the name under which to keep the object.
o - an Object.

get

public Object get(String name)
Parameters:
name - the name of the object to retrieve.
Returns:
the Object corresponding to the given name, or null if no such object exists.


Copyright © 2002 Sapia Open Community, Inc. All Rights Reserved.