org.kite9.diagram.primitives
Interface Container

All Superinterfaces:
Comparable<DiagramElement>, Connected, DiagramElement, IdentifiableDiagramElement
All Known Implementing Classes:
AbstractConnectedContainer, Context, Diagram

public interface Container
extends IdentifiableDiagramElement, Connected

Interface to say that this diagram element contains others rendered within it.

Author:
robmoffat
See Also:
Leaf

Method Summary
 List<Contained> getContents()
           
 Label getLabel()
           
 Layout getLayoutDirection()
          Returns the order in which contents of the container should be laid out, or null if there is no canonical ordering.
 RouteRenderingInformation getRenderingInformation()
           
 boolean isBordered()
           
 void setLabel(Label l)
           
 void setLayoutDirection(Layout d)
           
 
Methods inherited from interface org.kite9.diagram.primitives.Connected
addLink, getConnectionTo, getLinks, isConnectedDirectlyTo, removeLink
 
Methods inherited from interface org.kite9.diagram.primitives.IdentifiableDiagramElement
getID, setID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getContents

List<Contained> getContents()

getLayoutDirection

Layout getLayoutDirection()
Returns the order in which contents of the container should be laid out, or null if there is no canonical ordering.


setLayoutDirection

void setLayoutDirection(Layout d)

getLabel

Label getLabel()

setLabel

void setLabel(Label l)

getRenderingInformation

RouteRenderingInformation getRenderingInformation()
Specified by:
getRenderingInformation in interface DiagramElement

isBordered

boolean isBordered()


Copyright © 2011. All Rights Reserved.