本文整理了Java中org.gwtbootstrap3.client.ui.Label.setVisible()
方法的一些代码示例,展示了Label.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setVisible()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Label
类名称:Label
方法名:setVisible
暂无
代码示例来源:origin: org.dashbuilder/dashbuilder-common-client
@Override
public FileUploadEditor.View setFileLabelVisible(final boolean visible) {
fileLabel.setVisible(visible);
return this;
}
代码示例来源:origin: dashbuilder/dashbuilder
@Override
public FileUploadEditor.View setFileLabelVisible(final boolean visible) {
fileLabel.setVisible(visible);
return this;
}
代码示例来源:origin: kiegroup/appformer
@Override
public void errorDataSetNotFound(String dataSetUUID) {
statusLabel.setVisible(true);
statusLabel.setText(CommonConstants.INSTANCE.dataset_lookup_dataset_notfound(dataSetUUID));
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
@Override
public void errorDataSetNotFound(String dataSetUUID) {
statusLabel.setVisible(true);
statusLabel.setText(CommonConstants.INSTANCE.dataset_lookup_dataset_notfound(dataSetUUID));
}
代码示例来源:origin: org.drools/drools-wb-globals-editor-client
@Inject
public GlobalsEditorViewImpl( final Label generatedLabel,
final Button addGlobalButton,
final AddGlobalPopup addGlobalPopup,
final TranslationService translationService) {
this.generatedLabel = generatedLabel;
this.addGlobalButton = addGlobalButton;
this.addGlobalPopup = addGlobalPopup;
this.translationService = translationService;
setup();
// Hide/disable the following until content is loaded
generatedLabel.setVisible( false );
addGlobalButton.setEnabled( false );
}
代码示例来源:origin: kiegroup/drools-wb
@Inject
public GlobalsEditorViewImpl( final Label generatedLabel,
final Button addGlobalButton,
final AddGlobalPopup addGlobalPopup,
final TranslationService translationService) {
this.generatedLabel = generatedLabel;
this.addGlobalButton = addGlobalButton;
this.addGlobalPopup = addGlobalPopup;
this.translationService = translationService;
setup();
// Hide/disable the following until content is loaded
generatedLabel.setVisible( false );
addGlobalButton.setEnabled( false );
}
代码示例来源:origin: dashbuilder/dashbuilder
@Override
public MapEditor.View clearError() {
final Element element = errorLabel.getElement();
element.setInnerText("");
element.getStyle().setDisplay(Style.Display.NONE);
element.getStyle().setBorderWidth(0, Style.Unit.PX);
errorLabel.setVisible(false);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-common-client
@Override
public MapEditor.View clearError() {
final Element element = errorLabel.getElement();
element.setInnerText("");
element.getStyle().setDisplay(Style.Display.NONE);
element.getStyle().setBorderWidth(0, Style.Unit.PX);
errorLabel.setVisible(false);
return this;
}
代码示例来源:origin: dashbuilder/dashbuilder
@Override
public MapEditor.View showError(final SafeHtml message) {
final Element element = errorLabel.getElement();
element.setInnerText(message.asString());
element.getStyle().setDisplay(Style.Display.INLINE);
element.getStyle().setBorderColor("red");
element.getStyle().setBorderStyle(Style.BorderStyle.SOLID);
element.getStyle().setBorderWidth(1, Style.Unit.PX);
errorLabel.setVisible(true);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-common-client
@Override
public MapEditor.View showError(final SafeHtml message) {
final Element element = errorLabel.getElement();
element.setInnerText(message.asString());
element.getStyle().setDisplay(Style.Display.INLINE);
element.getStyle().setBorderColor("red");
element.getStyle().setBorderStyle(Style.BorderStyle.SOLID);
element.getStyle().setBorderWidth(1, Style.Unit.PX);
errorLabel.setVisible(true);
return this;
}
代码示例来源:origin: kiegroup/drools-wb
@Override
public void setContent( final List<Global> globals,
final List<String> fullyQualifiedClassNames,
final boolean isReadOnly,
final boolean isGenerated ) {
this.globals = globals;
this.fullyQualifiedClassNames = fullyQualifiedClassNames;
this.dataProvider.setList( globals );
this.generatedLabel.setVisible( isGenerated );
this.addGlobalButton.setEnabled( !isReadOnly && !isGenerated );
this.deleteGlobalButton.setEnabled( !isReadOnly && !isGenerated );
}
代码示例来源:origin: org.drools/drools-wb-globals-editor-client
@Override
public void setContent( final List<Global> globals,
final List<String> fullyQualifiedClassNames,
final boolean isReadOnly,
final boolean isGenerated ) {
this.globals = globals;
this.fullyQualifiedClassNames = fullyQualifiedClassNames;
this.dataProvider.setList( globals );
this.generatedLabel.setVisible( isGenerated );
this.addGlobalButton.setEnabled( !isReadOnly && !isGenerated );
this.deleteGlobalButton.setEnabled( !isReadOnly && !isGenerated );
}
代码示例来源:origin: org.uberfire/uberfire-widgets-security-management
@Override
public EntitiesExplorerView showMessage(final LabelType labelType,
final String message) {
clear();
mainLabel.setText(message);
mainLabel.setType(labelType);
mainLabel.setVisible(true);
mainContainer.setVisible(false);
return this;
}
代码示例来源:origin: kiegroup/appformer
@Override
public EntitiesExplorerView showMessage(final LabelType labelType,
final String message) {
clear();
mainLabel.setText(message);
mainLabel.setType(labelType);
mainLabel.setVisible(true);
mainContainer.setVisible(false);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
@Override
public void error(ClientRuntimeError e) {
statusLabel.setVisible(true);
statusLabel.setText(e.getCause());
if (e.getThrowable() != null) {
GWT.log(e.getMessage(), e.getThrowable());
} else {
GWT.log(e.getMessage());
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public void error(ClientRuntimeError e) {
statusLabel.setVisible(true);
statusLabel.setText(e.getCause());
if (e.getThrowable() != null) {
GWT.log(e.getMessage(), e.getThrowable());
} else {
GWT.log(e.getMessage());
}
}
内容来源于网络,如有侵权,请联系作者删除!