|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.generic.description.DescriptionObjectImpl
org.openbp.common.generic.description.DisplayObjectImpl
org.openbp.guiclient.model.item.itemfilter.AbstractItemFilter
public abstract class AbstractItemFilter
Basic implementation of an item filter.
This class expects the item filter resources in itemfilter/'name'.xml
'name' is the abbreviated filter name, i. e. the class name with 'org.openbp.' removed.
| Field Summary |
|---|
| Fields inherited from interface org.openbp.common.generic.Copyable |
|---|
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW |
| Constructor Summary | |
|---|---|
AbstractItemFilter()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
apply()
Applies the filter to the filter manager it belongs to. |
javax.swing.JComponent |
getConfigurationComponent()
Gets the user interface component that can be used to configure this filter. |
ItemFilterHolder |
getFilterManager()
Gets the item filter holder this filter belongs to. |
MultiIcon |
getIcon()
Gets the icon representing this filter. |
ResourceCollection |
getItemFilterResource()
Gets the resource of this filter. |
Plugin |
getPlugin()
Gets the plugin this filter belongs to. |
boolean |
isActive()
Checks if the filter is active. |
void |
setActive(boolean active)
Activates or deactivates the filter. |
void |
setFilterHolder(ItemFilterHolder filterHolder)
Sets the item filter holder this filter belongs to. |
void |
setPlugin(Plugin plugin)
Sets the plugin this filter belongs to. |
| Methods inherited from class org.openbp.common.generic.description.DisplayObjectImpl |
|---|
copyFrom, getDisplayName, getDisplayText, setDisplayName |
| Methods inherited from class org.openbp.common.generic.description.DescriptionObjectImpl |
|---|
clone, compareTo, getDescription, getDescriptionEscape, getDescriptionText, getName, setDescription, setDescriptionEscape, setName, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openbp.guiclient.model.item.itemfilter.ItemFilter |
|---|
acceptsItem |
| Methods inherited from interface org.openbp.common.generic.description.DisplayObject |
|---|
getDisplayName, setDisplayName |
| Methods inherited from interface org.openbp.common.generic.description.DescriptionObject |
|---|
clone, getDescription, getDescriptionText, getDisplayText, getName, setDescription, setName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public AbstractItemFilter()
| Method Detail |
|---|
protected void apply()
public ResourceCollection getItemFilterResource()
public MultiIcon getIcon()
getIcon in interface ItemFilterpublic javax.swing.JComponent getConfigurationComponent()
getConfigurationComponent in interface ItemFilterpublic boolean isActive()
isActive in interface ItemFilterpublic void setActive(boolean active)
setActive in interface ItemFilterpublic Plugin getPlugin()
getPlugin in interface ItemFilterpublic void setPlugin(Plugin plugin)
setPlugin in interface ItemFilterpublic ItemFilterHolder getFilterManager()
getFilterManager in interface ItemFilterpublic void setFilterHolder(ItemFilterHolder filterHolder)
setFilterHolder in interface ItemFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||