com.vaadin.ui.Table.TableDragMode Java Examples
The following examples show how to use
com.vaadin.ui.Table.TableDragMode.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ArtifactDetailsLayout.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private void createArtifactDetailsMaxView() { artifactDetailsTable.setValue(null); artifactDetailsTable.setSelectable(false); artifactDetailsTable.setMultiSelect(false); artifactDetailsTable.setDragMode(TableDragMode.NONE); artifactDetailsTable.setColumnCollapsingAllowed(true); artifactUploadState.setArtifactDetailsMaximized(Boolean.TRUE); eventBus.publish(this, ArtifactDetailsEvent.MAXIMIZED); }
Example #2
Source File: PolicyEditor.java From XACML with MIT License | 5 votes |
protected void resetComponents() { if (this.isReadOnly()) { this.checkBoxAutoSave.setEnabled(false); this.buttonSave.setEnabled(false); this.tree.setDragMode(TableDragMode.NONE); this.tree.removeAllActionHandlers(); this.tree.setReadOnly(true); } else { this.checkBoxAutoSave.setEnabled(true); this.buttonSave.setEnabled(this.isModified); this.tree.setReadOnly(false); this.tree.setDragMode(TableDragMode.ROW); this.installTreeActionHandler(); } }