本文整理汇总了Java中de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference类的典型用法代码示例。如果您正苦于以下问题:Java WebjarsCssResourceReference类的具体用法?Java WebjarsCssResourceReference怎么用?Java WebjarsCssResourceReference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WebjarsCssResourceReference类属于de.agilecoders.wicket.webjars.request.resource包,在下文中一共展示了WebjarsCssResourceReference类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getDependencies
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
List<HeaderItem> dependencies = super.getDependencies();
dependencies.add(JavaScriptHeaderItem.forReference(new HoverResourceReference()));
dependencies.add(JavaScriptHeaderItem.forReference(new SelectionPopoverResourceReference()));
dependencies.add(JavaScriptHeaderItem.forReference(new ClipboardResourceReference()));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/theme/eclipse.css")));
dependencies.add(CssHeaderItem.forReference(new CssResourceReference(TextDiffPanel.class, "text-diff.css")));
return dependencies;
}
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:11,代码来源:TextDiffResourceReference.java
示例2: renderHead
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
response.render(CssHeaderItem.forReference(new WebjarsCssResourceReference("jointjs/0.9.7/dist/joint.min.css")));
response.render(JavaScriptHeaderItem.forReference(getApplication().getJavaScriptLibrarySettings().getJQueryReference()));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("lodash/3.10.1/lodash.min.js")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("backbone/1.2.3/backbone-min.js")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("graphlib/1.0.7/dist/graphlib.core.min.js")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("dagre/0.7.4/dist/dagre.core.min.js")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("jointjs/0.9.7/dist/joint.min.js")));
// response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("jointjs/0.9.7/dist/joint.shapes.uml.min.js")));
// response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("jointjs/0.9.7/dist/joint.layout.DirectedGraph.min.js")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("underscore/1.8.3/underscore-min.js")));
}
开发者ID:lumenrobot,项目名称:lumen,代码行数:16,代码来源:SkillPanel.java
示例3: renderHead
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/lib/codemirror.js")));
response.render(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/lib/codemirror.css")));
response.render(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/mode/properties/properties.js")));
response.render(OnLoadHeaderItem.forScript(
"var cm = CodeMirror.fromTextArea(document.getElementById('" + getMarkupId() + "'), { readOnly: " + readOnly + " });"
+ "cm.on('change',function(cm){"
+ "document.getElementById('" + getMarkupId() + "').value = cm.getValue();"
+ "});"));
}
开发者ID:orange-cloudfoundry,项目名称:elpaaso-core,代码行数:13,代码来源:CodeMirrorTextArea.java
示例4: renderHead
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
@Override
public void renderHead(IHeaderResponse response) {
response.render(CssHeaderItem.forReference(
new PackageResourceReference(GizmoTheme.class, "bootstrap.css")));
response.render(CssHeaderItem.forReference(
new WebjarsCssResourceReference("/bootstrap-switch/current/css/bootstrap3/bootstrap-switch.css")));
response.render(JavaScriptHeaderItem.forReference(
new WebjarsJavaScriptResourceReference("/bootstrap-switch/current/js/bootstrap-switch.js")));
}
开发者ID:Evolveum,项目名称:gizmo-v3,代码行数:12,代码来源:GizmoTheme.java
示例5: getDependencies
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
@Override
public List<HeaderItem> getDependencies() {
List<HeaderItem> dependencies = super.getDependencies();
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/lib/codemirror.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/mode/overlay.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/mode/loadmode.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/edit/matchbrackets.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/dialog/dialog.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/foldcode.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/foldgutter.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/brace-fold.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/xml-fold.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/markdown-fold.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/fold/comment-fold.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/search/searchcursor.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/search/search.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/search/matchesonscrollbar.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "matchesonscrollbar2.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/selection/active-line.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/scroll/annotatescrollbar.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/display/fullscreen.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/addon/selection/mark-selection.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "annotatescrollbar2.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "simplescrollbars.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "gotoline.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "identifier-highlighter.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new BaseDependentResourceReference(CodeMirrorResourceReference.class, "highlight.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new WebjarsJavaScriptResourceReference("codemirror/current/mode/meta.js")));
dependencies.add(JavaScriptHeaderItem.forReference(new ModeUrlResourceReference()));
dependencies.add(JavaScriptHeaderItem.forReference(new HotkeysResourceReference()));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/lib/codemirror.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/theme/eclipse.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/addon/dialog/dialog.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/addon/fold/foldgutter.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/addon/scroll/simplescrollbars.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/addon/search/matchesonscrollbar.css")));
dependencies.add(CssHeaderItem.forReference(new WebjarsCssResourceReference("codemirror/current/addon/display/fullscreen.css")));
dependencies.add(CssHeaderItem.forReference(new BaseDependentCssResourceReference(CodeMirrorResourceReference.class, "highlight.css")));
dependencies.add(CssHeaderItem.forReference(new BaseDependentCssResourceReference(CodeMirrorResourceReference.class, "codemirror.css")));
return dependencies;
}
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:45,代码来源:CodeMirrorResourceReference.java
示例6: addFontAwesome
import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference; //导入依赖的package包/类
private void addFontAwesome(IHeaderResponse response) {
response.render(CssHeaderItem.forReference(
new WebjarsCssResourceReference("font-awesome/current/css/font-awesome.min.css")));
}
开发者ID:mpostelnicu,项目名称:wicket-spring-jpa-bootstrap-boilerplate,代码行数:5,代码来源:AbstractWebPage.java
注:本文中的de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论