Browse Source

Add GridItemEditor declarative test UI

Change-Id: I4a26d1508cc422bada57626f67f16d118be5f237
tags/7.5.0.beta1
Teemu Suo-Anttila 9 years ago
parent
commit
f90d32f230

+ 81
- 0
uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.html View File

@@ -0,0 +1,81 @@
<v-grid caption="Double click to edit" width="100%" height="100%"
editable selection-mode="none">
<table>
<colgroup>
<col property-id="index" editable=false width="50" expand=0>
<col property-id="name" expand=2>
<col property-id="progress" expand=2>
<col property-id="weight" editable=false expand=4>
</colgroup>
<thead>
<tr>
<th>##
<th>Name
<th>Progress
<th>Weight
</tr>
</thead>
<tbody>
<tr>
<td>00
<td>Marc Addams
<td>0.42
<td>[SparkLine]
</tr>
<tr>
<td>01
<td>Kenny Black
<td>0.72
<td>[SparkLine]
</tr>
<tr>
<td>02
<td>Sarah McGoff
<td>0.12
<td>[SparkLine]
</tr>
<tr>
<td>03
<td>Jos Jones
<td>0.62
<td>[SparkLine]
</tr>
<tr>
<td>04
<td>Jane Fielding
<td>0.92
<td>[SparkLine]
</tr>
<tr>
<td>05
<td>Marc Einstein
<td>0.05
<td>[SparkLine]
</tr>
<tr>
<td>06
<td>Lenny McGoff
<td>0.40
<td>[SparkLine]
</tr>
<tr>
<td>07
<td>Peter Adams
<td>0.85
<td>[SparkLine]
</tr>
<tr>
<td>08
<td>Tony Stark
<td>0.22
<td>[SparkLine]
</tr>
<tr>
<td>09
<td>Nathan Fillion
<td>0.15
<td>[SparkLine]
</tr>
</tbody>
</table>
</v-grid>

+ 23
- 0
uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.java View File

@@ -0,0 +1,23 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.tests.components.grid.declarative;

import com.vaadin.tests.components.DeclarativeTestUI;
import com.vaadin.tests.components.DeclarativeTestUI.DeclarativeUI;

@DeclarativeUI("GridItemEditor.html")
public class GridItemEditor extends DeclarativeTestUI {
}

Loading…
Cancel
Save