Class SimpleAttribute
java.lang.Object
|
+--ERComponent
|
+--Attribute
|
+--SimpleAttribute
- All Implemented Interfaces:
- java.io.Serializable
- public class SimpleAttribute
- extends Attribute
- See Also:
- Serialized Form
Fields inherited from class Attribute |
card, cardWidth, init, LEFT_SIDE, LINE_LENGTH, lineToX, lineToY, parent, primary, rad, RIGHT_SIDE, side, SPACE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAttribute
public SimpleAttribute(java.lang.String name,
double rad,
ERPaintArea container,
ERComponent parent)
setOrientation
public void setOrientation(double rad)
- Overrides:
setOrientation
in class Attribute
setXY
public void setXY(int x,
int y)
- Overrides:
setXY
in class ERComponent
change
public void change()
- Overrides:
change
in class Attribute
setTextSide
public void setTextSide(int textSide)
- Overrides:
setTextSide
in class Attribute
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in class ERComponent
addAttribute
public void addAttribute(Attribute a)
- Overrides:
addAttribute
in class ERComponent
removeAttribute
public void removeAttribute(Attribute a)
- Overrides:
removeAttribute
in class ERComponent