public class ContainerElement extends Object
Constructor and Description |
---|
ContainerElement()
Creates a new empty ContainerElement.
|
ContainerElement(Object object)
Creates a ContainerElement with the specified object.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the object contained within this ContainerElement.
|
Object |
getParent()
Returns the parent of the contained object.
|
void |
setObject(Object object)
Sets the object that is contained within this ContainerElement.
|
void |
setParent(Object parent)
Sets the parent of the contained object.
|
public ContainerElement()
public ContainerElement(Object object)
object
- the Object to setpublic Object getObject()
public Object getParent()
public void setObject(Object object)
object
- the Object to setpublic void setParent(Object parent)
parent
- the parent of the contained objectCopyright © 2017. All rights reserved.