org.nasdanika.html.model.bootstrap.Page Maven / Gradle / Ivy
/**
*/
package org.nasdanika.html.model.bootstrap;
import org.nasdanika.html.bootstrap.Theme;
/**
*
* 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:
*
*
* - {@link org.nasdanika.html.model.bootstrap.Page#isCdn Cdn}
* - {@link org.nasdanika.html.model.bootstrap.Page#getTheme Theme}
*
*
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage()
* @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='theme'"
* @generated
*/
public interface Page extends org.nasdanika.html.model.html.Page {
/**
* 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).
*
* @return the value of the 'Cdn' attribute.
* @see #setCdn(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage_Cdn()
* @model default="true"
* @generated
*/
boolean isCdn();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Page#isCdn Cdn}' attribute.
*
*
* @param value the new value of the 'Cdn' attribute.
* @see #isCdn()
* @generated
*/
void setCdn(boolean value);
/**
* 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.
*
* @return the value of the 'Theme' attribute.
* @see #setTheme(Theme)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getPage_Theme()
* @model dataType="org.nasdanika.html.model.bootstrap.Theme"
* @generated
*/
Theme getTheme();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Page#getTheme Theme}' attribute.
*
*
* @param value the new value of the 'Theme' attribute.
* @see #getTheme()
* @generated
*/
void setTheme(Theme value);
} // Page
© 2015 - 2024 Weber Informatics LLC | Privacy Policy