Interface Page

  • All Superinterfaces:
    org.nasdanika.common.Adaptable, EObject, org.nasdanika.ncore.Marked, org.nasdanika.persistence.Marked, org.nasdanika.ncore.ModelElement, Notifier, Page
    All Known Implementing Classes:
    PageImpl

    public interface Page
    extends Page
    A representation of the model object 'Page'. HTML page with bootstrap elements in the head - meta, stylesheets, and scripts. [Overview video](https://www.youtube.com/watch?v=Q6u6hL10xXA) in Russian.

    The following features are supported:

    See Also:
    BootstrapPackage.getPage()
    • Method Detail

      • isCdn

        boolean isCdn()
        Returns the value of the 'Cdn' attribute. The default value is "true". If this attribute is true (default) then a generated page contains stylesheet and script elements pointing to Bootstrap CDN (Content Delivery Network).
        Returns:
        the value of the 'Cdn' attribute.
        See Also:
        setCdn(boolean), BootstrapPackage.getPage_Cdn()
      • setCdn

        void setCdn​(boolean value)
        Sets the value of the 'Cdn' attribute.
        Parameters:
        value - the new value of the 'Cdn' attribute.
        See Also:
        isCdn()
      • getTheme

        Theme getTheme()
        Returns the value of the 'Theme' attribute. Bootstrap [theme](https://www.nasdanika.org/master/products/html/apidocs/org.nasdanika.html.bootstrap/apidocs/org/nasdanika/html/bootstrap/Theme.html). This attribute is applicable only if CDN is set to true. In this case Bootstrap stylesheets added to the page point to a specific theme.
        Returns:
        the value of the 'Theme' attribute.
        See Also:
        setTheme(Theme), BootstrapPackage.getPage_Theme()
      • setTheme

        void setTheme​(Theme value)
        Sets the value of the 'Theme' attribute.
        Parameters:
        value - the new value of the 'Theme' attribute.
        See Also:
        getTheme()