Attaching multiple files as attachments to records is a pain. Its takes lot of time plus lot of navigation. Today, I want to share a small piece of code that I have written as home page component which will inject a small section in the ‘Notes and Attachments’ related list which will allow the users […]
Tag Archives: drag and drop
Part 1 of a series of posts on how to develop JavaFX custom controls that demonstrate using drag-and-drop to create and move objects. The result is a simple application that mimics node-style editors found in major software like Blender and Unreal Development Kit (UDK).
To this point, we’ve set up a skeleton JavaFX application and separated the resources from the code. We’ve also build a few classes and two FXML documents with template code to make them functional. Finally, we created one of the custom classes (RootLayout) and added it to the Stage provided by the default application. But […]
To this point, we’ve built a skeleton application with two custom controls: RootLayout, which consists of a hierarchy of containers that define the main application view, and DragIcon, which is a simple AnchorPane representing a draggable object we can drag and drop from the left to the right side of our application. We also added […]
To this point, we’ve created our skeleton application with a SplitPane view populated with a vertical list of colored icons at left. These icons are draggable from the left-hand pane to the right-hand pane, but that’s it. In this post, we’ll complete the first drag-and-drop function as well as implement a custom drag-and-drop data structure […]
This post marks the beginning of the second component of our application, namely, making objects draggable. Most of the hard work has already been done in the first four parts of this series. We’ll rely heavily on the code already written to build what remains. Before we can begin writing code to make a draggable […]
We’ve added the new DraggableNode component to our application and put it into action, so that dragging and dropping a DragIcon from the left-hand pane to the right-hand pane results in the addition of a new DraggableNode of the same type. Now, we need to implement the handling that allows us to both move and […]