DhStyleBase | +--DhStylepublic class DhStyle
Topic under construction.
Constructors
Name | Description |
---|---|
DhStyle(String name) | Creates a DhStyle object. |
DhStyle() | Creates a DhStyle object. |
Methods
Name | Description |
---|---|
addFilter(DhFilter filter) | Topic under construction. |
addFilter(DhFilter filter, boolean bApply) | Adds a filter to this element. |
addFilter(DhFilter filter, boolean bApply, boolean bFlush) | Adds a filter to this element. |
addTransition(DhFilter trans) | Adds a transition effect to this element. |
applyFilters() | Applies a delayed filter. |
findFilter(Class filterClass) | Retrieves the current filter with the specified filter class. |
getName() | Retrieves the underlying name for this style object as seen by the HTML object. |
removeAllFilters() | Removes all filters from this element. |
removeAllFilters(boolean bApply) | Removes all filters from this element. |
removeFilter(DhFilter filter) | Removes the specified filter from this element. |
removeFilter(DhFilter filter, boolean bApply) | Removes the specified filter from this element. |
replaceFilter(DhFilter filter1, DhFilter filter2) | Replaces a specified filter with another filter. |
replaceFilter(DhFilter filter1, DhFilter filter2, boolean bApply) | Replaces a specified filter with another filter. |
setName(String name) | Sets the underlying name for the style object as seen by the HTML object. |
Creates a DhStyle object. This constructor allows you to name your style and control the underlying HTML code that is generated by this object. Note, however, that this is completely handled for you in the default (empty) constructor.
Creates a DhStyle object. Use this constructor to create the default style object.
Topic under construction.
Adds a filter to this element. You can apply the filter immediately or delay application. Delaying application is useful if you are applying more than one filter to this element. Filters added this way are combined with other filters that were previously added and not explicity flushed or removed.
wfc.html.DhCantAddElementException t6hrown if this type of filter already exists on this element.
Adds a filter to this element. You can apply the filter immediately or delay application. Delaying application is useful if you are applying more than one filter to this element. You can also specify whether to flush filters that were previously applied to this element or combine this filter with those already present.
wfc.html.DhCantAddElementException Thrown if this type of filter already exists on this element.
Adds a transition effect to this element. You must call this method before you can run the effect. Note that this functionality is provided for extension only (see the sample classes). This package does provide transition effects.
wfc.html.DhCantAddElementException thrown if this type of transition effect already exists on this element.
Applies a delayed filter. Use this method if you called addFilter(DhFilter,boolean) with false for the second parameter. This function applies every filter that was added to this element.
Returns the DhFilter (if found) that is of type filterClass.
Retrieves the current filter with the specified filter class.
Returns the string name of the style rule.
Retrieves the underlying name for this style object as seen by the HTML object. This is an advanced feature and is not part of normal usage scenarios.
Removes all filters from this element. This method automatically clears all filters on this element.
Removes all filters from this element. You can remove all filters immediately or delay removal.
Removes the specified filter from this element. This method automatically reapplies filters that may be left after this method is called.
Removes the specified filter from this element. You can reapply filters that may be left after this method is called, or you can delay application if you are removing more than one filter.
Replaces a specified filter with another filter. This method gives you a direct means of swapping filters. All changes that occur due to this swap are automatically applied immediately.
Replaces a specified filter with another filter. This method gives you a direct means of swapping filters. You can specify whether to apply all the changes due to this swap immediately or to delay making changes until later.
Sets the underlying name for the style object as seen by the HTML object. This is an advanced feature and is not part of normal usage scenarios.