public NlsHelpPanel() { text = new Label(); text.setCaptionAsHtml(true); addComponent(text); text.setSizeFull(); setSizeFull(); }
private static Label getStatusCountLabel() { final Label countLabel = new Label(); countLabel.setImmediate(true); countLabel.addStyleName("bulk-upload-label"); countLabel.setVisible(false); countLabel.setCaptionAsHtml(true); countLabel.setId(UIComponentIdProvider.BULK_UPLOAD_COUNT); return countLabel; }
private static Label getStatusCountLabel() { final Label countLabel = new Label(); countLabel.setImmediate(true); countLabel.addStyleName("bulk-upload-label"); countLabel.setVisible(false); countLabel.setCaptionAsHtml(true); countLabel.setId(UIComponentIdProvider.BULK_UPLOAD_COUNT); return countLabel; }
@Override protected void setValue(Object value) throws MException { // DataSource ds = getForm().getDataSource(); // ((Link)getComponentEditor()).setTargetName("_blank"); // ((Link)getComponentEditor()).setResource(new ExternalResource( MCast.toString(value) )); // ((Link)getComponentEditor()).setCaption( ds.getString(this, "label", getConfig().getString("label", "label=Link") ) ); ((Label)getComponentEditor()).setCaptionAsHtml( getConfig().getBoolean("html", true) ); if (value == null) ((Label)getComponentEditor()).setCaption(""); else { ((Label)getComponentEditor()).setCaption(String.valueOf(value)); } this.value = value; }
@Override protected void setValue(Object value) throws MException { DataSource ds = getForm().getDataSource(); // ((Link)getComponentEditor()).setTargetName("_blank"); // ((Link)getComponentEditor()).setResource(new ExternalResource( MCast.toString(value) )); // ((Link)getComponentEditor()).setCaption( ds.getString(this, "label", getConfig().getString("label", "label=Link") ) ); String label = MXml.encode( ds.getString(this, "label", getConfig().getString("label", "label=Link") ) ); ((Label)getComponentEditor()).setCaptionAsHtml(true); if (value == null) ((Label)getComponentEditor()).setCaption(label ); else { String link = MXml.encode( String.valueOf( value ) ); ((Label)getComponentEditor()).setCaption("<a href=\"" + link + "\" target=_blank>" + label + "</a>" ); } this.value = value; }
layout.addComponent(serverUrlLabel, 0, 2); statusLabel.setCaptionAsHtml(true);
parapraphOne.setCaptionAsHtml(true); parapraphOne.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " The table below shows the user directories currently configured for Ikasan."); parapraphTwo.setCaptionAsHtml(true); parapraphTwo.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " The order of the directory is the order in which it will be searched for users and groups." +
errorCloseHintLabel.setCaptionAsHtml(true); errorCloseHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Closing errors removes them from the errors view and they will no longer be reported. " +
errorCloseHintLabel.setCaptionAsHtml(true); errorCloseHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Closing errors removes them from the errors view and they will no longer be reported. " +
statusIconLabel.setCaptionAsHtml(true);
errorCloseHintLabel.setCaptionAsHtml(true); errorCloseHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Closing errors removes them from the errors view and they will no longer be reported. " +
errorCloseHintLabel.setCaptionAsHtml(true); errorCloseHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Closing errors removes them from the errors view and they will no longer be reported. " +
statusIconLabel.setCaptionAsHtml(true);
statusIconLabel.setCaptionAsHtml(true);
adminPasswordHint.setCaptionAsHtml(true); adminPasswordHint.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " The initial admin password will be used to log into the application as the 'admin' user.");
filterHintLabel.setCaptionAsHtml(true); filterHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Drag items from the topology tree to the tables below in order to create a filter.");
filterHintLabel.setCaptionAsHtml(true); filterHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Drag items from the topology tree to the tables below in order to narrow your search.");
filterHintLabel.setCaptionAsHtml(true); filterHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Drag items from the topology tree to the tables below in order to narrow your search.");
filterHintLabel.setCaptionAsHtml(true); filterHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Drag items from the topology tree to the tables below in order to narrow your search.");
filterHintLabel.setCaptionAsHtml(true); filterHintLabel.setCaption(VaadinIcons.QUESTION_CIRCLE_O.getHtml() + " Drag items from the topology tree to the tables below in order to narrow your search.");