public interface IlpStylable extends IlvStylable
Modifier and Type | Field and Description |
---|---|
static int |
UPDATE_ALL_MASK
Update mask: updates all elements.
|
static int |
UPDATE_COMPONENT_MASK
Update mask: updates the component configuration.
|
static int |
UPDATE_NONE_MASK
Update mask: do not update neither the component nor the object configuration.
|
static int |
UPDATE_OBJECTS_MASK
Update mask: updates the objects.
|
APPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASK
Modifier and Type | Method and Description |
---|---|
void |
setStyleSheets(int index,
String css,
int updateMask)
Changes one of the cascading style sheets.
|
void |
setStyleSheets(String[] css,
int updateMask)
Sets the cascading style sheets.
|
addPropertyChangeListener, getStyleSheetDebugMask, getStyleSheets, getStyleSheets, removePropertyChangeListener, setStyleSheetDebugMask, setStyleSheets, setStyleSheets
static final int UPDATE_NONE_MASK
setStyleSheets(java.lang.String[], int)
,
Constant Field Valuesstatic final int UPDATE_COMPONENT_MASK
static final int UPDATE_OBJECTS_MASK
static final int UPDATE_ALL_MASK
void setStyleSheets(String[] css, int updateMask) throws IlvStylingException
Each element can be a URL, a filename, or directly the style sheet string. The order is by priority (the last CSS takes precedence).
css
- An array of strings containing the URLs
or the file names of CSS files (usually with a
.css
suffix).updateMask
- A flag that indicates whether the style sheet applies to
the component configuration and/or the business objects.IlvStylingException
UPDATE_COMPONENT_MASK
,
UPDATE_OBJECTS_MASK
void setStyleSheets(int index, String css, int updateMask) throws IlvStylingException
This method is an alternative to
IlvStylable.setStyleSheets(java.lang.String[])
. It lets you change one
particular style sheet file, instead of setting the whole style sheet
array. When this method is used, you can indicate whether you want to
reapply this configuration to the view and to all the representation
objects that are already displayed in the view.
index
- The index of the style sheet to replace.css
- The URL, file name or CSS extract of the new style
sheet.updateMask
- A flag that indicates whether the style sheet
applies to the component configuration and/or the
business objects.IlvStylingException
UPDATE_COMPONENT_MASK
,
UPDATE_OBJECTS_MASK
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.