Class Attribute
java.lang.Object
|
+--ERComponent
|
+--Attribute
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CompAttribute, ForeignAttribute, SimpleAttribute
- public abstract class Attribute
- extends ERComponent
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT_SIDE
protected static int LEFT_SIDE
RIGHT_SIDE
protected static int RIGHT_SIDE
LINE_LENGTH
protected static int LINE_LENGTH
SPACE
protected static int SPACE
lineToX
protected int lineToX
lineToY
protected int lineToY
rad
protected double rad
parent
protected ERComponent parent
card
protected java.lang.String card
cardWidth
protected int cardWidth
side
protected int side
primary
protected boolean primary
init
protected boolean init
Attribute
protected Attribute(java.lang.String name,
double rad,
ERPaintArea container,
ERComponent parent)
getCoord
public java.awt.Point getCoord(int x,
int y)
- Overrides:
getCoord
in class ERComponent
change
public abstract void change()
- Overrides:
change
in class ERComponent
setTextSide
public abstract void setTextSide(int textSide)
delete
public void delete()
- Overrides:
delete
in class ERComponent
translateAll
public void translateAll(int x,
int y)
translateAttr
public void translateAttr(int x,
int y)
translate
public void translate(int x,
int y)
- Overrides:
translate
in class ERComponent
setCard
public void setCard(java.lang.String min,
java.lang.String max)
setOrientation
public abstract void setOrientation(double rad)
getOrientation
public double getOrientation()
isPrimary
public boolean isPrimary()
setPrimary
public void setPrimary(boolean b)