-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThemegetTheme()Returns the value of the 'Theme' attribute.booleanisCdn()Returns the value of the 'Cdn' attribute.voidsetCdn(boolean value)Sets the value of the 'Cdn' attribute.voidsetTheme(Theme value)Sets the value of the 'Theme' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.nasdanika.ncore.ModelElement
getActionPrototype, getDescription, getRepresentations, getUris, getUuid, setActionPrototype, setDescription, setUuid
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.nasdanika.html.model.html.Page
getBody, getBuilders, getHead, getLanguage, getName, getScripts, getStylesheets, setLanguage, setName
-
-
-
-
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()
-
-