Skip to contentPackage: NodeContainerViewController$2
NodeContainerViewController$2
name | instruction | branch | complexity | line | method |
---|
{...} |
|
|
|
|
|
Coverage
1: /*
2: * *************************************************************************************************************************************************************
3: *
4: * NorthernWind - lightweight CMS
5: * http://tidalwave.it/projects/northernwind
6: *
7: * Copyright (C) 2011 - 2025 Tidalwave s.a.s. (http://tidalwave.it)
8: *
9: * *************************************************************************************************************************************************************
10: *
11: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
12: * You may obtain a copy of the License at
13: *
14: * http://www.apache.org/licenses/LICENSE-2.0
15: *
16: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
17: * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
18: *
19: * *************************************************************************************************************************************************************
20: *
21: * git clone https://bitbucket.org/tidalwave/northernwind-src
22: * git clone https://github.com/tidalwave-it/northernwind-src
23: *
24: * *************************************************************************************************************************************************************
25: */
26: package it.tidalwave.northernwind.frontend.ui.component.nodecontainer;
27:
28: import java.util.List;
29: import it.tidalwave.util.Key;
30: import it.tidalwave.northernwind.frontend.ui.ViewController;
31:
32: /***************************************************************************************************************************************************************
33: *
34: * @author Fabrizio Giudici
35: *
36: **************************************************************************************************************************************************************/
37: public interface NodeContainerViewController extends ViewController
38: {
39: /** The prefix to prepend to the HTML title. */
40: public static final Key<String> P_TITLE_PREFIX = Key.of("titlePrefix", String.class);
41:
42: /** The list of relative paths or URLs for screen CSS style sheets. */
43: public static final Key<List<String>> P_SCREEN_STYLE_SHEETS = new Key<>("screenStyleSheets") {};
44:
45: /** The list of relative paths or URLs for print CSS style sheets. */
46: public static final Key<List<String>> P_PRINT_STYLE_SHEETS = new Key<>("printStyleSheets") {};
47:
48: /** The list of relative paths for inlined RSS feeds. */
49: public static final Key<List<String>> P_RSS_FEEDS = new Key<>("rssFeeds") {};
50:
51: /** The list of relative paths or URLs for external JavaScript scripts. */
52: public static final Key<List<String>> P_SCRIPTS = new Key<>("scripts") {};
53:
54: /** The list of relative paths for inlined JavaScript scripts. */
55: public static final Key<List<String>> P_INLINED_SCRIPTS = new Key<>("inlinedScripts") {};
56:
57: /** Dynamic property generated during rendering with the title of the blog post. */
58: public static final Key<String> PD_TITLE = Key.of("@title", String.class);
59:
60: /** Dynamic property generated during rendering with the permalink of the blog post. */
61: public static final Key<String> PD_URL = Key.of("@url", String.class);
62:
63: /** Dynamic property generated during rendering with the unique id of the blog post. */
64: public static final Key<String> PD_ID = Key.of("@id", String.class);
65:
66: /** Dynamic property generated during rendering with the id of the primary image to be associated to this view. */
67: public static final Key<String> PD_IMAGE_ID = Key.of("@imageId", String.class);
68: }