本文整理匯總了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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));
}