Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

KButton Class Reference

Native widget to implement push buttons, radio buttons and check boxen. More...

Class diagram for KButton:

KWnd

List of all members.


Public Members

 KButton ( BView * parent, char* lbl, int style)
BControl* NATIVE ()
Access to widget's view.

bool OnCommand ( int cmd)
bool OnFocusChange ( bool gain)
bool OnMouseUp ( int btn, int x, int y)
void setEnabled ( jboolean en)
ONLY SUBCLASSES OF KWnd IMPLEMENT THIS.

void setCheck ( jboolean check)
bool getCheck ()
void setText (jstring text)
There is no generic BView method to set the object text, ONLY SUBCLASSES OF KWnd IMPLEMENT THIS.

void setGrouped ( jboolean grouped)
bool blockCmd
int fStyle

Detailed Description

Native widget to implement push buttons, radio buttons and check boxen.


Member Function Documentation

KButton::KButton (BView * parent, char * lbl, int style) [inline]

BControl * KButton::NATIVE () [inline]

Access to widget's view.

bool KButton::OnCommand (int cmd) [inline, virtual]

Reimplemented from KWnd.

bool KButton::OnFocusChange (bool gain) [inline, virtual]

Reimplemented from KWnd.

bool KButton::OnMouseUp (int btn, int x, int y) [inline, virtual]

Reimplemented from KWnd.

void KButton::setEnabled (jboolean en) [inline, virtual]

ONLY SUBCLASSES OF KWnd IMPLEMENT THIS.

Reimplemented from KWnd.

void KButton::setCheck (jboolean check) [inline]

bool KButton::getCheck () [inline]

void KButton::setText (jstring text) [inline, virtual]

There is no generic BView method to set the object text, ONLY SUBCLASSES OF KWnd IMPLEMENT THIS.

Reimplemented from KWnd.

void KButton::setGrouped (jboolean grouped) [inline]


Member Data Documentation

bool KButton::blockCmd

int KButton::fStyle


The documentation for this class was generated from the following file:
Generated at Sat Jun 10 12:37:09 2000 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999