|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.css.CssStyleSheetHandle
public class CssStyleSheetHandle
Represents an include style sheet in the module. A style sheet is used for the user to load an external ".css" style file in the module.
CssStyleSheet
Field Summary | |
---|---|
protected org.eclipse.birt.report.model.css.CssStyleSheet |
styleSheet
The translation message. |
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
---|
elementHandle |
Constructor Summary | |
---|---|
CssStyleSheetHandle(ModuleHandle moduleHandle,
org.eclipse.birt.report.model.css.CssStyleSheet styleSheet)
Constructs a handle for an style sheet. |
Method Summary | |
---|---|
SharedStyleHandle |
findStyle(java.lang.String name)
Gets a style handle with the given name in the style sheet. |
DesignElementHandle |
getContainerHandle()
Gets container handle. |
java.lang.String |
getFileName()
Gets css file name |
java.util.List |
getParserErrors()
Gets the message list for the parser errors. |
java.util.List |
getParserFatalErrors()
Gets the message list for the parser fatal errors. |
java.util.List |
getParserWarnings()
Gets the message list for the parser warnings. |
java.util.Iterator |
getStyleIterator()
Returns an iterator over the styles of this style sheet. |
org.eclipse.birt.report.model.css.CssStyleSheet |
getStyleSheet()
Gets the style sheet. |
java.util.List |
getUnsupportedStyles()
Returns all the unsupported style names. |
java.util.List |
getWarnings(java.lang.String styleName)
Gets the warning list of the given style. |
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
---|
getDesign, getElement, getElementHandle, getModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.eclipse.birt.report.model.css.CssStyleSheet styleSheet
Constructor Detail |
---|
public CssStyleSheetHandle(ModuleHandle moduleHandle, org.eclipse.birt.report.model.css.CssStyleSheet styleSheet)
moduleHandle
- a handle to a modulestyleSheet
- the style sheet to be handledMethod Detail |
---|
public org.eclipse.birt.report.model.css.CssStyleSheet getStyleSheet()
public java.util.Iterator getStyleIterator()
getNext( )
method is of
type SharedStyleHandle
.public SharedStyleHandle findStyle(java.lang.String name)
name
- the name of the style to find
null
public java.util.List getUnsupportedStyles()
public java.util.List getWarnings(java.lang.String styleName)
StyleSheetParserException
.
styleName
- the style name
StyleSheetParserException
public java.util.List getParserErrors()
public java.util.List getParserFatalErrors()
public java.util.List getParserWarnings()
public java.lang.String getFileName()
public DesignElementHandle getContainerHandle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |