Package gnu.kawa.swingviews
Class SwingDisplay
- java.lang.Object
-
- gnu.kawa.models.Display
-
- gnu.kawa.swingviews.SwingDisplay
-
public class SwingDisplay extends Display
-
-
Constructor Summary
Constructors Constructor Description SwingDisplay()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
asDimension
-
-
-
-
Method Detail
-
getInstance
public static Display getInstance()
-
makeWindow
public Window makeWindow()
- Specified by:
makeWindow
in classDisplay
-
makeActionListener
public static ActionListener makeActionListener(Object command)
-
coerceToModel
public Model coerceToModel(Object component)
- Overrides:
coerceToModel
in classDisplay
-
-