gnu.kawa.models

Class Label

Implemented Interfaces:
java.io.Serializable, Viewable

public class Label
extends Model
implements Viewable, java.io.Serializable

A "label" may have some text and/or an icon. It probably should be a combination of text and image.
See Also:
Serialized Form

Constructor Summary

Label()
Label(String text)

Method Summary

String
getText()
void
makeView(Display display, Object where)
void
setText(String text)

Methods inherited from class gnu.kawa.models.Model

addListener, addListener, notifyListeners

Constructor Details

Label

public Label()

Label

public Label(String text)

Method Details

getText

public String getText()

makeView

public void makeView(Display display,
                     Object where)
Specified by:
makeView in interface Viewable

setText

public void setText(String text)