Package gnu.kawa.models
Class Button
- java.lang.Object
-
- gnu.kawa.models.Model
-
- gnu.kawa.models.Button
-
-
Constructor Summary
Constructors Constructor Description Button()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAction()ColorgetBackground()ColorgetForeground()StringgetText()booleanisDisabled()voidmakeView(Display display, Object where)voidsetAction(Object action)voidsetBackground(Color bg)voidsetDisabled(boolean disabled)voidsetForeground(Color fg)voidsetText(String text)-
Methods inherited from class gnu.kawa.models.Model
addListener, addListener, notifyListeners
-
-
-
-
Method Detail
-
isDisabled
public boolean isDisabled()
-
setDisabled
public void setDisabled(boolean disabled)
-
getText
public String getText()
-
setText
public void setText(String text)
-
getAction
public Object getAction()
-
setAction
public void setAction(Object action)
-
getForeground
public Color getForeground()
-
setForeground
public void setForeground(Color fg)
-
getBackground
public Color getBackground()
-
setBackground
public void setBackground(Color bg)
-
-