Methods for the TitleBar Object
The following describes the methods that are available for the TitleBar object. The getButton() method is useful for the rare cases where preconfigured button IDs are not unique.
Method Name | Return Type | Description | Sample Code |
---|---|---|---|
getButton (buttonId) |
Button |
Gets a Button instance with a given button ID within a TitleBar instance. In most cases, this method works in the same way as the oraclecrmod.getButton() method, and sometimes the oraclecrmod.getButton() method is simpler because you do not have to get a reference to the TitleBar. The only difference is that if there are two buttons that share the same ID, then the oraclecrmod.getButton() method cannot return both buttons. In this case, you can get the TitleBar instance first, then get the Button instance within that TitleBar. Buttons should not have the same ID. |
|