Class Connection
java.lang.Object
|
+--ERComponent
|
+--Connection
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MultipleConnection
- public class Connection
- extends ERComponent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
multiple
public boolean multiple
Connection
public Connection()
Connection
public Connection(java.lang.String name,
java.lang.String card,
java.awt.Font font,
ERPaintArea container,
ERComponent comp1,
ERComponent comp2)
setComp
public void setComp(ERComponent c1,
ERComponent c2)
setCard
public void setCard(java.lang.String min,
java.lang.String max)
change
public void change()
- Overrides:
change
in class ERComponent
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in class ERComponent
getCoord
public java.awt.Point getCoord(int x,
int y)
- Overrides:
getCoord
in class ERComponent
setArrow
public void setArrow()
changeTextSide
public void changeTextSide()
setTextSide
public void setTextSide(int textSide)
removeAttribute
public void removeAttribute(Attribute a)
- Overrides:
removeAttribute
in class ERComponent
delete
public void delete()
- Overrides:
delete
in class ERComponent