當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。