DhButtonBase Class

DhButtonBase Class

This Package | All Packages

DhElement
  |
  +--DhButtonBase
public abstract class DhButtonBase
extends DhElement

Represents the base class for all buttons.

Methods
Name Description
createEvents() Topic under construction.
getName( ) Retrieves the button's name.
getText( ) Retrieves the button label.
hasDefaultText() Topic under construction.
setFocus() Sets the input focus to this control.
setName( String n ) Sets the buttons's name.
setText( String t ) Sets the button label.

Methods

DhButtonBase.createEvents

Syntax
protected DhEvents createEvents();
Description

Topic under construction.

DhButtonBase.getName

Syntax
public String getName( );
Description

Retrieves the button's name.

DhButtonBase.getText

Syntax
public String getText( );
Description

Retrieves the button label.

DhButtonBase.hasDefaultText

Syntax
public boolean hasDefaultText();
Description

Topic under construction.

DhButtonBase.setFocus

Syntax
public void setFocus();
Description

Sets the input focus to this control.

DhButtonBase.setName

Syntax
public void setName( String n );
Parameters
n
The new button name.
Description

Sets the buttons's name.

DhButtonBase.setText

Syntax
public void setText( String t );
Parameters
t
The new button label.
Description

Sets the button label.