当前位置: 首页>>代码示例>>Java>>正文


Java CssHeaderItem类代码示例

本文整理汇总了Java中org.apache.wicket.markup.head.CssHeaderItem的典型用法代码示例。如果您正苦于以下问题:Java CssHeaderItem类的具体用法?Java CssHeaderItem怎么用?Java CssHeaderItem使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


CssHeaderItem类属于org.apache.wicket.markup.head包,在下文中一共展示了CssHeaderItem类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new JQueryUIResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new SelectionPopoverResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new HoverResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new ScrollIntoViewResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new DoneEventsResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new HotkeysResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new CookiesResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new CodeMirrorResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new ClipboardResourceReference()));
	dependencies.add(CssHeaderItem.forReference(
			new BaseDependentCssResourceReference(SourceViewResourceReference.class, "source-view.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:17,代码来源:SourceViewResourceReference.java

示例2: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new ScrollIntoViewResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new CaretResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new HotkeysResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new TextareaCaretPositionResourceReference()));
	dependencies.add(CssHeaderItem.forReference(new BaseDependentCssResourceReference(
			InputAssistResourceReference.class, "input-assist.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:12,代码来源:InputAssistResourceReference.java

示例3: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new JQueryUIResourceReference()));
	dependencies.add(CssHeaderItem.forReference(
			new BaseDependentCssResourceReference(DragDropResourceReference.class, "dragdrop.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:9,代码来源:DragDropResourceReference.java

示例4: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = new ArrayList<>();
	dependencies.add(JavaScriptHeaderItem.forReference(Application.get().getJavaScriptLibrarySettings().getJQueryReference()));
	dependencies.add(CssHeaderItem.forReference(new CssResourceReference(
			SelectionPopoverResourceReference.class, "jquery.selectionpopover.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:9,代码来源:SelectionPopoverResourceReference.java

示例5: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = new ArrayList<>();
	dependencies.add(JavaScriptHeaderItem.forReference(
			Application.get().getJavaScriptLibrarySettings().getJQueryReference()));
	dependencies.add(CssHeaderItem.forReference(
			new CssResourceReference(DropzoneResourceReference.class, "dropzone.css")));
	dependencies.add(OnDomReadyHeaderItem.forScript("Dropzone.autoDiscover = false;"));
	
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:12,代码来源:DropzoneResourceReference.java

示例6: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = new ArrayList<>();
	dependencies.add(JavaScriptHeaderItem.forReference(
			Application.get().getJavaScriptLibrarySettings().getJQueryReference()));
	dependencies.add(CssHeaderItem.forReference(
			new CssResourceReference(JQueryUIResourceReference.class, "jquery-ui.min.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:10,代码来源:JQueryUIResourceReference.java

示例7: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = new ArrayList<>();
	dependencies.add(JavaScriptHeaderItem.forReference(Application.get().getJavaScriptLibrarySettings().getJQueryReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new JavaScriptResourceReference(
			AtWhoResourceReference.class, "jquery.atwho-caret.js")));
	dependencies.add(CssHeaderItem.forReference(new CssResourceReference(
			AtWhoResourceReference.class, "jquery.atwho.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:11,代码来源:AtWhoResourceReference.java

示例8: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new CaretResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new AtWhoResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new CodeMirrorResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new TextareaCaretPositionResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new DoneEventsResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new CookiesResourceReference()));
	dependencies.add(JavaScriptHeaderItem.forReference(new JQueryUIResourceReference()));

	dependencies.add(CssHeaderItem.forReference(
			new BaseDependentCssResourceReference(MarkdownResourceReference.class, "markdown.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:16,代码来源:MarkdownResourceReference.java

示例9: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(CssHeaderItem.forReference(
			new CssResourceReference(UserChoiceResourceReference.class, "user-choice.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:8,代码来源:UserChoiceResourceReference.java

示例10: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new HotkeysResourceReference()));
	dependencies.add(CssHeaderItem.forReference(new CssResourceReference(RevisionSelectorResourceReference.class, "revision-selector.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:8,代码来源:RevisionSelectorResourceReference.java

示例11: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = new ArrayList<>();
	dependencies.add(JavaScriptHeaderItem.forReference(new Js1ResourceReferenceC()));
	dependencies.add(CssHeaderItem.forReference(new CssResourceReference(Js3ResourceReferenceC.class, "3.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:8,代码来源:Js3ResourceReferenceC.java

示例12: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new DropzoneResourceReference()));
	dependencies.add(CssHeaderItem.forReference(
			new BaseDependentCssResourceReference(DropzoneField.class, "dropzone-field.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:9,代码来源:DropzoneFieldResourceReference.java

示例13: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new SnapSvgResourceReference()));
	dependencies.add(CssHeaderItem.forReference(
			new CssResourceReference(CommitGraphResourceReference.class, "commit-graph.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:9,代码来源:CommitGraphResourceReference.java

示例14: getDependencies

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
	List<HeaderItem> dependencies = super.getDependencies();
	dependencies.add(JavaScriptHeaderItem.forReference(new HotkeysResourceReference()));
	dependencies.add(CssHeaderItem.forReference(
			new CssResourceReference(BranchSelectorResourceReference.class, "branch-selector.css")));
	return dependencies;
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:9,代码来源:BranchSelectorResourceReference.java

示例15: renderHead

import org.apache.wicket.markup.head.CssHeaderItem; //导入依赖的package包/类
@Override
public void renderHead(IHeaderResponse response) {
	super.renderHead(response);
	
	response.render(JavaScriptHeaderItem.forReference(new CommitGraphResourceReference()));
	response.render(CssHeaderItem.forReference(new CommitListResourceReference()));
	
	String jsonOfCommits = CommitGraphUtils.asJSON(commitsModel.getObject());
	String script = String.format("gitplex.server.commitgraph.render('%s', %s);", container.getMarkupId(), jsonOfCommits);
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:12,代码来源:CommitListPanel.java


注:本文中的org.apache.wicket.markup.head.CssHeaderItem类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。