本文整理了Java中com.vaadin.ui.Button.getDescription()
方法的一些代码示例,展示了Button.getDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.getDescription()
方法的具体详情如下:
包路径:com.vaadin.ui.Button
类名称:Button
方法名:getDescription
暂无
代码示例来源:origin: com.haulmont.cuba/cuba-web
public String getClearButtonDescription() {
return clearButton.getDescription();
}
代码示例来源:origin: KrailOrg/krail
@Test
public void interpret_de() {
String confirmValueOk = "Bestätigen Sie, dass dieser Wert in Ordnung ist";
// given
currentLocale.setLocale(Locale.GERMANY);
// when
processor.translate(testObject);
// then
assertThat(testObject.getButtonWithAnnotation()
.getCaption()).isEqualTo("OK");
assertThat(testObject.getButtonWithAnnotation()
.getDescription()).isEqualTo(confirmValueOk);
assertThat(testObject.getButtonWithAnnotation()
.getLocale()).isEqualTo(Locale.GERMANY);
assertThat(testObject.getLabel()
.getCaption()).isEqualTo("OK");
assertThat(testObject.getLabel()
.getDescription()).isEqualTo(confirmValueOk);
// assertThat(testObject.getLabel().getValue()).isEqualTo("Ok");
assertThat(testObject.getButtonWithAnnotation()
.getLocale()).isEqualTo(Locale.GERMANY);
}
代码示例来源:origin: KrailOrg/krail
.getDescription()).isIn("Confirm this Value is Ok");
assertThat(testObject.getNewButton()
.getLocale()).isEqualTo(Locale.UK);
.getCaption()).isEqualTo("Ok");
assertThat(testObject.getButtonWithAnnotation()
.getDescription()).isEqualTo("Confirm this Value is Ok");
assertThat(testObject.getButtonWithAnnotation()
.getLocale()).isEqualTo(Locale.UK);
内容来源于网络,如有侵权,请联系作者删除!