Drag and Drop of individual cells JAVAFX - javafx-8

So I'm looking for some guidance I'm working on a JavaFX version 8, project where I want to be able to move/DragDrop a String content of an individual cell from a Tableview, over to another cell, in another TableView so if anyone has any tips or have done this in another project before and would share their knowledge it would be much appreciated

Related

How to link the selections in Nattable shown in a custom editor view to the sirius property view in eclipse?

I have a question regarding the linkage of the selection made on the nattable in a custom editor view and the sirius property view. Any ideas, how should i go for it, it will be really kind of you if you can highlight the steps in an easy to understand manner, because i have researched a lot on it and nothing is concrete enough to get me started to solve this task.
I am attaching two screenshots describing, what is the nature of the issue i am facing and what i want to implement.
Screenshots>
1. https://imgur.com/bVqfGc4
In the first screenshot, when i click on the element in the model explorer , its properties show up in the sirius properties view, and they should as that is how sirius property view works
2. https://imgur.com/DKsFQBi
In the second screenshot, when i click on any element on the nattable in a custom editor view containing my nattable, the sirius property view does not respond to the selection made on the nattable in that custom editor view.
I want to implement a solution where when i click on any element in the nattable, its properties hsow up in the sirius property view.
Your help and guidance in this regard will be highly appreciated. Thanks in advance.
Best Regards,
Abu
You need to implement and register an ISelectionProvider. NatTable provides currently only row based providers like the RowSelectionProvider or the E4SelectionListener.
The corresponding examples can be found here:
https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.examples/src/org/eclipse/nebula/widgets/nattable/examples/_500_Layers/_505_Selection/_5054_SelectionProviderExample.java
https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.examples.e4/src/org/eclipse/nebula/widgets/nattable/examples/e4/part/SelectionListenerExample.java

How to create an expandable and collapsable menu WITHOUT a tableviewcontroller

I have a question. I am trying to create an expandable FAQ menu without using a tableviewcontroller. The reason I don't want to use a tableview is because I don't want expandable cells, rather, I want a buttonclick to reveal a label while also sliding down any other buttons on this page.
I'm using Swift in Xcode 7.3
If anyone has any suggestions/knows of a tutorial/a forum post, it would be greatly appreciated.
Thank You.
Sure,nyou could use buttons, and either change constraints on label heights or dynamically add labels. That's a lot of effort and code.
Or, you could use a table view and one of the myriad guides. Remember that table views don't have to be selectable on ever row, and they don't have to display row separator lines (UI).
Indeed you could disable selection on all rows and add buttons to some rows, though I'd personally say that's overkill and why require the user to be 100% accurate with the tap on a button which in your sample image doesn't even look like a button.

How to select multiple items in a dropdown box in iPhone?

I am an iPhone developer. I am trying to select multiple items in a dropdown box in iPhone. I have tried all possibilities but unable to do it. Please suggest me. It's really very important to me.
Thanks in advance.
fabre..
Is there a dropdown box in iPhone? I am quiet sur that those doesn't exists and are usually replaced by tableView or picker.
What i would do is a tableview with self made cell views that are combining text and a 2 states button that design is a box checked or not depending on the button state. That should work fine with a proper controller behind.
this is one of the best examples you are looking for
https://github.com/kiran5232/KDropDownMultipleSelection/archive/master.zip

iOS SDK: Conjoined Text Fields

I don't know if I'm completely missing the boat here or what, but I can't figure out how to achieve conjoined email/password text fields like on the flow login screen. Any help is appreciated!
FYI: I'm using XCode 3.2.5
It's a custom table view cell with a label and a text field in a grouped table view probably with a single section and two rows one of which is for username and other for password. The logo could be the table view's header.
There is a simpler solution that requires no code.
If you have Photoshop, all you need to do is:
Make a new file (I recommend using the size of iPhone/iPad so you get the right size of the box you will make)
Use the Rounded Rectangle tool to make your box
Use the Line Tool to divide it up into the rows you want
Then just add it to your app as an image
Use text inputs with no borders, size them, and wa-la!
Super easy even for those not familiar with Photoshop.
Using XCode, Interface Builder, and Storyboards and Static Content.
UITableViews with static content are a new feature in Xcode 4.2 that allow tables to be designed WYSIWYG. Cells can be dragged into the table and customized by changing properties and adding controls. In previous versions of Xcode each cell would be a separate XIB file.

Reordering Cell Icon Customized

I have a table view in which i am reordering my cells
Now the issue is that the client doesn't like the icon of the reorder (i.e. 3 horizontal lines)
Is there any way you can help out.
First of all I want to know Is it possible at all?
You cannot change the standard icon. But you should be able to use a custom button and start/end editing mode programmatically (haven't tested this).
If it isn't a very custom UI at all, tell him that messing with standard icons/behavior is the best way to make users frustrated.