public interface DhIFilterableObject
Represents an interface for objects with filters. Objects that implement this interface can have filters applied to them. The following classes implement this interface:
Methods
Name | Description |
---|---|
addFilter(DhFilter filter) | Adds a filter to this element and applies it immediately. |
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 filters that were previously deferred. |
findFilter(Class filterClass) | Retrieves the current filter with the specified filter class. |
removeAllFilters() | Removes all filters from this element. |
removeAllFilters(boolean bApply) | Removes all filters from this element. |
removeFilter(DhFilter filter) | Removes the given filter from this element. |
removeFilter(DhFilter filter, boolean bApply) | Removes the specified filter from this element. |
replaceFilter(DhFilter filter1, DhFilter filter2) | This method provides an easy way to swap filters. |
replaceFilter(DhFilter filter1, DhFilter filter2, boolean bApply) | This method provides an easy way to swap filters. |
Adds a filter to this element and applies it immediately. Filters added this way are combined with other filters that were previously added and not explicity flushed or removed.
wfc.html.DhCantAddElementException thrown 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. Filters added this way are combined with other filters that were previously added and not explicity flushed or removed.
wfc.html.DhCantAddElementException thrown 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 you want to flush filters that were previously applied to this element or whether you want this filter to be combined 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 the purpose of an extension (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 filters that were previously deferred. Use this method if you called addFilter(DhFilter,boolean) with false for the second paramater. 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.
Removes all filters from this element. This method automatically clears any sign of filters on this element.
Removes all filters from this element. You can clear all filters on this element or delay removal.
Removes the given filter from this element. This method automatically reapplies other filters that may be left after this method is called.
Removes the specified filter from this element. You can reapply other filters that may be left after this method is called, or you can delay the process if you are removing more than one filter.
This method provides an easy way to swap filters. It automatically applies all the changes immediately.
This method provides an easy way to swap filters. You can specify whether to apply all the changes immediately or to delay making changes until later.