net.sourceforge.webcompmath.awt.beans
Class WCMTieBean

java.lang.Object
  extended by net.sourceforge.webcompmath.awt.Tie
      extended by net.sourceforge.webcompmath.awt.beans.WCMTieBean

public class WCMTieBean
extends Tie

This bean extends Tie to make it useable with GUI builders. Since most GUI builders don't understand "add" semantics for anything other than Containers and Components, we use a hack here to provide 3 set methods. If you need to tie more than three things together (which is unusual), then you will need to do some hand-coding.

Author:
Tom Downey

Field Summary
 
Fields inherited from class net.sourceforge.webcompmath.awt.Tie
items
 
Constructor Summary
WCMTieBean()
          The default constructor
 
Method Summary
 void setTieable1(Tieable t)
          Set method to add a tieable to a tie
 void setTieable2(Tieable t)
          Set method to add a tieable to a tie
 void setTieable3(Tieable t)
          Set method to add a tieable to a tie
 
Methods inherited from class net.sourceforge.webcompmath.awt.Tie
add, check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WCMTieBean

public WCMTieBean()
The default constructor

Method Detail

setTieable1

public void setTieable1(Tieable t)
Set method to add a tieable to a tie

Parameters:
t - the tieable to add

setTieable2

public void setTieable2(Tieable t)
Set method to add a tieable to a tie

Parameters:
t - the tieable to add

setTieable3

public void setTieable3(Tieable t)
Set method to add a tieable to a tie

Parameters:
t - the tieable to add