How to bind controls through two fxml from the PDC

I need to link different fxml controls in the PDC.

I have 3 fxml files named MainView.fxml, ChildView1.fxml and ChildView2.fxml.

MainView.fxml

" < AnchorPane fx:id = 'see' prefHeight = '280.0' prefWidth = '500.0' xmlns:fx = ' http://JavaFX.com/fxml/1 "xmlns =" " http://JavaFX.com/JavaFX/2.2 "fx:controller ="binding.example2.MainViewController">

< children >

"< prefHeight VBox = '280.0' prefWidth = '500.0" AnchorPane.bottomAnchor = "0.0" AnchorPane.leftAnchor ="0.0" AnchorPane.rightAnchor = "0.0" AnchorPane.topAnchor ="0.0" > "

< children >

< fx: include source = "ChildView1.fxml" / > "

< fx: include source = "ChildView2.fxml" / > "

< / children >

< / VBox >

< / children >

< / AnchorPane >

ChildView1.fxml is

" < AnchorPane fx:id = 'see' prefHeight = '78.0' prefWidth = '464.0' xmlns:fx = ' http://JavaFX.com/fxml/1 "xmlns =" " http://JavaFX.com/JavaFX/2.2 "fx:controller ="binding.example2.ChildView1Controller">

< children >

< HBox layoutX = we '32.0' = '14.0' prefHeight = "51.0" prefWidth = spacing "200,0" = "10.0" >

< children >

< button fx:id = "button1" mnemonicParsing = "false" prefHeight = "37.0" text = "Button1" / >

< button fx:id = "button2" mnemonicParsing = "false" prefHeight = "37.0" text = "Button2" / >

< / children >

< / HBox >

< / children >

< / AnchorPane >

ChildView2.fxml is

" < AnchorPane fx:id = 'see' prefHeight ="244,0"prefWidth ="568,0"xmlns:fx =" http://JavaFX.com/fxml/1 "xmlns =" " http://JavaFX.com/JavaFX/2.2 "fx:controller ="binding.example2.ChildView2Controller">

< children >

"" < fx:id TableView = 'tableView' prefHeight = "244,0" prefWidth = "568,0" AnchorPane.bottomAnchor = "0.0" AnchorPane.leftAnchor ="0.0" AnchorPane.rightAnchor = "0.0" AnchorPane.topAnchor ="0.0" / >

< / children >

< / AnchorPane >

Button1 is disabled by default in ChildView1Controller. I want to enable it, when a raw in my other point of view (ChildView2.fxml) table is selected. Turn it off again when the raw table is deselected. Basically, I want to link the button and table if this button is enabled when a raw table is selected.

Please help me with the code MainViewController to bind the button and the table Raw.

This thread help me?

Tags: Java

Similar Questions

  • Volume control icon has disappeared from the taskbar

    From: msiz

    My volume control button has disappeared from the lower right corner of my screen - how can I get it back?

    De : Arun

    Do not worry... Just right click on the taskbar---> properties---> select the Notification area---> system icon select "volume"... I hope this will help u...

    Another response of the community of Windows Vista discussion groups

  • How can I set a few seconds from the beach to the specific level of db?

    Hi all, I'm new to this software,

    I want to know how can I put a few seconds from the beach to the specific level of db?

    For example, I just want the maximum dB higher and the low dB to be only 3.

    the sound is more concentrated.

    How can I do?

    audition.png

    Ah, you mean compression. There are several tools in hearing that, and one to use depends on the source material. If it is spoken word, then you can use dynamic processing tool (the original), the single band compressor or, possibly, the leveller speech volume to achieve this goal. If it's music, then the multiband compressor is rather sweet.

    But with each of them, there is something important, you should firstly to your track, and it is to normalize it to 0 dB using Effects > Amplitude and Compression > Normalize. You should do this because all compressor settings are associated with a full range signal (i.e., 0 dB) to treat. If you do not do this, none of the controls will make sense. On your screen that you've expanded the display to make it much larger than it should be, then you might want to get back to normal, otherwise you will not see clearly what is happening. Hearing can artificially display any amplitude of the signal at all, due to floating-point processing system internal use, but in the real world, the audio device cannot handle more than 0 dB, please make sure that the signals exceed this.

  • How can I save my messages instand from the Webcam live messenger window

    How can I save my messages instand from the Webcam live messenger window

    Hello

    I hope that's what you're after...

    http://www.WikiHow.com/save-your-Windows-Live-Messenger-conversation-history

    Concerning

    GT4U

  • How can I move all my files from the user from one user to another on my pc?

    original title: moving files

    How can I move all my files from the user from one user to another on my pc?

    Log an administrator account. Open your folder 'user '. Select all the files, copy them, and paste them into the other folder 'user '.

  • How can I restore my photos/docs from the Dell Data Safe emergency backup file?

    incompatibility with estensions file DSB

    Files saved during the backup secure files DAT Dell are the extensions of file .dsb by the Dell site. Windows 7 does not open the files to restore on reg location Windows Media as before the backup. .Dsb error message unrecognized files. How can I restore my photos/docs from the Dell Data Safe emergency backup file?

    I know that you need a Dell utility for this...

    And what has this to do with Windows 7 photos and videos, I really don't know...

  • How add us shortcuts of applications downloaded from the app Store? (RT surface)

    Original title: App shortcuts

    Hello

    How add us shortcuts of applications downloaded from the app Store? (RT surface)

    For example: Skype shortcut on desktop

    Hello k0mrade,

    You can create shortcuts on the desktop for versions of the apps Web page, but not applications, in the strict sense. The version of the app Web page often has more features and options.

    The example you give is a good thing. If you go to the Skype Web page, you can do this Web page a favorite in user IE10 or IE10 Desktop interface. It also works with SkyDrive, Hotmail, Outlook.com, or any Microsoft service available on the internet.

    Once the favorite is created, open the Desktop IE10, then open Favorites and drag the symbol from the Web page Favorites and on the desktop. It becomes a shortcut on the desktop to this Web site (but will most likely open on the side of the user interface).

    In addition, if you use the same Microsoft account to connect to Windows RT, that you will use to connect to the Microsoft Web pages, when you open the shortcut that you'll already be connected.

  • How to print things on my computer from the reader app on Windows 8?

    How to print things on my computer from the reader app on Windows 8?

    How to print things on my computer from the reader app on Windows 8?

    Hello

    Open the document in the player application.

    Press Windows + K logo to open the charm of devices.

    You should see your installed printer here.

    Concerning

  • How to change or remove a document from the document library

    How to change or remove a document from the document library?

    Hello Cpni74876966,

    You can remove the document from the library by clicking on the tab manage and scroll down to the library and document simple click and right click Delete icon.

    -Usman

  • Photoshop CS4 - is - does anyone know how to find out if two people use the same file?

    Photoshop CS4 - is - does anyone know how to find out if two people use the same file?

    Yes, I assumed that was the case, and I thought that this link addressed to her.  I would have thought it was more a function of your network and the OS than Photoshop.

  • When you open a Photoshop file with Bridge, how can I control what version of Photoshop, the file wil

    At the opening of a bridge of fthrough Photoshop file, how can I check which version of Photoshop, the file will open in?

    I store my PSD files that is adjacent to the original RAW file which it originates.

    If I open the folder and double-click this PSD file, it opens to the CS6. But, if I use the bridge (CS6) for access to and open the same file, it starts by is Photoshop CS5 and then opens this file PSD in CS5.

    How can I control which Photoshop will open a file then choose to open it through Bridge?

    Interesting, but it does not give any idea what I'm supposed to do. No Photoshop ducuments listed.

    Look at the PSD file on the location of Curt and Photoshop Document research. Beside him ideally should show Adobe Photoshop CS6 if you have Bridge open CS6. Click to provide the fly on the menu and choose the correct Photoshop from the list.

    But probably something went wrong with your installation. By default, Bridge chooses the latest version of PS to open its plug in.

    Maybe reset preferences may also help you. Can you provide more details about the version of the OS etc.

    And you have a good reason to keep your Raw and finalized in the same place files. Personally I put them aside and use a convention of appropriate filename (YYYYMMDD and details) so I can easily search the DNG files in my archives if I needed, but I don't make mistake by opening a bad

  • How to remove Adobe Acrobat XI completely from the computer

    I had / have Adobe Acrobat 9 Standard installed on my computer. We wanted to see what additional services were available through XI.  We downloaded the trial version and when we were convinced that us did not require in this edition, we have even removed via the control panel.  Now, PDF Creator does not work anymore and the addon tab appears only in WORD.  So, when we try to download/open PDF documents from the internet, we are unable to do so.  How can I remove XI completely from my computer in order to allow PDF Maker to work again.  The error I get is that the server is can not be loaded.

    Uninstall acrobat 9, and then run the cleaner Acrobat: http://labs.adobe.com/downloads/acrobatcleaner.html

    then reinstall acrobat 9.

  • How can I move my address book from the hard drive from an old computer to a new computer?

    My old computer running Windows Vista quit on me. I removed the hard drive and plugged into my new computer running Windows 8.1. When I try to start Thunderbird from the old hard drive in order to access my address book, the Thunderbird version just install on the new computer returns to the spot. How can I get to the data in the address book in order to transfer it?

    http://KB.mozillazine.org/Moving_address_books_between_profiles

  • How to keep certain cookies are removed from the closing of Firefox

    Hello

    I wonder how to keep cookies some website when Firefox is closed, for example, I've spent some time on www.kongregate.com with that is a flash games site and you may suspect that I like to keep my progress of these games, for future visits, however, whenever I close Firefox it automatically deletes the files of "C:\Users\ < I > \AppData\Roaming\Macromedia\Flash #SharedObjects\ #------assets.kongregate.com------." that file saved kongregate games and I want to keep that, anyway, I'll post a list of my privacy settings to help you help me achieve what I write here everything as 'ON' mean that the box has check and 'OFF' that is not:

    Follow-up:

    -Say the sites that I don't want to be tracked - SUITE

    History:

    -Conservation rules: use the custom settings for history

    -Always use private browsing - OFF mode

    N ' forget not my browsing and download history - OFF

    N ' forget to search and form history - OFF

    -Accept cookies - SUITE (I added www.kongregate.com as *www.kongregate.com* to the list of exceptions with the option 'Allow')

    -Accept third party cookies - SUITE

    -Keep until: I close Firefox

    -Clear history when Firefox closes - SUITE

    Address bar:

    -When using the location bar, suggest: nothing

    Options for 'clear history of Firefox closing. "

    When I quit Firefox, it must automatically clear all:

    History:

    -L' browsing history - SUITE

    -Download history - SUITE

    -Form & Search History - SUITE

    -Cookies - On (typo corrected)

    -Active connections - OFF

    -Cache - SUITE

    Data:

    -Passwords - saved offshore

    -OFF site preferences-

    -DownThemAll! History & queue - OFF (not that matters of it)

    -Data from the offline Web site - OFF

    Here's my current settings which I think should allow me to keep the cookies from kongregate while other cookies are deleted, but if this isn't the case, please tell me which options should be set at what to me keep cookies of kongregate, if it is not possible to have that then please suggest me a few extensions that would allow me to keep the cookies to kongregate when deleting others.

    Thanks in advance!

    I don't know why you wrote above: Cookies - OFF If you were clear cookies.
    Clear cookies that also erase cookies (including Flash local storage), so I have say that if cookies have been included in this list.
    That's why I posted to check in safe mode because it would be another possibility.

    To summarize:

    In case you use "clear history of Firefox closing:

    • do not delete Cookies
    • do not delete Site preferences

    Deletion of cookies will delete all specified (selected) cookies, including cookies that have an exception permit.

    Note that compensation "Preferences of Site" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

    Allow all cookies expire when you close Firefox.

    • Tools > Options > privacy > Cookies: "Keep until the": "closing of Firefox".

    To allow an exception for those you want to keep.

    • Tools > Options > privacy > Cookies: "Exceptions."
  • How to start one of my favorites from the desktop?

    I have Firefox v16.0.2. How can I launch all bookmarks saved in Firefox from the Windows desktop (and online (Internet)) without having to start Firefox (open) all first to open bookmarks, and then click the bookmark? With IE8, I could create a shortcut on the desktop bookmark (Favorites), and then click any bookmark in IE, and run it without initially having to start IE first.

    You are welcome.

Maybe you are looking for