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
 
Fields inherited from class ERComponent
bounds, container, font, name, nameHeight, selected, textX, textY, x, y
 
Constructor Summary
SimpleAttribute(java.lang.String name, double rad, ERPaintArea container, ERComponent parent)
           
 
Method Summary
 void addAttribute(Attribute a)
           
 void change()
           
 void paint(java.awt.Graphics g)
           
 void removeAttribute(Attribute a)
           
 void setOrientation(double rad)
           
 void setTextSide(int textSide)
           
 void setXY(int x, int y)
           
 
Methods inherited from class Attribute
delete, getCoord, getOrientation, isPrimary, setCard, setPrimary, translate, translateAll, translateAttr
 
Methods inherited from class ERComponent
getBounds, isSelected, rename, select
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttribute

public SimpleAttribute(java.lang.String name,
                       double rad,
                       ERPaintArea container,
                       ERComponent parent)
Method Detail

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