All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.jcon.core.part.PartUser

public interface PartUser
A class may optionally implement this interface to indicate it wants to use other parts. This is an example of the Object User Pattern.


Method Index

 o getPartNamesNeeded()
Returns an array of the part names this part needs to do its work.
 o setPart(String, Object)
Sets a named part, in response to part needs.

Methods

 o getPartNamesNeeded
 public abstract String[] getPartNamesNeeded()
Returns an array of the part names this part needs to do its work.

Returns:
the names of the parts needed.
 o setPart
 public abstract void setPart(String name,
                              Object part)
Sets a named part, in response to part needs.

Parameters:
name - the name of the needed part.
part - the needed part.

All Packages  Class Hierarchy  This Package  Previous  Next  Index