[Image] EchoPoint
Helping you build truly dynamic and stateful web applications!

PushButton   Click here for complete JavaDoc

The PushButton component is an extension of the base Button class that provides real button like functionality rather than just, what would be termed in HTML parlance, anchor links.

It can contain images and text, just like Buttons .  It too can have an action command string associated with it.  Any registered ActionListener will be informed when the user pushs the button.

The PushButton can be made to look like its base class Button.  Simply call  setComplexRendering(false) and the PushButton will  render itself like a normal Echo Button.





btn = new PushButton(img);
btn.setActionCommand("Just An Image");

Client Browser Support :

All clients supported by the Echo Framework that support the BUTTON HTML tag..


SourceForge Logo

The EchoPoint project is kindly hosted by SourceForge