Presentation of tier 2

Hello world. I'm developing an application that requires the screen be divided into three components: left, right and a third pane on the bottom.

____________________

|                      |                     |

|                      |                     |

|         L           |       R           |

|                      |                     |

| _________|_________|

|                                            |

|                                            |

|___________________|

I tried to create a VerticalFieldManager (USE_ALL_HEIGHT) and then tried to add a FerticalFieldManager next to L, added a (new LineSeperatorField (Line_vertical) divide r L then added VerticalFieldManager one another for the side R.) I expected the line separator is centered since I added it after the VerticalFieldManager of L, but he gets crushed against the left side.

Also how can I keep the vertical line of the extension he's the way downwards, but rather stop 3/4 from the bottom? I'm guessing drawLine() in object would be better I reason?

Why don't you fund a Manager custom like this

import net.rim.device.api.system.Display;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.component.SeparatorField;

public class CustomManager extends Manager {

    private Field leftPane;
    private Field rightPane;
    private Field bottomPane;
    private SeparatorField separatorField;
    private static final int screenWidth = Display.getWidth();
    private static final int screenHeight = Display.getHeight();

    protected CustomManager(Field leftPane, Field rightPane, Field bottomPane) {
        super(0);
        separatorField = new   SeparatorField(SeparatorField.LINE_VERTICAL);
        add(separatorField);
        this.leftPane = leftPane;
        this.rightPane = rightPane;
        this.bottomPane = bottomPane;

        add(leftPane);
        add(rightPane);
        add(bottomPane);
    }

    protected void sublayout(int width, int height) {
        if (leftPane != null && rightPane != null && bottomPane != null) {
            layoutChild(leftPane, screenWidth / 2, screenHeight * 3 / 4);
            layoutChild(separatorField, screenWidth / 2, screenHeight * 3 / 4);
            layoutChild(rightPane, screenWidth / 2, screenHeight * 3 / 4);
            layoutChild(bottomPane, screenWidth, screenHeight / 4);

            setPositionChild(leftPane, 0, 0);
            setPositionChild(rightPane, screenWidth / 2, 0);
            setPositionChild(separatorField, screenWidth / 2, 0);
            setPositionChild(bottomPane, 0, screenHeight * 3 / 4);

        }
        setExtent(width, height);

    }

}

Tags: BlackBerry Developers

Similar Questions

  • Are aware that even if the rotation function is no longer available on the new trackpad, it is always presented on their Apple tutorial. Please discuss!

    Are aware that even if the rotation function is no longer available on the new trackpad, it is always presented on their Apple tutorial. Please discuss!

    Hello

    Read this article to support > gestures multitouch for use on your Mac - Apple supported

  • Presenter PowerPoint on Mac mini mode displayed on the screen and the projector when using HDMI splitter

    We have a Mac mini connected to a screen and a projector via HDMI using a HDMI splitter.

    It works fine for most applications, but during presentations PowerPoint, presenter is displayed on the monitor and the projector.

    When I disconnected the mini Mac's HDMI cable and put it in a MacBook, the presenter appeared on the MacBook screen (as it should) and only the slide appears on the screen and on the projection screen.

    Of course if we have to use the MacBook for presentations instead of the Mac mini, you would need to have seen the presenter on both the screen and on the screen of the MacBook.

    In the Mac mini display preferences there is no button to "Gather Windows" when the Mac mini is attached to the screen and the projector via HDMI splitter is a tab "setting."

    But these two things appear on the MacBook when it is connected.

    Any help would be greatly appreciated.

    Thank you!

    Mike

    I'm confused. When you use a video separator the same screen will appear on the two monitors connected to the separator. This is how works a separator

  • mini presentation remote mac works only sporadically

    Hi all

    I have a Logitech R400 that needs to be able to control the PowerPoint on a Mac mini.

    Yesterday it worked fine.

    Today, he works only sporadically, and I have not changed a thing. It's still the same presentation.

    Sometimes, you can change the slide and sometimes you can't (even when standing very close to the Mac mini).

    This Mac mini specifications are quite anemic (1.4 GHz and 4 GB of memory), but I closed all applications except PowerPoint and have nearly 2 GB of free memory.

    Any thoughts?

    Any help would be most appreciated!

    Mike

    Based on

    http://www.Logitech.com/en-us/product/Wireless-Presenter-R400

    the remote uses a USB wifi dongle and operates on the 2.4 GHz band.

    This band is susceptible to interference and I think that is causing your problem.

    Peripheral USB 3 is a source of interference.

    Try to use the dongle at the end of an extension USB cable

  • ICloud presentations should play on any browser

    Why presentations Keynote iCloud can not play on any browser?  I am trying to format the 6 pages of interactive text to be displayed on any smartphone and I realize that users must have Keynote installed, or they are out of luck!

    My bad.  Collaborate lets others with a link to view the Keynote presentation.  Transitions, constructions, and hyperlinks are all active in the view.

  • Presentation causing Sierra to Crash and disconnection

    Hello

    I noticed a problem with macOS Sierra running on a Mid 2015 15 "MacBook Pro with the retina display. Sometimes when I press F3 to access presentation and my several computers desktop computer freezes and goes back to the login screen.

    When I log in, it's like I started a new session and the apps I had open start back once again, but with their wiped sessions. This happens to me about 3 times in a day's work, most of the time that exposed works very well. Very strange!

    Did anyone else encounter this problem at all?

    Hi there, stvwlkr!

    Thank you for joining the communities Support from Apple! Looks like you are having problems with the Mission control. I know how important it is to make sure that it works correctly. What you might want to try is then a specific restart. Read this article for trying safe mode if your Mac does not end commissioning. Although this article is about the computer does not start correctly, it can also perform repairs and stop startup items that can cause problems.

    Another option you can try is in this article: How to test a problem in another user on your Mac account. This will allow you to check to see if the problem is specific to the user or the system-wide.

    See you soon!

  • Can I change a speech during the presentation?

    Sorry for my English...

    at a meeting, I often have to change something in the presentation while projecting...

    Is it possible? or should I stop the projection, to modify and to revive the keynote?

    Yes its possible to change the speech while projecting, and Yes, you're out of the game mode to make the changes.

  • After losing in keynote, my presentation has disappeared

    I have the BONE 10.11.6 with a MacBook Pro (17-inch, mid 2010) with 2.66 GHz Intel Core i7 and 8 GB 1067 MHz DDR3; my speech is version 6.6.2 (2571). After losing, I can't find the presentation more. I made several stops, but do not change the file name. So are 4 days of hard work really gone forever?

    Try going here for help.

    OS X El Capitan: If you can't find a file

    Hope this helps, good luck to you.

  • Keynote presentation

    I created a keynote presentation, I want to export as a quicktime movie,

    I want to click through the slides with a simple click by slide,

    When I click the slide after the slide automatically animations.

    Then it stops

    I click once again to the next slide and so on.

    Is this possible?

    Thank you very much

    Adam

    Manual advance in Quicktime is not available in the current version of Keynote.

    It was available in version of iWork 09 that uses another version of QuickTime.

    BEKER 09 is still available at Amazon and Ebay and is compatible with El Capitan.

  • app purchase where the physical store is not present

    I am from Bangladesh and that you wish to purchase an app on the app store, but there is no shop in my country. is there an alternative way for app purchases where the physical store is not present

    TIA

    Mubaswir

    No, the only place to get iOS apps is on the app store (via iTunes on a computer or an App Store app on an iOS device) and you must be in a country to use its iTunes/App store (which is part of the terms of the store) - until if/when Apple open an iTunes store in Bangladesh (we are fellow users we do not know what might happen until Apple announce something) Unfortunately you will not be able to download any content from the iTunes store.

  • can I create an outline of a keynote presentation

    Can I create an outline of a keynote presentation?

    At the top of the screen: display/contour.

  • TB change the sender name to my name to email classic. Fritz! Box send a pushmail with the name "Fritz!" Box '. In the Inbox of my ISP of this name is present. ...

    TB change the sender name to my name to email classic.
    Fritz! Box send a pushmail with the name of the sender "Fritz!" Box' to my standard email address.
    In the Inbox of my ISP of this name is present. Get this mail with TB the name "Fritz!" Box"is changed in lastname, firstname. This is the full name of my standard email address as I stated in my address book.

    In the toolbar > Options > view > advanced and turn off "see the show only the names of the people in my address book."

  • How to cut and paste ppt slides in presentations?

    How to cut and paste ppt slides in presentations?

    File > open

    and it should do the conversion for you.

  • Organization of the wrong understanding OSX and presentation files?

    I'm a former developer/project manager who comes to Mac OSX after 15 years with Linux and 10 years of Windows, and I find myself confused in how file names are presented under OSX. The documents seems to provide a list of all the documents independently rental; i.e. their location is not provided. There are tags that allow a file to be found quickly, but the hierarchy folder, subfolder... file doesn't seem to be easily configured or maintained.  Now, I believe that system developers who designed and built the operating system, which, under the covers, works great as Linux, have an intention here to leave the structure of the files for different applications, or renounce the Organization of hierarchical tags for files or I missed something quite fundamental (the latter more likely possibility).

    Does anyone know how better to organize files and folders? My counter top is becomes quite cluttered with files, alias of folders and files that I would normally be organize in folders and project areas. I probably could understand it, but I think that I'm not the first to ask the question.

    Thanks for your time

    The short answer is to keep all your documents in the 'Documents' folder in your Home Directory, i.e.

    ~/Documents

    You will probably want to create subfolders for specific projects, as you always have. There are also a few folders with names like 'Photos' and 'Music' for obvious purposes.

    I have my office as a temporary area and try to ensure that there is that more nothing at the end of the day. (Many workplaces as this rule for the offices of the real world, which is where I got the habit.)

    You are right, Apple wants to get rid of the traditional tree-structure file system for users. There are compelling arguments for this security because it facilitates the sand-boxing-based application. But it is a daunting task because many people have 'project-based' work and keep everything about each project in a folder.

    Among other things, Apple attempted to replace the traditional file system with 'Tags', which nobody do not know I love him. Very few people have obsession for tags files constantly and I have, on the one hand, don't trust Apple to not abandon them at some point in the future if I rarely use them.

    Attempt of another, much more successful, is "Spotlight", who, on a good day, can work magically. Unfortunately, it's a little weird and does not work for all types of files.

    So, I still organize my files into a tree-like hierarchy supplemented by alias. Spotlight is a nice bonus. Maybe one day I'll take like tags, but not today.

    C.

  • Badger of privacy is installed but is not displayed. Present in Chrome & IE

    Badger of privacy is installed but is not displayed. Present in Chrome & IE. Using Firefox 36 & Windows 7 Pro. All updates are underway.

    What version of privacy Badger you have installed?
    Is active in the Add-ons Manager in Firefox?

    The 0.1.4 version of AMO - https://addons.mozilla.org/en-us/firefox/addon/privacy-badger-firefox/ - is an older version that is not a "UpdateURL" to tell him where to get an update of. For some reason any the EFF did not updated the version on the official website of Mozilla Add - ons since June 2014 - ' Firefox 21 and later "- but only until the 29.0a1 of Firefox (the pre-release alpha tester as the end 2013).

    Version 2.5 of the EFF - https://www.eff.org/privacybadger - is 'spec'd' compatible through the future version of Firefox 40.0. This one should work for you. If it isn't, you will need to contact the support for their add-on EFF - they made and should support.

Maybe you are looking for

  • Library not found or failed to load

    Hi all I am a first year student competely on LabView. Here's my problem: I got a file .vi of my co-workers, but I couldn't run. The problem is "this vi to own library is missing. According to the solution on the Internet, I selected the file and it

  • Hardware error code Diagnostic Test

    During a hardware diagnostic test the short self-test gave me an error code of HD521-2W.  What does that mean and how do I fix?

  • Everytime I open Windows Mail, all of my emails are downloaded and it slows my system

    Original title: "Windows Mail Help" Hello guys,. I need assistance in the use of my email windows software. I'm a basic user, I want only windows mail to write and send emails from her, but whenever I open it all that my mails are downloaded. I can't

  • Unable to connect wireless - Deskjet Ink Advantage 2545

    Hello Im having a problem to use a wireless connection to my printer, during installation, the following prompt message: Question: You have manually entered the name of the network (SSID) cannot be found.Solution: Check that your wireless router is p

  • Windows Media Player Windows 7

    Ripped CD 3 yesterday without any problem. Today, I insert a CD, the drive reads it for a fraction of a second (I see it flash to the top), it disappears and the CD is ejected. The option to rip at the top of the screen does not light. I tried with m