gnu.kawa.models
Class Display
public abstract class Display
extends java.lang.Object
An abstract "display device".
In the AWT/Swing world, this may bundle a GraphicsConfiguration
and a Toolkit.
In the web servlet world, this may correspond to a browser on
on the other end of an http connection.
addBox
public abstract void addBox(Box model,
Object where)
addButton
public abstract void addButton(Button model,
Object where)
addImage
public abstract void addImage(DrawImage model,
Object where)
addLabel
public abstract void addLabel(Label model,
Object where)
addSpacer
public void addSpacer(Spacer model,
Object where)
addText
public void addText(Text model,
Object where)
addView
public abstract void addView(Object view,
Object where)
asDimension
public static Dimension asDimension(Dimension2D dim)
coerceToModel
public Model coerceToModel(Object component)
getInstance
public static Display getInstance()
makeWindow
public abstract Window makeWindow()