How to interact the display within a custom list object?

Hi all

I implemented a custom using the cellrender class list

=================================

Label1                                               = ======

= Picture =

Lable2                                               =======

=================================

=================================

Label1                                               = ======

= Picture =

Lable2                                               =======

=================================

Shown abouve is my list, I need to listen to clicking in this image. How to make...

Help, please

Thank you

George dembele

In your renderer, in the service of replacement data, set the listener here:

deleteIcon.addEventListener ("click", value.callback);

Not sure why in this function you set only the part of the data in your data object. I suppose that you are unwilling to extend the reminder.

Tags: BlackBerry Developers

Similar Questions

  • Not able to see the fields within a custom resources optimization

    Hi all

    I am not able to see the fields within a custom value.

    Here is my code for the custom resource optimization:

    public class CustomContentContainer extends VerticalFieldManager{
    
        String content_header;
        int container_height;
        int displayWidth = Display.getWidth();
        int displayHeight = Display.getHeight();
    
        public CustomContentContainer(String content_header,int height){
            super(Manager.NO_VERTICAL_SCROLL | Manager.NO_HORIZONTAL_SCROLL);
            this.content_header = content_header;
            container_height = displayHeight-height;
        }
    
        protected void sublayout(int maxWidth, int maxHeight) {
            super.sublayout(maxWidth, container_height);
            setExtent(maxWidth,container_height);
        };
    
        protected void paint(Graphics graphics)
        {
            int X_POS = 20;
            int Y_POS = 20;
    
            int width = displayWidth;
            int height=container_height;
            int[] xPts = {0, width, width, 0};
            int[] yPts = {0, 0, height, height};
            int[] colors = { 0xffffff, 0xf7f7f6, 0xd4d0cc, 0xb0a9a2 };
            graphics.drawShadedFilledPath(xPts, yPts, null, colors, null);
    
            graphics.setColor(0xc0c0c0);
            graphics.drawRoundRect(X_POS, Y_POS, getWidth()-40, container_height-40, 10,10);
    
            int stringWidth = getFont().getAdvance(content_header);
            graphics.setColor(0xF8F8F8);
    
            graphics.fillRect(35, 5, stringWidth+10, 30);
    
            graphics.setColor(0xFF0000);
            graphics.drawText(content_header, 40, 5);
        };
    
    }
    

    Here is the Code inside the class from the main screen

    settingsContainer = new CustomContentContainer("Settings",vodavaultLogo.getHeight());
            contentContainer = new VerticalFieldManager(Manager.VERTICAL_SCROLL|USE_ALL_WIDTH);
    
            passwd1 = new CustomEditField();
            passwd2 = new CustomEditField();
            contentContainer.add(passwd1);
            contentContainer.add(passwd2);
            contentContainer.setMargin(35,35,35,35);
    
            mainContainer.add(vodavaultLogoField);
            settingsContainer.add(contentContainer);
            mainContainer.add(settingsContainer);
            add(mainContainer);
    

    You must call the super.paint (.) in your paint (...) optimization of resources, if you paint all areas which are added.

  • How to choose the display by default when you use two screens on my Mac Pro?

    How to choose the display by default when you use two screens on my Mac Pro?

    The default view when you have several is made that you drag the little icon in the menu bar in this pane:

    .

  • Satellite 1900-101 - How to adjust the display?

    I have a type of laptop Toshiba 1900-101 and have been very satisfied since I bought it 3 years ago.
    One thing I fear is, that I could 'break' the socket plastic of the screen, since I have to use force to open / close.

    Could someone tell me how to adjust the display in order to move much smoother, which screws I need to loosen, whatever...

    Thanks for your help

    Jens

    Hello Jens

    Unfortunately, there is nothing to see. The construction of screen carrier doesn't leave something like that. As far as I know the carrier is molded plastic. I'm sorry.

  • Satellite L10-209 - how to install the display driver for Windows 7?

    I formatted my * Satellite L10-209 * and * Windows 7 *. All the drivers installed fine but the * video card *: xD

    How to install the display driver (graphics card)?
    Tools & Utilities CD does not work with Win7,

    Hello

    I m wondering that you have installed Windows 7 on this good old classic. In my opinion Windows XP would be the best choice, but ok, you can do what you want ;)

    Anyway, AFAIK your laptop is equipped with an Intel graphics card then I recommend to download the driver form Intel directly because the Web from Toshiba site displays only the Windows XP display drivers.
    http://www.Intel.com

    Check this box!

  • How to disable the display of paper on Yoga?

    No matter what the settings are used in environments of Lenovo, my screen goes yellow piss after start upward. So, I have to manually change it back to normal. How to disable the display of this paper?

    Solved this problem. I just uninstall and then reinstalled parameters of lenovo. Now the screen keeps shcheme of appropriate color.

  • How to adjust the display light on my aspire vn7 - 791 g

    How to adjust the display light on my aspire vn7 - 791 g? It's the bright way for my use.

    Thank you

    Press the Fn + left or right arrow keys

    to adjust brightness

  • How to change the display language in Windows 7?

    Original title: System and Maintenance

    How can I change the display language for windows 7 Home premium 64-bit

    Hi Wawa,

    Welcome to the Microsoft Community Forums.

    Please visit the following link to learn how to change the display language for Windows 7.

    Install or change a display language

    Hope this information is useful. Please let us know the status of the issue.

  • How to extend the display fron Windows 8.1 to another laptop Windows 7

    How to extend the display fron Windows 8.1 to another laptop with Windows 7, without having to invest in additional software.

    Hello Navin,

    Thank you for visiting Microsoft Community.

    According to the description, I understand that you want to know how to extend Windows 8.1 display to another laptop with Windows 7.

    Certainly, I understand your concern and will try my best to help you.

    I want to provide you with the information that so there is no solution from Microsoft to do this. However, there are third-party software that could help you extend the display from one computer to the other. But Microsoft does not recommend that.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • How to change the display language for vsphere client from the web?

    Hi all

    I would like to know how to change the display language for vsphere client from the web?

    help please, thank you!

    Take a look at http://blogs.vmware.com/vsphere/2012/10/the-vsphere-web-client-and-localization.html to see which languages are available and how to change the URL.

    André

  • How to change the display of the Acrobat dc to English language to German?

    How to change the display of the Acrobat dc to English language to German?

    Cloud creation help / solve the installation language. Creative Cloud applications. CCM-

    http://helpx.Adobe.com/creative-cloud/KB/change-installed-language.html

  • How to adjust the display width of fields?

    work in jdev 11.1.2.3.
    the form looks like DESIGNER Visual, all fields of the same length, and there is no width attribute to adjust. When run, some too long display fields.
    How to adjust the display width of fields in the design?
    Thank you.

    Hello

    You don't need to repeat once again, unless you have changed the properties after initial drag and drop.

    If you have changed, use the value #{bindings.yourAttribute.hints.displayWidth} to the columns property.


    label = "#{Bindings.Name.hints.label} '"
    required = "#{Bindings.Name.hints.Mandatory} '"
    * Columns = "#{Bindings.Name.hints.DisplayWidth}" *.
    maximumLength = "#{bindings.name.hints.precision} '"
    shortDesc = "#{bindings.name.hints.tooltip}" id = "it38" > "

    Thank you
    NGO

  • How to set the display in order to run the installation program

    Hello

    Could you please explain how to set the Display variable I connect via the VNC client directly to windows X Linux (Gnome)
    in order to run the installer to install R12 EBS?


    I guess that since the connection is by VNC client, so I just need to open a terminal window and start the Installation...



    Thanks and greetings
    MZ

    Srini Chavali wrote:
    The DISPLAY variable must be set to the IP address of the client.

    Not necessarily - it is meaningless to set the DISPLAY of different client IP addresses if you want to run the installation program (or any GUI) on the server of different customers.

    Thank you
    Hussein

  • How to change the display of cm in pixels while marking an object?

    How to change the display of cm in pixels while marking an object?

    Hello, you can right click on the rulers to change their units, or if you enter the numbers in a numeric field which has a unit, you can add px for pixel, cm for centimeters, in in....

  • How to change the display resolution of APEX?

    Hi guys,.

    How to change the display resolution of APEX?
    In other words, if an end-user sees large elements on a page, then it zoomed out there... How can I define a good zoom LENS for my default application...

    I hope that my question is simple...
    Kind regards
    Fateh

    Fateh says:

    I hope that my question is simple...

    Nope.

    How to change the display resolution of APEX?

    APEX is not a resolution of the screen. 'Screen resolution' is a property of the device, user agent software used to view the page APEX.

    What do you mean by "resolution of the screen of the APEX?

    In other words, if an end-user sees large elements on a page

    What "big items?

    then it the zoom out

    How?

    "Zooms", what - the whole page or 'big one '?

    How can I define a good zoom LENS for my default application...

    Which means what?

    And as usual, we are missing:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/item (s)

    You have been posting here for years. You know this basic information is needed to understand and reproduce problems.

    If you need help it does not seem unreasonable that you made the effort to provide a complete, clear but a concise description of the problem or need.

Maybe you are looking for