org.kite9.diagram.primitives
Class AbstractConnectedContainer

java.lang.Object
  extended by org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
      extended by org.kite9.diagram.primitives.AbstractConnectedContained
          extended by org.kite9.diagram.primitives.AbstractConnectedContainer
All Implemented Interfaces:
Comparable<DiagramElement>, Connected, Contained, Container, DiagramElement, IdentifiableDiagramElement
Direct Known Subclasses:
Context, Diagram

public abstract class AbstractConnectedContainer
extends AbstractConnectedContained
implements Container


Field Summary
protected  Label label
           
 
Fields inherited from class org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
renderingInformation
 
Constructor Summary
AbstractConnectedContainer()
           
AbstractConnectedContainer(String id, List<Contained> contents, Layout d, Label label)
           
 
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()
           
 void setLabel(Label label)
           
 void setLayoutDirection(Layout layout)
           
 
Methods inherited from class org.kite9.diagram.primitives.AbstractConnectedContained
addLink, getConnectionTo, getContainer, getLinks, isConnectedDirectlyTo, removeLink, setContainer
 
Methods inherited from class org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
compareTo, createID, getID, hashCode, resetCounter, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kite9.diagram.primitives.Container
isBordered
 
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
 

Field Detail

label

@XStreamAsAttribute
protected Label label
Constructor Detail

AbstractConnectedContainer

public AbstractConnectedContainer()

AbstractConnectedContainer

public AbstractConnectedContainer(String id,
                                  List<Contained> contents,
                                  Layout d,
                                  Label label)
Method Detail

getLabel

public Label getLabel()
Specified by:
getLabel in interface Container

getRenderingInformation

public RouteRenderingInformation getRenderingInformation()
Specified by:
getRenderingInformation in interface Container
Specified by:
getRenderingInformation in interface DiagramElement

getContents

public List<Contained> getContents()
Specified by:
getContents in interface Container

getLayoutDirection

public Layout getLayoutDirection()
Description copied from interface: Container
Returns the order in which contents of the container should be laid out, or null if there is no canonical ordering.

Specified by:
getLayoutDirection in interface Container

setLayoutDirection

public void setLayoutDirection(Layout layout)
Specified by:
setLayoutDirection in interface Container

setLabel

public void setLabel(Label label)
Specified by:
setLabel in interface Container


Copyright © 2011. All Rights Reserved.