All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.container.ContainerAdapter

java.lang.Object
   |
   +----semper.txlayer.container.ContainerAdapter

public class ContainerAdapter
extends Object
implements Attributable, Containable, Serializable
This is a class that can plug an arbitrary Object that does not fulfil the interface Containable into a Container.


Variable Index

 o _aset
 o _cont
 o _obj

Constructor Index

 o ContainerAdapter()
The empty constructor.
 o ContainerAdapter(Container, Object)
Constructor with both parties (Container and Object) as parameters.
 o ContainerAdapter(Object)
One side, the object, to plug in.

Method Index

 o addAttribute(Attribute)
Adds an Attribute.
 o checkAttributeSet(AttributeSet)
Check whether the Object can handle the AttributeSet.
 o deleteAttribute(Attribute)
Deletes an Attribute.
 o getAttributeSet()
 o registerContainer(Container)
 o toString()

Variables

 o _cont
 protected Container _cont
 o _obj
 protected Object _obj
 o _aset
 protected AttributeSet _aset

Constructors

 o ContainerAdapter
 public ContainerAdapter()
The empty constructor.

 o ContainerAdapter
 public ContainerAdapter(Container cr,
                         Object o)
Constructor with both parties (Container and Object) as parameters. Perhaps there is need. Or not?

 o ContainerAdapter
 public ContainerAdapter(Object o)
One side, the object, to plug in.

Methods

 o getAttributeSet
 public AttributeSet getAttributeSet()
Returns:
The contained AttributeSet.
 o checkAttributeSet
 public boolean checkAttributeSet(AttributeSet a)
Check whether the Object can handle the AttributeSet. Not really implemented!

Parameters:
a - The AttributeSet to check for.
Returns:
Always true. Should change.
 o addAttribute
 public void addAttribute(Attribute a)
Adds an Attribute. Does nothing.

Parameters:
a - The Attribute to add.
 o deleteAttribute
 public void deleteAttribute(Attribute a)
Deletes an Attribute. Does nothing.

Parameters:
a - The Attribute to delete.
 o registerContainer
 public boolean registerContainer(Container c)
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index