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.
|