Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
com.allen-sauer.gwt.dnd:gwt-dnd
Advanced tools
Library providing easy to use drag-and-drop capabilities to Google Web Toolkit (GWT) projects.
Library providing easy to use mouse or touch (for mobile devices) based drag-and-drop capabilities to Google Web Toolkit (GWT) projects.
If you have questions, please post them on http://groups.google.com/group/gwt-dnd and I (or someone else) will try to answer them as best as possible. Using the forum means that others can benefit from any answers and feedback you get. It is always the fastest way to get an answer to a new question.
I'd like to know if you're using gwt-dnd on your project, and how useful (or not) this library is to you. You can send me an email at fredsa@gmail.com.
Read the wiki here: https://github.com/fredsa/gwt-dnd/wiki/GettingStarted
Try the working demo:
SourcesMouseEvents
is draggable. For today's version of GWT that means FocusPanel
, HTML
, Image
and Label
are immediately draggable. Listening for mouse events on other widgets is relatively straight forward.Panel
can become a drop target. If you need absolute positioning on the drop target, use AbsolutePanel
.AbsolutePanel
, IndexedPanel
, FlowPanel
and FlexTable
drop targetsEventListener
for drag-and-drop events via DragHandler
interfaceDropController | Description | Example Use |
---|---|---|
AbsolutePositionDropController | Drag-and-Move widgets around an AbsolutePanel . | Moving drawing elements around on a flow chart. |
AbstractDropController | Create your own controllers from this base class. | Anything you can dream up. |
BoundaryDropController | All drag operations are ultimately constrained by a panel you specify. By default this panel is RootPanel.get() which means you can drag widgets over the entire page. | For use as part of the gwt-dnd implementation. |
FlexTableRowDropController | Rearrange rows in a FlexTable . | Users rearrange results of a query. |
FlowPanelDropController | Drop controller for instances of FlowPanel . | Moving elements around in flowed text. |
HorizontalPanelDropController | Drop controller for instances of HorizontalPanel . | Moving widgets in a horizontal list. |
GridConstrainedDropController | Similar to AbsolutePositionDropController , but constrains the position of the draggable widgets to a specified grid. | Allows for 'snap to grid' functionality. |
SimpleDropController | For simple drop targets which allows a widget to be dropped on them. | A trash can icon. |
VerticalPanelDropController | Drop controller for instances of VerticalPanel . | Moving widgets in a vertical list. |
Please let me know what you think. Suggestions are always welcome.
Project | Description |
---|---|
gwt-voices | Provides sound support for your GWT applications. |
gwt-log | Provides logging support for your GWT applications. |
FAQs
Library providing easy to use drag-and-drop capabilities to Google Web Toolkit (GWT) projects.
We found that com.allen-sauer.gwt.dnd:gwt-dnd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.