Different screen settings in one class?

Hi all, I have another problem. I managed to do a lot of different screens, because I have a lot of menu options different each requires some form of screen appears, so I simply push the corresponding screen. But is it possible to have all different in one class screens, like putting statements (so if menu1 clicked, use style1, if clicked, menu2 use style2)? How to build the if statement? I don't know how to hear the click of the menu which is located in another screen/class?

This seems to be a question of standard Java rather than a BlackBerry issues, in which case, I think that there are two approaches:

(a) create a generic class that manages all types and pass a parameter to the constructor that defines the type.  Thus, for example, you would create a

public SubjectMaintenancePopupScreen (type screen int) {}

and if statements in the constructor.  Then to use it

UiApplication.getUiApplication () .pushScreen (new SubjectMaintenancePopupScreen (1));

1 = Add, 2 rename etc...

(b) create a basic screen that has all the standard stuff in it and then extend this option to provide your specific screen.

You will need to decide which of these provides the best solution for you.

Tags: BlackBerry Developers

Similar Questions

  • Two clips of different screen in the timeline format

    Greetings!

    I started using the first Pro CC today.  Just practical put two clips on the Timeline, but each clip has a different screen ratio.  One comes from an old Tricaster, another coming of Avid's Media Composer.

    The first clip on the Timeline, it is that since the Tricaster, the second is that of Avid.

    Looks like the Tricaster recorded in a 3:4 screen report while Avid seems to be 16:9.

    The Tricaster clip shows OK on the monitor, but that Avid seems to have been "zoom in".

    How could I be the 16:9 ratio in a 3:4 ratio?  Yes, I understand there are black areas in some of the sides of the screen, but I'm just testing the software.

    Thanks for the info.

    Bert

    PrPro defines a sequence by the first media placed on this sequence. Other media banged against this sequence with different proportions are resized simply upwards or downwards to "adapt". Right-click on the 16:9 clip and working with your scaling options until it seems as you want.

    That said... What is the frame of both types of media pixel size? There could be a problem where it would be better for the media from 16:9 to be your 'sequence' settings and media from 4:3 to fit on the scale.

    Neil

  • Different screen resolution settings

    I did a program on a computer with the setting of screen resolution of 1440 x 900 pixels, and the cover perfectly fits the entire screen. I am now to do a build and apply the program on two computers, one with a higher resolution (no problem) and the other with the highest resolution possible in 1024 by 768 pixels. Can I use the same program, or what I need to change the front panel in the program?

    Go to file > properties VI (or Ctrl + I) and then from the category "" scroll down to the size of the window

    check the "maintain the Proportions of the window for the different screen resolution.

  • Error message when you try to download files - WINDOWS SECURITY, these files cannot be opened. Your internet security settings prevented one or more files being opened.

    Original title: C:\windows\system32\icacls.exe
    For the last few days I tried to download the different elements as well as download Trend Micro security/antivirus protection.  Whenever I do; try to download something or download something, I get the following error:

    WINDOWS SECURITY, these files cannot be opened.  Your internet security settings prevented one or more files being opened.
    C:\windows\system32\icacls\exe

    I have not found anything within windows security who would do this and when I get this error C:\... it just on my screen flashes, then disappears.

    Any suggestions?  I really need to download Trend Micro.

    Thank you
    Amy

    See the article below:

    ID of the KB Article: 2588679.
    Error message when you try to open some files in Windows 7: "your Internet security settings prevented one or more files being opened."

    Check the following settings:

    Right-click on the downloaded file. Select Properties.
    Click the Unlock button.

    Check the suggestions the following threads:
    http://social.technet.Microsoft.com/forums/en/w7itprosecurity/thread/ab6de772-CE20-4621-88ce-5ae568369826

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/these-files-cant-be-opened-your-Internet-Security/7bbe6bc9-d89f-4407-81fa-ea4c24b39aaf

    Let us know if that helps.

  • Using 2 monitors, how can I get 2 different screens?

    I have connected a 2nd monitor to my laptop. Is there a way I can see 2 different screens in the same time-one on each monitor? This would be useful, so I don't have to keep reduce... and putting up. I could just leave it displayed on the screen 2.

    Hi donna-713,

    Yes, you can have two different things on two different monitors.

    You can view the following items:

    Set up multiple monitors

    Understanding multiple monitors

    Change settings display on multiple monitors

    Multiple monitors: frequently asked questions

  • I teach online and all my classes have the same user name and password. Now that I clicked "remember me next time", I can connect only in one class. How to unlock my password. Carol in English

    I teach online and all my classes have the same user name and password. Now that I clicked "remember me next time", I can connect only in ONE class. How to unlock my login and my password, so that I can use it for all classes. Carol in English

    "Remember Me" for the site connections automatically when you return to the Web site is done with a Cookie the site in Firefox.

    Try to clear your Cookies for this Web site.

    Tools > Options-> life privacy - Cookies = the button show Cookies.

    You must use the custom settings for history at the top of this tab to see the View the Cookies button.

    Enter the domain name in the top search bar and all Cookies for this URL will be displayed. Unless you can figure out which is Cookie to "remember me", you will need to delete them all.

    Hold the {Ctrl} key while you click each Cookie in the small window. When this list is all highlighted, click the Cookie delete button at the bottom left.
    When you are finished click Close.

  • Different screen resolutions - what is the best method?

    Hello

    I know that this question was asked a thousand times before, but what is the best way and the most reliable to deal with different screen resolutions?

    I read a lot of posts about it and tested on everything: unique, methods, combinations, let labview scale my objects, their scale by myself, etc. Another alternative that I found was to design the front panel to the lower screen resolution, let labview scale objects (graphics, controls tab and decorations) as window increases or decreases and lock "groups of indicators, controls and text" to prevent them from scaling and overlap. However, if I lock these "groups" that they don't move in the right place in the resizing of the window. Then, I put these 'groups' within groups and tried to compensate for the position via the property node, but it was not possible because the 'groups' within the cluster have been locked!

    After all these tests, I realized that the best way to manage different screen resolutions must have a main VI that detects the current screen resolution and load the good VI for this resolution. The problem is that I have a VI for each screen resolution (created one by one) and if I want to move the code I have to do the same task for all the screws

    Since I already have all the screws (for different screen resolutions), I could get the sizes and positions of all the objects through property nodes and create a kind of 'cluster' which, after the detection of the current screen resolution, would be to adjust all the objects. But I have several decorations in the front panel and I can not get information via the node property of them.

    THW way you can prevent the control to move when you're scaling, is to group the controls with 'something' which is placed outside the façade. In the example I give you now, you can see that I have grouped the stop button and the 'red faces' with a 'point' on the left side of the front panel.

  • Different facades on 3 different screens, same data collection

    Hello

    I'm having a problem on where to even begin with this problem. I consider myself a beginner-intermediate LabVIEW user.

    I'll do some testing to a facility that I work at. We need three different front panels during the test in the room of data acquisition, in the firefighter tech room running and one in the room viewing. The question I need assistance to resolve (I don't know where to start and have looked everywhere), it's how can I show three different front panels on three different screens. We have a lot of equipment coming into the system, but I want only to produce temperatures on some analyzers gas to some and a red LED in the control room and fire tech (not in the viewing room, we don't want to scare people if something goes wrong!). I have these set up just fine and they work based on thermocouples that I tested.

    I need be sure that the control room can read all data arrive, even if it is not displayed on the screen, and 3 different facades are required. How can I do this without having to run 3 instances of LabVIEW? Is there a way I can use S-video or something, or to incorporate subVis appears on a screen somehow?

    We are connecting to a FieldPoint system as well if that helps. I'm using LabView 8.6.

    I'm not going to attach the code because it works, I just need to know how to integrate all three.

    Any help would be greatly appreciated. Thank you very much!

    Tanya

    I have no idea on the video.  But LabVIEW has built into the web server where you can view the vi via a web browser.

    Here are some links, also do a search and see if it would work.

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/11017

    http://decibel.NI.com/content/docs/doc-5776

    http://digital.NI.com/public.nsf/allkb/7B5D6CC1CBCE32C98625716C00828BF4

  • Possible for another user account different screen resolution?

    I would like to have the resolution of different screen for the account of another user on the same computer system.  I found that when I change the resolution, it applies to all accounts, so the customization doesn't really work in this sense.

    I know we can use Magnifier or enlarge the fonts or images on each screen by turning the mouse wheel while holding down the control key.  However, this is not good for someone just not good in computer but not disabled and it is extra work that the user has to do to be able to use the computer.

    You cannot change the resolution, but you can change the DPI. Go to the settings on the display page and increase or decrease the font size to the desired size. This is the workaround we use in our domain environment for users who want the largest size of the text.

    This is a per user setting.

  • How to set up a second monitor with a different view than the one on my laptop? [was: ron]

    I'm trying to set up a second monitor with a different view than the one on my laptop.  I have a HP Pavilion dv5 laptop and a secondary monitor View Sonic UP2365-LED.  They are connected with a cable 15 pin... my only choice on the laptop.  When I select the second monitor, it displays a box of a second on my laptop and the secondary monitor.  My pointer moves on both screens at the same time, no matter what display, I select the monitor 2.

    It depends on the whther the laptop can support both points of view.

    Somewhere with the right button on the desktop, choose "screen resolution" and that there should be only a drop down menu entitled "multiple displays".  Looks like you have "displays a duplicate" choose (if it will leave you) "to extend these screens.

  • Optimization of captivate file for different screen resolution

    Hello

    I have a problem to optimize the file captivate for different screens such as laptop, netbook and pc. PC and laptops, this isn't a major problem, as the size of the screen is great. But when you play the swf file captivate generated in a netbook, the entire site gets resized to fit the resolution of the screen with the exception of the captivate file. Captivate file is truncated so that the user can read only half of the slide.

    Thanks in advance

    Parvathy

    One thing you can try is to manually adjust the dimensions of the swf.  I have not found a way to do in first grade.  We had a similar with a few eLearning problem, that we have built all our testers used very well.  But once someone undocked their laptop and turned their desktop monitor, had the same problem you describe, where the background of the film was cut.

    Once you publish the files, open the file .htm with Notepad or your editor of choice text/html.

    Look for a line that looks like this:

    var so = new SWFObject (strURLFile + strURLParams, "seduce", "1100", "798", "10", "#CCCCCC");

    or

    var so = new SWFObject ("filename.swf", "Captivate", "1600", "1200", "10", "#CCCCCC");

    Change these numbers quotes at 100%, like this:

    var so = new SWFObject ("filename.swf", "Captivate", "100%", "100%", "10", "#CCCCCC");

    Save the .htm

    My experience was it will adjust the swf to fit the height or the width of the screen, depending on which is more short.  In other words, it either will fill the top down OR sideways, but keep the swf in proportion.

    hope that helps.

  • When I use the left arrow FF tends to go back two screens instead of one. Also when I close a tab (Web page or e-mail) FF and TB sometimes both minimize

    When I use the left arrow FF tends to go back two screens instead of one.
    Sometimes when I create a new tab it opens two instead of one.
    Also when I close a tab (Web page or e-mail) FF and TB sometimes both minimize
    When I opened a project in Tbird, if I close it, the set of Tbird farm.
    When I create a copy of the project and save to drafts, when I recover, there many other added characters generally upper and lower case or some other character.
    Both applications are up to date.versions 38.0.5 & 31.7.0
    Help!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can also try another mouse in case there is a problem with your current mouse and check the double-click setting in the mouse driver software.

  • 9.3.2 IOS cannot move applications to different screens

    I am trying to clean my apps on my 6 iPhone with IOS 9.3.2.  I created folders in order to decrease the amount of screens but Apps move into folders on different screens.  I tried hard reboot but that does not solve the problem.

    I saw this with the iPhone phones 6s series, because users are not as familiar with 3DTouch. When you try to get the icons of "agitation" on the screen, you can't do it, right? You press down on the icon and nothing happens? It's because you push to hard.

    The best thing to do is to simply put a finger gently on the icon and leave it there. Do not press down on the screen at all. This should get the icons to wiggle and you should be able to then drag icons in the desired position.

  • Google search results disappear after flashes on the screen for about one second.

    When using advanced Google search (http://www.google.com/advanced_search), the result will Flash on the screen for about one second, then I don't see that a screen is empty. Pressing 'Enter' again once does not change this white screen. It started there, at the time, that I've upgraded to Firefox 10.0 approximately two days. This problem could be caused by the Firefox update? When I use the Google Search base (https://www.google.com/webhp?hl=en), I don't have this problem. My OS is Windows 7.

    I'm glad to have helped, this thing sometimes works with General problems with Web sites and therefore often worth a try.

  • My desktop picture won't stay as I put it. When I turn on my computer once again, it's a different picture. No one else has access to my computer, ever.

    My desktop picture won't stay as I put it. When I turn on my computer once again, it's a different picture. No one else has access to my computer, ever. Any ideas what's happening?

    Make sure you change the image is not checked...

Maybe you are looking for