Class Entity
java.lang.Object
|
+--ERComponent
|
+--Entity
- All Implemented Interfaces:
- java.io.Serializable
- public class Entity
- extends ERComponent
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Entity(java.lang.String name,
java.awt.Font font,
ERPaintArea container)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Entity
public Entity(java.lang.String name,
java.awt.Font font,
ERPaintArea container)
addAttribute
public void addAttribute(Attribute a)
- Overrides:
addAttribute
in class ERComponent
addUpAttr
public void addUpAttr(Attribute a)
addDownAttr
public void addDownAttr(Attribute a)
addLeftAttr
public void addLeftAttr(Attribute a)
addRightAttr
public void addRightAttr(Attribute a)
removeAttribute
public void removeAttribute(Attribute a)
- Overrides:
removeAttribute
in class ERComponent
change
public void change()
- Overrides:
change
in class ERComponent
getCoord
public java.awt.Point getCoord(int x,
int y)
- Overrides:
getCoord
in class ERComponent
setXY
public void setXY(int x,
int y)
- Overrides:
setXY
in class ERComponent
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in class ERComponent
delete
public void delete()
- Overrides:
delete
in class ERComponent