public abstract class CSSManagerBase extends java.lang.Object
Constructor and Description |
---|
CSSManagerBase() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultDeclaration(EHTMLElement element,
CSSDeclarationBlock block)
Adds a single selector and its block to this manager.
|
void |
addDefaultDeclaration(EHTMLElement element,
ECSSPseudoClass pseudoClass,
CSSDeclarationBlock block)
Adds a single selector and its block to this manager.
|
protected java.lang.String |
generateCSSClassName()
Generates a suitable name for a CSS class.
|
java.lang.String |
getCSSClassName(CSSDeclarationBlock block)
Returns the name of the CSS class used for this block.
|
boolean |
hasDefaultDeclaration(EHTMLElement element)
Returns whether there is a default declaration for the given element.
|
boolean |
hasDefaultDeclaration(EHTMLElement element,
ECSSPseudoClass pseudoClass)
Returns whether there is a default declaration for the given element.
|
protected void |
writeOut(java.io.PrintStream ps)
Write all selectors with their blocks to the given stream.
|
protected void |
writeOutDeclarations(java.io.PrintStream ps)
Write out declarations.
|
protected void |
writeOutDefaultDeclarations(java.io.PrintStream ps)
Write out default declarations for element (i.e.
|
public CSSManagerBase()
public boolean hasDefaultDeclaration(EHTMLElement element)
public boolean hasDefaultDeclaration(EHTMLElement element, ECSSPseudoClass pseudoClass)
public final void addDefaultDeclaration(EHTMLElement element, CSSDeclarationBlock block)
public void addDefaultDeclaration(EHTMLElement element, ECSSPseudoClass pseudoClass, CSSDeclarationBlock block)
public java.lang.String getCSSClassName(CSSDeclarationBlock block)
protected java.lang.String generateCSSClassName()
protected void writeOut(java.io.PrintStream ps)
writeOutDefaultDeclarations(PrintStream)
and
writeOutDeclarations(PrintStream)
.protected void writeOutDefaultDeclarations(java.io.PrintStream ps)
protected void writeOutDeclarations(java.io.PrintStream ps)