templates.diagram
Class EntityLayout

java.lang.Object
  extended by templates.diagram.EntityLayout

public class EntityLayout
extends java.lang.Object

Encapsulation of the layout information for the graphical representation of TemplateComponents.

Author:
Lenko Grigorov

Field Summary
 java.awt.Color color
          The background color of the icon.
 java.lang.String label
          The label.
 java.awt.Point location
          The center point of the icon.
 java.lang.String tag
          The text inside the icon.
 
Constructor Summary
EntityLayout()
          Construct an entity layout.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public java.awt.Point location
The center point of the icon.


label

public java.lang.String label
The label.


color

public java.awt.Color color
The background color of the icon.


tag

public java.lang.String tag
The text inside the icon.

Constructor Detail

EntityLayout

public EntityLayout()
Construct an entity layout. All attributes get default values.