Vaadin DragDropLayouts

拖拽式的 Vaadin 布局。(Drag and Drop for Vaadin layouts)

  • 所有者: cuba-platform/vaadin-dragdroplayouts
  • 平台: BSD, Cross-platform, Linux, Mac, Windows
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

DragDropLayouts

Build Status

Currently when you want to drag and drop between layouts you will have to wrap the source component in a DragAndDropWrapper.
Many times this is adequate but it tends to add some complexity to the code and yet another element in the DOM. It would
be much nicer if the layouts would handle this for you.

To solve this issue I have extended the core layouts and implemented the necessary functionality so the layouts are valid
drag sources and drop targets. This means that in your code you don't have to concern yourself with the drag and drop when
adding components, only enable drag&drop in the layout and you are ready to go!

A running demo can be found here

Supported layouts

  • AbsoluteLayout (DDAbsoluteLayout)
  • HorizontalLayout (DDHorizontalLayout)
  • VerticalLayout (DDVerticalLayout)
  • GridLayout (DDGridLayout)
  • HorizontalSplitPanel (DDHorizontalSplitPanel)
  • VerticalSplitPanel (DDVerticalSplitPanel)
  • TabSheet (DDTabSheet)
  • Accordion (DDAccordion)
  • CssLayout (DDCssLayout)
  • FormLayout (DDFormLayout)
  • Panel (DDPanel)

Versioning

Please see the version table below to decide which version to use in your project:

Vaadin DragDropLayouts
6.x 0.x
7.0.x+ 1.0.x
7.2.x+ 1.1.x
7.6.x+ 1.2.x
7.7.x+ 1.3.x
8.x 1.4.x

Branches

Currently there are two active development streams; one for Framework 7 and another one for Framework 8. Pull-requests that target the Framework 7 stream should be created against the vaadin7 branch. Changes for the Framework 8 version can be created for master as usual. Note that changes that fix an issue in both versions need two PR's respectively.

主要指標

概覽
名稱與所有者cuba-platform/vaadin-dragdroplayouts
主編程語言Java
編程語言Java (語言數: 2)
平台BSD, Cross-platform, Linux, Mac, Windows
許可證
所有者活动
創建於2015-12-16 07:33:11
推送於2019-02-07 13:17:21
最后一次提交2018-06-15 12:46:06
發布數18
最新版本名稱1.3.2.cuba.6 (發布於 )
第一版名稱1.0 (發布於 2013-11-29 09:05:19)
用户参与
星數5
關注者數21
派生數1
提交數333
已啟用問題?
問題數1
打開的問題數0
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?