gnu.kawa.swingviews

Class SwingDisplay


public class SwingDisplay
extends Display

Field Summary

Fields inherited from class gnu.kawa.models.Display

myDisplay

Method Summary

void
addBox(Box model, Object where)
void
addButton(Button model, Object where)
void
addImage(DrawImage model, Object where)
void
addLabel(Label model, Object where)
void
addSpacer(Spacer model, Object where)
void
addText(Text model, Object where)
void
addView(Object view, Object where)
Model
coerceToModel(Object component)
static Display
getInstance()
static ActionListener
makeActionListener(Object command)
Window
makeWindow()

Methods inherited from class gnu.kawa.models.Display

addBox, addButton, addImage, addLabel, addSpacer, addText, addView, asDimension, coerceToModel, getInstance, makeWindow

Method Details

addBox

public void addBox(Box model,
                   Object where)
Overrides:
addBox in interface Display

addButton

public void addButton(Button model,
                      Object where)
Overrides:
addButton in interface Display

addImage

public void addImage(DrawImage model,
                     Object where)
Overrides:
addImage in interface Display

addLabel

public void addLabel(Label model,
                     Object where)
Overrides:
addLabel in interface Display

addSpacer

public void addSpacer(Spacer model,
                      Object where)
Overrides:
addSpacer in interface Display

addText

public void addText(Text model,
                    Object where)
Overrides:
addText in interface Display

addView

public void addView(Object view,
                    Object where)
Overrides:
addView in interface Display

coerceToModel

public Model coerceToModel(Object component)
Overrides:
coerceToModel in interface Display

getInstance

public static Display getInstance()
Overrides:
getInstance in interface Display

makeActionListener

public static ActionListener makeActionListener(Object command)

makeWindow

public Window makeWindow()
Overrides:
makeWindow in interface Display