Полезная информация

Java AWT

Previous Chapter 23 Next
 

23. java.awt.peer Reference

Contents:

Select a section...

..then directly to it.

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 Library Home  
WindowPeer Book Index