home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Java AWT

Previous Chapter 23 Next
 

23. java.awt.peer Reference

ButtonPeer

Name

ButtonPeer

[Graphic: Figure from the text]

Description

ButtonPeer is an interface that defines the basis for buttons.

Interface Definition

public abstract interface java.awt.peer.ButtonPeer
extends java.awt.peer.ComponentPeer {
  // Interface Methods
  public abstract void setLabel (String label);
}

Interface Methods

setLabel

public abstract void setLabel (String label)

Parameters

label

New text for label of button's peer.

Description

Changes the text of the label of button's peer.

See Also

ComponentPeer, String


Previous Home   Next
WindowPeer Book Index   CanvasPeer

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java










??????????????@Mail.ru