more information on the "int context."

Where can I find more information on the 'context', as used in:

protected void fieldChangeNotify(int context)

Rather than simply calling updateLayout (), I do this:

 protected void fieldChangeNotify(int context) {
        super.fieldChangeNotify( context );
        this.updateLayout( );
    }

and want to call it when I make changes to the State of my custom field, but I'm not sure that I've really should I send in context.

FieldChangeListener.PROGRAMMATIC should be passed if a field has been updated programmatically.  Other context values vary according to the type of field you are using.  For example, ChoiceField.CONTEXT_CHANGE_OPTION is used by the ChoiceField class when the update is triggered against a rejection of dialogue change option.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Is - this iPad Pro WiFi + cell comes with an international warranty?

    I intend to buy iPad Pro WiFi + cell model. Can someone confirm if apple provides international coverage for iPad? (Example: bought from the United States and called for the guarantee in India vice versa)

  • TV not reconised

    My I touch 2 does not reconise my TV since I've updated to 9.3 any ideas to fix this.

  • Question about laptop charger

    Dear customers of toshiba, and Toshiba I bought a Toshiba Satellite S2400 in the past. My father is currently using a Toshiba Qosmio laptop F10. My laptop charger is defective and is currently not available to use. My question is: is it possible to u

  • Problems with WRT610N v2 + WAG54GS v1.0 of port forwarding

    Background: I have a WAG54GS v1.0 (Appendix A) that I use to manage my home network and my ADSL connection. I bought a WRT610N v2 (which I will refer to as the router) with the intention that he would replace the functions of networking of the WAG54G

  • MacBook Pro: Re-install on Mac

    Hello - I uses an Officejet G510g on plu Macbook running Tiger (OS X.4). I'm going to have a new Macbook Pro running El Capitan (OS X 10.11) and need to know if I should re - installed my Officejet installation disk and instructions provided with the