本文整理汇总了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));
}