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 Object
getAction()
Color
getBackground()
Color
getForeground()
String
getText()
boolean
isDisabled()
void
makeView(Display display, Object where)
void
setAction(Object action)
void
setBackground(Color bg)
void
setDisabled(boolean disabled)
void
setForeground(Color fg)
void
setText(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)
-
-