org.omegahat.Graphics.Primitives
Interface SimpleGraphicalContainerInt
- All Known Subinterfaces:
- GraphicalContainerInt, GuiOutputDeviceInt, OutputDevice
- public interface SimpleGraphicalContainerInt
A basic interface defining a container used as the parent
of GraphicalComponentInts
which is used as the basis for
GraphicaContainerInt
and implemented by OutputDevice
to allow it to be used as a parent of an arbitrary component.
This allows us to implement the iterative
getDevice()
by looking at successive ancestors.
parent
public SimpleGraphicalContainerInt parent()
- Get the parent of this container.
parent
public SimpleGraphicalContainerInt parent(SimpleGraphicalContainerInt p)
- Set the parent of this container.