gnu.kawa.swingviews

Class SwingButton

Implemented Interfaces:
ModelListener

public class SwingButton
extends JButton
implements ModelListener

Constructor Summary

SwingButton(Button model)

Method Summary

void
modelUpdated(Model model, Object key)
void
setBackground(Color bg)
void
setForeground(Color fg)
void
setText(String text)

Constructor Details

SwingButton

public SwingButton(Button model)

Method Details

modelUpdated

public void modelUpdated(Model model,
                         Object key)
Specified by:
modelUpdated in interface ModelListener

setBackground

public void setBackground(Color bg)

setForeground

public void setForeground(Color fg)

setText

public void setText(String text)