moka.x
Class Button

java.lang.Object
  |
  +--moka.lang.Object
        |
        +--moka.event.EventListener
              |
              +--moka.x.Component
                    |
                    +--moka.x.CaptionedComponent
                          |
                          +--moka.x.Button
All Implemented Interfaces:
Captioned, Styled

public class Button
extends CaptionedComponent
implements Styled

Button class is a push button component.

Since:
MDK1.0a

Field Summary
 
Fields inherited from class moka.x.Component
enabled, height, listen, mnemonic, next, parent, prev, visible, width, x, y
 
Fields inherited from interface moka.x.Styled
style
 
Fields inherited from interface moka.x.Captioned
caption, font
 
Constructor Summary
Button()
           
Button(java.lang.String caption)
           
 
Method Summary
 void paint()
          Paints the button.
 
Methods inherited from class moka.x.CaptionedComponent
finalize
 
Methods inherited from class moka.x.Component
bottom, center, checkMnemonic, clean, eventTriggered, isCursorOver, left, move, onPaint, right, setBounds, setEnabled, setHeight, setMnemonic, setVisible, setWidth, setX, setY, toFront, top, use
 
Methods inherited from class moka.event.EventListener
eventTriggered
 
Methods inherited from class moka.lang.Object
equals, getClassName, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface moka.x.Styled
setStyle
 
Methods inherited from interface moka.x.Captioned
setCaption, setFont
 

Constructor Detail

Button

public Button()

Button

public Button(java.lang.String caption)
Method Detail

paint

public void paint()
Paints the button.

Overrides:
paint in class Component