| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.csskit.antlr | |
| cz.vutbr.web.domassign |
| Modifier and Type | Method and Description |
|---|---|
Declaration |
RuleFactory.createDeclaration()
Creates CSS declaration
|
Declaration |
RuleFactory.createDeclaration(Declaration clone)
Creates CSS declaration by shallow cloning
|
Declaration |
NodeData.getSourceDeclaration(String name)
Obtains the source declaration used for this property.
|
| Modifier and Type | Method and Description |
|---|---|
Declaration |
RuleFactory.createDeclaration(Declaration clone)
Creates CSS declaration by shallow cloning
|
NodeData |
NodeData.push(Declaration d)
Adds data stored in declaration into current instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
DeclarationImpl
CSS Declaration
|
| Modifier and Type | Method and Description |
|---|---|
Declaration |
RuleFactoryImpl.createDeclaration() |
Declaration |
RuleFactoryImpl.createDeclaration(Declaration clone) |
| Modifier and Type | Method and Description |
|---|---|
int |
DeclarationImpl.compareTo(Declaration o)
This declaration type is not about to be compared
using precise conditions
|
Declaration |
RuleFactoryImpl.createDeclaration(Declaration clone) |
| Constructor and Description |
|---|
DeclarationImpl(Declaration clone)
Shallow copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Declaration |
CSSTreeParser.declaration() |
| Modifier and Type | Method and Description |
|---|---|
List<Declaration> |
CSSTreeParser.declarations() |
| Modifier and Type | Method and Description |
|---|---|
RuleBlock<?> |
SimplePreparator.prepareInlineRuleSet(List<Declaration> dlist,
List<Selector.PseudoPage> pseudos) |
RuleBlock<?> |
Preparator.prepareInlineRuleSet(List<Declaration> dlist,
List<Selector.PseudoPage> pseudos)
Creates block of rules as result of parsing in-line declaration.
|
RuleBlock<?> |
SimplePreparator.prepareRuleFontFace(List<Declaration> decl) |
RuleBlock<?> |
Preparator.prepareRuleFontFace(List<Declaration> decl)
Creates RuleFontFace, block of rules associated with specific font
|
RuleMargin |
SimplePreparator.prepareRuleMargin(String area,
List<Declaration> decl) |
RuleMargin |
Preparator.prepareRuleMargin(String area,
List<Declaration> declarations)
Creates RuleMargin, block of declarations associated with specific area in the page margin.
|
RuleBlock<?> |
SimplePreparator.prepareRulePage(List<Declaration> declarations,
List<RuleMargin> marginRules,
String name,
String pseudo) |
RuleBlock<?> |
Preparator.prepareRulePage(List<Declaration> declarations,
List<RuleMargin> marginRules,
String name,
String pseudo)
Creates RulePage, block of rules associated with specific page
|
RuleBlock<?> |
SimplePreparator.prepareRuleSet(List<CombinedSelector> cslist,
List<Declaration> dlist,
boolean wrap,
List<String> media) |
RuleBlock<?> |
Preparator.prepareRuleSet(List<CombinedSelector> cslist,
List<Declaration> dlist,
boolean wrap,
List<String> media)
Creates base block of rules.
|
RuleBlock<?> |
SimplePreparator.prepareRuleViewport(List<Declaration> decl) |
RuleBlock<?> |
Preparator.prepareRuleViewport(List<Declaration> decl)
Creates RuleViewport, block of rules associated with the viewport.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AssignedDeclaration
Adds specificity to declaration from its selector.
|
| Modifier and Type | Method and Description |
|---|---|
Declaration |
SingleMapNodeData.getSourceDeclaration(String name) |
Declaration |
QuadrupleMapNodeData.getSourceDeclaration(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Declaration> |
DeclarationMap.createDataInstance() |
protected List<Declaration> |
DirectAnalyzer.getDeclarationsForElement(Element e,
Selector.PseudoDeclaration pseudo,
Analyzer.Holder holder) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeclarationMap.addDeclaration(Element el,
Selector.PseudoDeclaration pseudo,
Declaration decl)
Adds a declaration for a specified list.
|
void |
Variator.assignTermsFromDeclaration(Declaration d)
Assigns terms from declaration
|
int |
AssignedDeclaration.compareTo(Declaration other) |
protected <T extends CSSProperty> |
DeclarationTransformer.genericOneIdent(Class<T> type,
Declaration d,
Map<String,CSSProperty> properties)
Processes declaration which is supposed to contain one identification
term
|
protected <T extends CSSProperty> |
DeclarationTransformer.genericOneIdentOrColor(Class<T> type,
T colorIdentification,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Processes declaration which is supposed to contain one identification
term or one TermColor
|
protected <T extends CSSProperty> |
DeclarationTransformer.genericOneIdentOrInteger(Class<T> type,
T integerIdentification,
boolean sanify,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformer.genericOneIdentOrIntegerOrNumber(Class<T> type,
T integerIdentification,
T numberIdentification,
boolean sanify,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformer.genericOneIdentOrLength(Class<T> type,
T lengthIdentification,
boolean sanify,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends Enum<T> & CSSProperty> |
DeclarationTransformer.genericOneIdentOrLengthOrPercent(Class<T> type,
T lengthIdentification,
T percentIdentification,
boolean sanify,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends Enum<T> & CSSProperty> |
DeclarationTransformer.genericTwoIdentsOrLengthsOrPercents(Class<T> type,
T listIdentification,
boolean sanify,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
boolean |
DeclarationTransformer.parseDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Core function.
|
NodeData |
SingleMapNodeData.push(Declaration d) |
NodeData |
QuadrupleMapNodeData.push(Declaration d) |
boolean |
Repeater.repeatOverFourTermDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Construct terms array to be used by repeated object from available terms
(in size 1 to 4) according to CSS rules.
|
boolean |
Variator.tryOneTermVariant(int variant,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Uses variator functionality to test selected variant on term
|
| Constructor and Description |
|---|
AssignedDeclaration(Declaration d,
CombinedSelector.Specificity spec,
StyleSheet.Origin origin)
Creates assigned declaration from specificity and shallow copy of declaration
|
AssignedDeclaration(Declaration d,
CombinedSelector s,
StyleSheet.Origin origin)
Creates assigned declaration from selector and shallow copy of declaration
|
Copyright © 2014. All rights reserved.