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.
-
_aset
-
-
_cont
-
-
_obj
-
-
ContainerAdapter()
- The empty constructor.
-
ContainerAdapter(Container, Object)
- Constructor with both parties (Container and Object)
as parameters.
-
ContainerAdapter(Object)
- One side, the object, to plug in.
-
addAttribute(Attribute)
- Adds an Attribute.
-
checkAttributeSet(AttributeSet)
- Check whether the Object can handle the AttributeSet.
-
deleteAttribute(Attribute)
- Deletes an Attribute.
-
getAttributeSet()
-
-
registerContainer(Container)
-
-
toString()
-
_cont
protected Container _cont
_obj
protected Object _obj
_aset
protected AttributeSet _aset
ContainerAdapter
public ContainerAdapter()
- The empty constructor.
ContainerAdapter
public ContainerAdapter(Container cr,
Object o)
- Constructor with both parties (Container and Object)
as parameters.
Perhaps there is need. Or not?
ContainerAdapter
public ContainerAdapter(Object o)
- One side, the object, to plug in.
getAttributeSet
public AttributeSet getAttributeSet()
- Returns:
- The contained AttributeSet.
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.
addAttribute
public void addAttribute(Attribute a)
- Adds an Attribute. Does nothing.
- Parameters:
- a - The Attribute to add.
deleteAttribute
public void deleteAttribute(Attribute a)
- Deletes an Attribute. Does nothing.
- Parameters:
- a - The Attribute to delete.
registerContainer
public boolean registerContainer(Container c)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index