-
Book Overview & Buying
-
Table Of Contents
Backbase 4 RIA Development
Action and menu widgets allow users to interact with a web application using elements that match the overall style of the application. Something happens when you click on an action or menu widget. Usually, you will wrap the functionality that you want performed when the user clicks on the widget in a click event handler.
The BTL button widget represents generic button functionality. When the user clicks on the button, an action is performed. You must implement the action in an event handler. Here's a screenshot showing the button widget:

button inherits from focusableElement, containerElement, dimensionElement, and positionElement. button does not have local attributes or methods.
Look back to Chapter 2 to see the inheritance structure of the BTL widgets and the attributes that are supported by the parent classes of button.
The button is enabled by default. Set the disabled attribute to true to make the button disabled. The following example has an Enabled...
Change the font size
Change margin width
Change background colour