gnu.kawa.swingviews

Class SwingButton

public class SwingButton extends JButton implements ModelListener

Constructor Summary
SwingButton(Button model)
Method Summary
voidmodelUpdated(Model model, Object key)
voidsetBackground(Color bg)
voidsetForeground(Color fg)
voidsetText(String text)

Constructor Detail

SwingButton

public SwingButton(Button model)

Method Detail

modelUpdated

public void modelUpdated(Model model, Object key)

setBackground

public void setBackground(Color bg)

setForeground

public void setForeground(Color fg)

setText

public void setText(String text)