SetLayoutX for children, parents.?

Hello,
I have a javafx Object called Flow extends Parent Class containing two labels.
In this Object Construtor i do this this.getChildren.addAll(label1,label2);
What i want is to set the two labels in a precise X and Y.
I pass X and Y params for the Flow constructor but i got a real problem to get the the correct corrdinates,
I don't know what to do exactly,
label1.setLayoutX(X);
label2.setLayoutY(Y);
Label2.setLayoutX(X+20);......
I tried this but i did not get the coordinates that i need (X and Y got from Scene builder when trying to do same Example but with FXML using Scene builder)
or doing: this.setLayoutX(X); .................????

sorry for the inconvenient, in fact What i meant by "Flow" class is a specific Object for me and does not have any relation with the javafx flow :).
I tried to change Parent by Pane and Group but still have same emplacement of my objects in the scene.
In fact, the idea i want to do is to determine my objects coordinates using javafx scene builder and then genarate fxml and using these coordinates to build my objects and put them directly in the correct emplacement.
The problem is that wehn using same coordinates i did not get the same scene as the one built with scene builder.
Any one to help

Similar Messages

  • Please help with OWB Mapping for Children Parent relationship attributes.

    Hi there,
    I am pretty new to Oracle Warehouse Builder (Ver10.2.0.3). If you have attempted the following, appreciate if you can share your knowledge.
    I have to create a mapping to populate the following attributes in a Children Parent relationship mapping.
    1. isleaf
    2. path
    3. descendant_level
    4. parent_level
    5. descendant_order (tree walking)
    6. root_parent
    Please refer to the following SQL which is based on the scott/tiger EMP table. This SQL generates me the above attributes correctly.
    select h.*,
    nvl(i.descendant_level,0),
    nvl(j.parent_level,0),
    row_number()
    over(partition by SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) order by ROWNUM) - 1 DESCENDANT_order,
    SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) parent
    from (select
    emp.empno,
    emp.ename,
    emp.mgr,
    decode(connect_by_isleaf,0,'N',1,'Y') isleaf,
    sys_connect_by_path(emp.empno,'/') path
    from emp
    CONNECT BY MGR = PRIOR EMPNO) h,
    (select
    level descendant_level,
    emp.empno
    from emp
    CONNECT BY MGR = PRIOR EMPNO
    start with mgr = 7839) i,
    (select
    level parent_level,
    emp.empno
    from emp
    CONNECT BY MGR = PRIOR EMPNO
    start with mgr = 7839) j
    where h.empno = i.empno(+)
    and SUBSTR(path, 2, INSTR(SUBSTR(path, 2)||'/','/')-1 ) = j.empno(+)
    order by nvl(parent_level,0),nvl(descendant_level,0),DESCENDANT_order
    I searched OTN and found the following document:-
    http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$10
    I tried all the 3 variations of the expression below in my FILTER condition.
    CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO
    CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO START WITH INOUTGRP1.ENAME = 'KING'
    START WITH INOUTGRP1.ENAME = 'KING' CONNECT BY INOUTGRP1.MGR = PRIOR INOUTGRP1.EMPNO
    When I tried to validate each of the above expression, it came back with the following error:-
    'ORA-00936 missing expression' error.
    Hope someone can help me with the above or better still have done the above and can sent me an MDL export file.
    Thanks in advance.
    Regards
    Rudy

    Hi Carsten,
    Thanks for your help.
    Oracle Support provide me the solution. I have to do the following:-
    1. Set the mapping's "Default Operating Mode" and "Generation Mode" to 'Set Based'
    2. Changed the Filter condition to "CONNECT BY PRIOR INOUTGRP1.EMPNO = INOUTGRP1.MGR"
    You right, the Filter condition still produce an error 'ORA-00936 - missing expression' when I tried to 'Validate', but it deployed and executed successfully.
    Again thanks for your help.
    Regards
    Rudy

  • SQL Server 2012 Management Studio:In the Database, how to print out or export the old 3 dbo Tables that were created manually and they have a relationship for 1 Parent table and 2 Child tables?How to handle this relationship in creating a new XML Schema?

    Hi all,
    Long time ago, I manually created a Database (APGriMMRP) and 3 Tables (dbo.Table_1_XYcoordinates, dbo.Table_2_Soil, and dbo.Table_3_Water) in my SQL Server 2012 Management Studio (SSMS2012). The dbo.Table_1_XYcoordinates has the following columns: file_id,
    Pt_ID, X, Y, Z, sample_id, Boring. The dbo.Table_2_Soil has the following columns: Boring, sample_date, sample_id, Unit, Arsenic, Chromium, Lead. The dbo.Table_3_Water has the following columns: Boring, sample_date, sample_id, Unit, Benzene, Ethylbenzene,
    Pyrene. The dbo.Table_1_XYcoordinates is a Parent Table. The dbo.Table_2_Soil and the dbo.Table_3_Water are 2 Child Tables. The sample_id is key link for the relationship between the Parent Table and the Child Tables.
    Problem #1) How can I print out or export these 3 dbo Tables?
    Problem #2) If I right-click on the dbo Table, I see "Start PowerShell" and click on it. I get the following error messages: Warning: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. 
    --> Failed to retrieve data for this request. --> Invalid class.  Warning: Could not obtain SQL Server Service information. An attemp to connect to WMI on 'NAB-WK-02657306' failed with the following error: An exception occurred in SMO while trying
    to manage a service. --> Failed to retrieve data for this request. --> Invalid class.  .... PS SQLSERVER:\SQL\NAB-WK-02657306\SQLEXPRESS\Databases\APGriMMRP\Table_1_XYcoordinates>   What causes this set of error messages? How can
    I get this problem fixed in my PC that is an end user of the Windows 7 LAN System? Note: I don't have the regular version of Microsoft Visual Studio 2012 in my PC. I just have the Microsoft 2012 Shell (Integrated) program in my PC.
    Problem #3: I plan to create an XML Schema Collection in the "APGriMMRP" database for the Parent Table and the Child Tables. How can I handle the relationship between the Parent Table and the Child Table in the XML Schema Collection?
    Problem #4: I plan to extract some results/data from the Parent Table and the Child Table by using XQuery. What kind of JOIN (Left or Right JOIN) should I use in the XQuerying?
    Please kindly help, answer my questions, and advise me how to resolve these 4 problems.
    Thanks in advance,
    Scott Chang    

    In the future, I would recommend you to post your questions one by one, and to the appropriate forum. Of your questions it is really only #3 that fits into this forum. (And that is the one I will not answer, because I have worked very little with XSD.)
    1) Not sure what you mean with "print" or "export", but when you right-click a database, you can select Tasks from the context menu and in this submenu you find "Export data".
    2) I don't know why you get that error, but any particular reason you want to run PowerShell?
    4) If you have tables, you query them with SQL, not XQuery. XQuery is when you query XML documents, but left and right joins are SQL things. There are no joins in XQuery.
    As for left/right join, notice that these two are equivalent:
    SELECT ...
    FROM   a LEFT JOIN b ON a.col = b.col
    SELECT ...
    FROM   b RIGHT JOIN a ON a.col = b.col
    But please never use RIGHT JOIN - it gives me a headache!
    There is nothing that says that you should use any of the other. In fact, if you are returning rows from parent and child, I would expect an inner join, unless you want to cater for parents without children.
    Here is an example where you can study the different join types and how they behave:
    CREATE TABLE apple (a int         NOT NULL PRIMARY KEY,
                        b varchar(23) NOT NULL)
    INSERT apple(a, b)
       VALUES(1, 'Granny Smith'),
             (2, 'Gloster'),
             (4, 'Ingrid-Marie'),
             (5, 'Milenga')
    CREATE TABLE orange(c int        NOT NULL PRIMARY KEY,
                        d varchar(23) NOT NULL)
    INSERT orange(c, d)
       VALUES(1, 'Agent'),
             (3, 'Netherlands'),
             (4, 'Revolution')
    SELECT a, b, c, d
    FROM   apple
    CROSS  JOIN orange
    SELECT a, b, c, d
    FROM   apple
    INNER  JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    LEFT   OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    RIGHT  OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    FULL OUTER JOIN orange ON apple.a = orange.c
    go
    DROP TABLE apple, orange
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Secure Surfing for Children

    Can anyone suggest a way to allow my kids to use Safari but protect them from inappropriate websites? Any help would be greatly appreciated.
    g5   Mac OS X (10.4.2)  

    I'm sorry I gave you information for Tiger. Just realizing you are using Panther (I'll know better next time when traveling than to answer a post from an Internet Machine at the Airport).
    Tiger has more sophisticated Parental Controls than Panther. The next version of OS X ought to continue this evolution.
    In Panther, the panel in the Accounts system preferences would say "limitations". I don't recall exactly what you can or cannot do, but at least that is where you would start.
    Have a look at this site for more internet options for creating a safe experience for children.

  • Sepaarate Itunes for CHILDREN

    My children will be getting nano from Santa claus. I would love to have a separate account for them that looks like kids interface (HINT HINT) Anyway I don't want them on my account as I am an adult and have explicit language on mine. What can I do? I tried to put it on the side of their computer that isn't accessable from mine... but it keeps saying there is a copy running already. so that means it can see the one that is running on my side.
    HINT FOR MAC PLEASE MAKE AN ITUNES FOR KIDS/PARENTS THAT IS KIDDY LOOKING AND CAN RUN WITH MY ITUNES. Just make sure I can have all the precautions in place for purchasing and explicit lyrics!!!

    All Apple provides is the Rating restriction

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • Can I use my Time Capsule for wifi parental control?

    Can I use my Time Capsule for WiFi parental control.  The objective first is to use a time clock to control internet access (completely on or off).  Second objective is to use the Time Capsule which is also the WiFi router for more selective internet control?  Anyone out there have any tips on making this work?  We have Time Warner cable feeding the house internet, which is then corrected to the 2Tb Time Capsule which also provides our WiFi.  Any information including other alternatives would be most appreciated.  Surely we are not the only parents on the planet with this issue.  Thanks very much!

    how do I get the Mac addresses for each device (this won't be a problem, I demand the device, check it, and then return it).
    What wireless devices are we looking at here?
    Most devices have the AirPort ID or MAC Address or Hardware Address printed on the back or bottom of the device
    Otherwise, you can learn the correct number by process of elimination. Turn off all wireless devices except your Mac computer....if it is connecting using wireless.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Time Capsule icon
    Look for Wireless Clients and click on the numerical IP address that is displayed
    Another box will open
    Look for the Hardware Address. It will be displayed as xx : xx : xx : xx :xx : xx
    Write that down and note that it is your Mac.
    Now, connect another wireless device and repeat the sequence.  Click on the "other" listing that you see to find out more info about that device.  Write down the ID or Address and note what device it is. Then power it off.
    Do the same for each wireless device that you want to have limited access.
    Post back when you have all the info.

  • Just because I have an imac pre 2007 why can I not order photo albums???!!  I spent hours building a photo album for my parents only to find out that because my mac is earlier than 2007, even though I have 10.6.8, I can no longer order?! What is that

    Just because I have an imac pre 2007 why can I not order photo albums???!!
    I spent hours building a photo album for my parents only to find out that because my mac is earlier than 2007, even though I have 10.6.8, I can no longer order?! What is with that? This makes no sense. I can go online to various "photo shop" place and regardless of the OS and computer I am working from I can order a photo album so why can I no longer do this through iPhoto on my MAC?
    How do I order my album now? If somebody could please explain as I am going home in 1 month and really wanted to surprise my aging parents with this book.

    I found this:
    http://store.apple.com/us/help/print_products
    Have you tried this?

  • How to best add VoiceOver accessibility for children's graphic books?

    iBooks Author seems fairly intuitive for the most part with the exception of adding accessibility (VoiceOver) for children's graphic books.
    My story is written as a rhyme and prefer the story to be heard as initial (or primary) VoiceOver after each page advance. That said, because of the (lower) story line page/screen placement (see image) other VoiceOver details are heard first. Because the story is written as a rhyme I found it a broken user experience and frustrating for those in need of the VoiceOver tool during testing (turning on VO in settings).
    I think I fashioned a work around (adding the story line to the graphic images, as well as where the story copy appears)—but at the sacrifice of removing image details (that a blind reader may want to hear) and repeating the story.
    All that said, am I missing something in iBooks Author? Is there a way to manage how I want the VoiceOver to read in sequence on the screen? If not, are there other best practices I could employ?
    Below is a sketch of the page design and numbers reflect the as-is experience vs the desired. Any insights appreciated!

    Seen that topic in iBA Tips and Tricks 01 .. yet?

  • I SPENT HOURS AND HOURS ON A BOOK FOR MY PARENTS. NOW IT IS GONE! MY PROJECTS IS EMPTY.

    Once again,  I have spent many many hours making a book for my parents.  Finding old photos of my parents, their parent and other family members.  Working with my mother long distance to get the right information about each and every picture and on and on.  I had two pictures left to ID and I when into MY PROJECTS with HP PHOTO CREATIONS, and my PROJECT is GONE!!   I have look everywhere on my harddrive and nothing.  At no time was there EVER information provided by HP that when the PHOTO CREATIONS PROGRAM WAS UPDATED I would lose all of my hard work.  
    I can not even begin to tell you how angry I am at this moment.  My mother is very ill and most likely the book will not ever be started over again.  PLEASE I am begging....if HP could help me find my project.  The name of the book was Zuhlke Family.  
    In addition I really have got to say I own HP printers laptops etc as I love the quality.  I have purchased the My Care warrant (or whatever it is called, and never used it) but trying to be able to simply ASK A QUESTION is such an ordeal with HP.  I truly am thinking of going with a different company simply because other companies are approachable and HP is NOT. There is so much you have to go through it is ridiculous.  Each new set of questions and what is the serial number and where did you purchase your item only adds to the frustration people are already feeling.  So by the time we can actually get to a place where a question can be asked the frustration level has risen 10 fold.  Just something for you to think about.  
    This question was solved.
    View Solution.

    Hi Berlee,
    We apologize for the difficulty that you are experiencing.  We do appreciate how much time and effort that you have invested and how valuable this project is. 
    We would be happy to assist you with this.  If you could please email our customer support center at [email protected]; we will be sure to have one of our technical support specialists contact you immediately.
    Thank you,
    HP Photo Creations Customer Support

  • How to reduce unwanted callers for elderly parents

    I am interested in Do Not Disturb for my parents' landline. They have many charity solicitors (we placed their number on donotcall.gov, which only works with for-profit telemarketers, I believe) who call and convince them to make pledges, even occasionally give credit card info over the phone. They are not at the point of taking credit cards away, but are softies for callers, it seems.
    Can Do Not Disturb still be ordered from Verizon? This seems like it would be a good option for them. If not, does anyone have other suggestions? Thanks!

    I don't know if Verizon has anything worthwhile to stop "Unavailable" or "Out of Area" callers, or caller id's that only show a state name.  My mother was having the same problem, and we finally got a her a Panasonic KX-TG9341S phone system - it has a base station with 4 cordless phones and has both a "Call Block" and a "Night Mode" feature.
    Even though Verizon's service will not block an "Unavailable" number, even though it has a phone number associated with it, the Call Block feature will hold either 25 or 50 numbers and when those numbers call, the system immediately answers with a busy tone.  And the night mode will not ring any of the phones during a time period that you can set.  Verizon is the only company I've ever had phone service with that shows only state names, or Unavailable or Out of Area even though it displays the number - I assume Verizon does a lot of business with the telemarketers.  I know that the "Anonymous Call Block" only works with caller ids of "Private".
    So, if you can't get it done with Verizon, there are a lot of new phone systems you can buy that will duplicate those feature lacking from Verizon.  The Panasonic model I mention is about 2 or 2 1/2 years old by now, they probably have a newer one with the same features under a different model number.

  • HT2105 setting up allowances for children in uk

    how do i set up allowances for children in uk on a new id? what a ballache apple are!

    You can contact iTunes support by going to http://www.apple.com/support/itunes/
    Click on the Contact Support link in the bottom left.
    Best of luck.

  • MI 7.1: Query to get correct child objects for a parent

    I have this problem for both PDA and Laptop apps.
    We have created a Data object with ‘Customer’ as parent and ‘Email’ and ‘addresses’ as child to it. Customer will have basic customer info like his name, nationality etc. email and address will have zero or more emails and addresses of that customer.
    In my application I have written a query to fetch all customers, display it in a table and upon selection of one customer I will fetch the customer id which is the key and will fire one more query with customer id as input which will fetch all his addresses and display it in another table.
    Now look at this scenario: I create a new customer. Then I go on and create a new address for the same customer. The address will also have foreign key customer id as zero. Now I go on and create one more new customer. Now when I select any of there customers their id is zero (since i havent syncd). Hence my second query would fetch the same newly created address for both the customers since both of them have customer id as zero. Now there is a option for adding join in query in PDA app. I added the join like ‘address.psynckey = customer.synckeyMMW’ in my second query to fetch addresses apart from filter ‘address.customerid := custid’ where custid is input parameter. In laptop also I clicked on ‘add join condition by relation’ button which added to existing condition ‘AND (address.psynckey = customer.synckeyMMW)’. Now even after this it is not working correctly i.e. only the relevant childs for a parent record should come. Plz help.

    Hi,
    well, I have a problem in understanding.... If I create an item locally on the device - it immediately has a SyncKEy - this is not empty! Furthermore when I select on the item, I have the Top item as select criteria - aswell at the create process. I need the TOP item to create a child item.
    Do you have a chance to look into any SAP standard app to get an idea how they do it? The ITEMMANAGER should handle the requested create,delete,modify,select handling for TOp to child items - I think there is the issue.
    Regards,
    Oliver

  • Material exchange in a PO for a parent child relationship

    Hi ,
    Please advise if there are SAP provide any solution for material exchange in a PO for a parent child relationship? I.e the two materials are NOT maintained as interchangable materials.
    Thanks.
    Regards,
    Clarice

    hello
    Do you mean exchange agreements/contracts where two parties are buyer & seller both to each other. This is well supported by Std SAP.
    Pls correct me, if I am not getting it correct.
    Ganesh...

  • Restrictions for children

    Hi,
    I have just invested in iPod Touch for both my children. We have already fallen in love with them and have had lots of fun already.
    I have set up restrictions on both and installed a safe browser app.
    This I thought would mean that anything of an unsavoury nature would be blocked but this isn't the case.
    I did a test, afterall my children will want to search for games, and searched the app store after putting restrictions in place. Both in the search area and in the apps lists themselves unsuitable content showed. Admittedly they cannot download it but they can view the sales description or title bar with words like "Sex" in the title.
    Can anyone advise me how we overcome this? I don't want to keep them from searching for apps but I do want to make sure they don't see anything unsuitable.
    Thanks in advance for any help given

    Sorry, but there's no way you can prevent your children from being able to view apps that have titles or descriptions you object to other than to disable access to the iTunes Store. Apple removed many objectionable apps a few weeks ago, but they cannot remove them everything that someone might find offensive or unsuitable for children, and at this time there is no setting, on an iPod or on a computer, that can block viewing of categories of apps based on age rating, etc, only from someone purchasing them.
    Regards.

Maybe you are looking for

  • How to design a forum like that?

    Hello, I'm studying web design and forum development, by chance, I visited a webmaster forum http://www.webmastersun.com via google I really want to design a forum look like that. can you show me ways ? which CMS should I choose ? what should I know

  • HP All in one Volume bar error

    Helloo, i have a hp all in one pc ..........from 3-4 days it is resulting a blue volume bar when ever i put the volume up or down from the keyboard .........i have tried to change my settings but unfortunately its not done..................... so plz

  • Sync 2760 with google calendar

    Hello, How can I know if my 2760 can use GCALSYNC ? they say : "any Series 40 Development Platform 3 and later, any Series 60 Second Edition and later, any Series 80, any Series 90." But I don't know what kind of serie my 2760 is. Thanks in advance f

  • Change color of separator line in ActionBar between buttons?

    There is a black line that appears after everything inserted into the actionbar, i want it to be a different color, or even be two lines together being different colors.

  • Why do I get a library function error when running system()?

    I am running a DOS program through a system() command from within a CVI program in CVI 2010.  It works on my laptop, but on my PC it crashes with a library function -3 error.  Why is that? thanks, Joel