public interface DataContainer
DataContainer is a class that is able to provide a specific ContainerLayout for a node.| Modifier and Type | Method and Description |
|---|---|
ContainerLayout |
createEmptyLayout()
Create a new Layout for this container.
|
NodeData |
getData()
Get the
NodeData associated with this Container |
DataSet |
getDataSet()
Get the source Dataset this Container was build from.
|
Rectangle |
getMinimalSize()
A container should provide information on its size
This dimension is assumed to simultaneously represent the number of items (i.e.
|
Dimension |
getPreferredSize(Dimension availablearea,
IMAGENODEPROPERTIES.LayoutStyle style)
|
Rectangle getMinimalSize()
DataSet getDataSet()
Dimension getPreferredSize(Dimension availablearea, IMAGENODEPROPERTIES.LayoutStyle style)
Rectangle width must be smaller or equal to the provided Rectangle. The same applies to
its height.availablearea - The area available to generate the layoutstyle - the localisation (either CENTER or EDGE).NodeData getData()
NodeData associated with this ContainerNodeData for this containerContainerLayout createEmptyLayout()
ContainerLayoutCopyright © 2018. All rights reserved.