本文整理了Java中de.iwes.widgets.api.widgets.WidgetPage.linebreak()
方法的一些代码示例,展示了WidgetPage.linebreak()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WidgetPage.linebreak()
方法的具体详情如下:
包路径:de.iwes.widgets.api.widgets.WidgetPage
类名称:WidgetPage
方法名:linebreak
[英]Append a line break to the page.
[中]在页面上添加换行符。
代码示例来源:origin: org.ogema.tools/app-collections-api
private final void buildPage() {
page.append(header).linebreak().append(apps);
}
代码示例来源:origin: org.ogema.widgets/widget-extended
@SuppressWarnings("unchecked")
@Override
public <P extends ResourcePattern<R>, R extends Resource, D extends LocaleDictionary> PatternEditor<P,D> newPatternDisplayPage(
final Class<P> pattern, String url,boolean setAsStartPage, Class<D> dictionary) {
if (dictionary == null)
dictionary = (Class<D>) LocaleDictionary.class;
WidgetPage<D> page = app.createWidgetPage(url,setAsStartPage);
// page.setTitle("View pattern: "+ pattern.getSimpleName());
Header header = new Header(page, "header","View patterns: "+ pattern.getSimpleName());
header.addDefaultStyle(HeaderData.CENTERED);
page.append(header).linebreak();
PatternEditor<P,D> patternSelector = addPatternEditor(pattern, page, pattern.getSimpleName() + "_displayWidget", dictionary, true);
page.append(patternSelector).linebreak();
return patternSelector;
}
代码示例来源:origin: org.ogema.widgets/widget-extended
@SuppressWarnings("unchecked")
@Override
public <P extends ResourcePattern<R>, R extends Resource, D extends LocaleDictionary> PatternEditor<P,D> newPatternEditorPage(
final Class<P> pattern, String url, boolean setAsStartPage, Class<D> dictionary) {
if (dictionary == null)
dictionary = (Class<D>) LocaleDictionary.class;
WidgetPage<D> page = app.createWidgetPage(url, setAsStartPage);
// page.setTitle("Edit pattern: "+ pattern.getSimpleName());
Header header = new PageHeader<D>(page, "header", dictionary);
header.setDefaultText("Edit patterns: "+ pattern.getSimpleName());
page.append(header).linebreak();
PatternEditor<P,D> patternSelector = addPatternEditor(pattern, page, pattern.getSimpleName() + "_patternEditor", dictionary, false);
page.append(patternSelector).linebreak();
return patternSelector;
}
代码示例来源:origin: org.ogema.widgets/widget-extended
@Override
public <P extends ResourcePattern<R>, R extends Resource, D extends LocaleDictionary> PatternCreator<P, R, D> newPatternCreatorPage(Class<P> pattern,
String url, boolean setAsStartPage, PatternCreatorConfiguration<P, R> config, Class<D> dictionary) {
if (config == null)
config = new PatternCreatorConfiguration<>();
WidgetPage<D> page = app.createWidgetPage(url, setAsStartPage);
// page.setTitle("Create new pattern: "+ pattern.getSimpleName());
Header header = new PageHeader<D>(page, "header",dictionary);
header.setDefaultText("Create new pattern: "+ pattern.getSimpleName());
PatternCreator<P, R, D> pc = addPatternCreator(pattern, page, dictionary, config);
page.append(header).linebreak().append(pc).linebreak();
return pc;
}
代码示例来源:origin: org.ogema.widgets/widget-extended
@Override
public <P extends ContextSensitivePattern<R, C>, R extends Resource, C, D extends LocaleDictionary> PatternCreator<P, R, D> newContextPatternCreatorPage(
Class<P> pattern, String url, boolean setAsStartPage, PatternCreatorConfiguration<P, R> config, Class<D> dictionary, Class<C> contextType) {
if (config == null)
config = new PatternCreatorConfiguration<>();
WidgetPage<D> page = app.createWidgetPage(url, setAsStartPage);
// page.setTitle("Create new pattern: "+ pattern.getSimpleName());
Header header = new PageHeader<D>(page, "header",dictionary);
header.setDefaultText("Create new pattern: "+ pattern.getSimpleName());
PatternCreator<P, R, D> pc = addPatternCreator(pattern, page, dictionary, config, contextType);
page.append(header).linebreak().append(pc).linebreak();
return pc;
}
代码示例来源:origin: org.smartrplace.sim/resource-simulation
private final void buildPage() {
page.append(header).linebreak().append(alert)
.append(simulationsHeader).append(table).linebreak().append(newConfigPopupTrigger).linebreak();
.setContent(row, 0, "Select secondary type").setContent(row++, 1, templateSecondarySelector)
.setContent(row++, 1, templatePlotSubmit)
).linebreak().append(templatePlot);
newConfigPopup.setTitle("Create new simulation", null);
page.linebreak().append(newConfigPopup).linebreak().append(plotPopup);
代码示例来源:origin: org.ogema.messaging/message-settings
page.append(header).linebreak();
page.append(info).linebreak();
info.addDefaultStyle(AlertData.BOOTSTRAP_INFO);
info.setDefaultVisibility(true);
page.append(alert).linebreak();
代码示例来源:origin: org.ogema.messaging/message-settings
page.append(header).linebreak();
page.append(alert).linebreak();
内容来源于网络,如有侵权,请联系作者删除!