Class ForeignAttribute
java.lang.Object
|
+--ERComponent
|
+--Attribute
|
+--ForeignAttribute
- All Implemented Interfaces:
- java.io.Serializable
- public class ForeignAttribute
- extends Attribute
- See Also:
- Serialized Form
Fields inherited from class Attribute |
card, cardWidth, init, LEFT_SIDE, 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 |
LINE_LENGTH
protected static int LINE_LENGTH
ForeignAttribute
public ForeignAttribute(java.lang.String s,
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
getCoord
public java.awt.Point getCoord(int x,
int y)
- Overrides:
getCoord
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