Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.sibvisions.external.jvxfx:dndtabpane

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.sibvisions.external.jvxfx:dndtabpane

A TabPane for JavaFX that supports Drag and Drop.

  • 0.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
2
Source

javafx.DndTabPane

This repository holds a Drag'n'Drop extended TabPane which is an extension of the default JavaFX TabPane.

This TabPane was written by Tom Schindl at BestSolution and is part of the "org.eclipse.fx.ui.controls" bundle which itself is part of the SWT on JavaFX efforts.

It has been extracted for easier reusability in the JVx JavaFX project.

RT-19659 is the request which is concerned with getting such a functionality into the default JavaFX TabPane. It is at the moment slated for version 9.

License

Source code in this repository is licensed under the Eclipse Public License 1.0.

Usage example

The DndTabPane needs to be wrapped in an additional container pane, and can be created via the factory:

Pane containerPane = DndTabPaneFactory.createDefaultDnDPane(FeedbackType.MARKER, null);
DndTabPane tabPane = (DndTabPane) containerPane.getChildren().get(0);

There is also a more fine-grained method available:

// Create the necessary panes.
DndTabPane tabPane = new DndTabPane();
StackPane containerPane = new StackPane(tabPane);

// We need to create the skin manually, could also be your custom skin.
DnDTabPaneSkin skin = new DnDTabPaneSkin(tabPane);

// Setup the dragging.
DndTabPaneFactory.setup(FeedbackType.MARKER, containerPane, skin);

// Set the skin.
tabPane.setSkin(skin);

FAQs

Package last updated on 16 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc