Search in sources :

Example 1 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method textField.

@Test
public void textField() {
    TextField c = new TextField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) TextField(com.vaadin.flow.component.textfield.TextField) Test(org.junit.Test)

Example 2 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method integerField.

@Test
public void integerField() {
    IntegerField c = new IntegerField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) IntegerField(com.vaadin.flow.component.textfield.IntegerField) Test(org.junit.Test)

Example 3 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method bigDecimalField.

@Test
public void bigDecimalField() {
    BigDecimalField c = new BigDecimalField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) BigDecimalField(com.vaadin.flow.component.textfield.BigDecimalField) Test(org.junit.Test)

Example 4 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method checkbox.

@Test
public void checkbox() {
    Checkbox c = new Checkbox();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) Checkbox(com.vaadin.flow.component.checkbox.Checkbox) Test(org.junit.Test)

Example 5 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method emailField.

@Test
public void emailField() {
    EmailField c = new EmailField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) EmailField(com.vaadin.flow.component.textfield.EmailField) Test(org.junit.Test)

Aggregations

HasLabel (com.vaadin.flow.component.HasLabel)10 Test (org.junit.Test)10 TextField (com.vaadin.flow.component.textfield.TextField)2 Checkbox (com.vaadin.flow.component.checkbox.Checkbox)1 Tab (com.vaadin.flow.component.tabs.Tab)1 BigDecimalField (com.vaadin.flow.component.textfield.BigDecimalField)1 EmailField (com.vaadin.flow.component.textfield.EmailField)1 IntegerField (com.vaadin.flow.component.textfield.IntegerField)1 NumberField (com.vaadin.flow.component.textfield.NumberField)1 TextArea (com.vaadin.flow.component.textfield.TextArea)1 TimePicker (com.vaadin.flow.component.timepicker.TimePicker)1