public class ReportItemThemeHandle extends AbstractThemeHandle implements org.eclipse.birt.report.model.elements.interfaces.IReportItemThemeModel
ReportItemTheme
element
module
CUSTOM_VALUES_PROP, TYPE_PROP
CSSES_PROP, DEFAULT_THEME_NAME, STYLES_SLOT
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP
Constructor and Description |
---|
ReportItemThemeHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs the handle for a theme with the given design and element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomValues() |
java.lang.String |
getType()
Gets the type for this report item theme.
|
void |
importCssStyles(CssStyleSheetHandle stylesheet,
java.util.List<SharedStyleHandle> selectedStyles)
Imports the selected styles in a
CssStyleSheetHandle to the
given theme of the library. |
void |
setCustomValues(java.lang.String values) |
void |
setType(java.lang.String type)
Sets the type for this report item theme.
|
addCss, addCss, addCss, addCssByProerties, canAddCssStyleSheet, canAddCssStyleSheet, canAddCssStyleSheetByProperties, canDropCssStyleSheet, canRenameCss, canRenameCssByProperties, dropCss, findCssStyleSheetHandleByName, findCssStyleSheetHandleByProperties, findIncludedCssStyleSheetHandleByName, findIncludedCssStyleSheetHandleByProperties, findStyle, getAllCssStyleSheets, getAllStyles, getDisplayLabel, getStyles, includeCssesIterator, reloadCss, renameCss, renameCssByProperties
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask
add, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIterator
public ReportItemThemeHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementpublic java.lang.String getType()
IObjectDefn.getName()
.public void setType(java.lang.String type) throws SemanticException
IObjectDefn.getName()
.type
- the type to set for this report item themeSemanticException
public void importCssStyles(CssStyleSheetHandle stylesheet, java.util.List<SharedStyleHandle> selectedStyles) throws SemanticException
CssStyleSheetHandle
to the
given theme of the library. Each in the list is instance of
SharedStyleHandle
.If any style selected has a duplicate
name with that of one style already existing in the report design, this
method will rename it and then add it to the design.stylesheet
- the style sheet handle that contains all the selected stylesselectedStyles
- the selected style listthemeName
- the name of the theme to put stylesSemanticException
public java.lang.String getCustomValues()
public void setCustomValues(java.lang.String values) throws SemanticException
values
- SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.