public class ProfileTreeModel extends AbstractCheckBoxTreeModel implements javax.swing.event.ListDataListener, java.beans.PropertyChangeListener
ProfileModel. The model shows only one kind of bean as indicated by
the BeanKind supplied to the constructor. For a particular
model instance, this will never change.
At any given time, the tree models the beans from the profile
currently selected by the ProfileModel; the beans, and in particular their
enabled states, are derived from the currently selected profile. That
selection can change at any time, potentially changing the properties of
every node in the tree, though not changing the structure of the tree.
Separately, the tree is filtered by a user configurable search filter, which
can change at any time and does change the visible structure of the
tree.| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileTreeModel.FilterCategory |
AbstractCheckBoxTreeModel.CheckBoxNode<T extends AbstractCheckBoxTreeModel.CheckBoxNode>listenerList| Constructor and Description |
|---|
ProfileTreeModel(ProfileModel model,
oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanKind kind) |
| Modifier and Type | Method and Description |
|---|---|
void |
contentsChanged(javax.swing.event.ListDataEvent e) |
ExtensionBean |
getBean(java.lang.Object node) |
java.lang.String |
getDescription(java.lang.Object node) |
java.util.EnumSet<ProfileTreeModel.FilterCategory> |
getFilterCategories() |
boolean |
getFilterCategory(ProfileTreeModel.FilterCategory category) |
java.lang.String |
getFilterText() |
oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanKind |
getKind() |
oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanNode |
getRoot() |
void |
intervalAdded(javax.swing.event.ListDataEvent e) |
void |
intervalRemoved(javax.swing.event.ListDataEvent e) |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
boolean |
setFilterCategory(ProfileTreeModel.FilterCategory category,
boolean state) |
boolean |
setFilterText(java.lang.String text) |
convertValueToText, getChild, getChildCount, getIndexOfChild, getState, isLeaf, isModified, nodeChanged, stateForPathChanged, treeChanged, treeChanged, valueForPathChangedaddTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, fireTreeStructureChanged, getListeners, getTreeModelListeners, removeTreeModelListenerpublic ProfileTreeModel(ProfileModel model, oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanKind kind)
public oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanKind getKind()
public java.lang.String getFilterText()
public java.util.EnumSet<ProfileTreeModel.FilterCategory> getFilterCategories()
public boolean getFilterCategory(ProfileTreeModel.FilterCategory category)
public boolean setFilterText(java.lang.String text)
public boolean setFilterCategory(ProfileTreeModel.FilterCategory category, boolean state)
public oracle.jdevimpl.audit.profile.ProfileTreeModel.BeanNode getRoot()
getRoot in interface javax.swing.tree.TreeModelgetRoot in class AbstractCheckBoxTreeModelpublic ExtensionBean getBean(java.lang.Object node)
public java.lang.String getDescription(java.lang.Object node)
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpublic void contentsChanged(javax.swing.event.ListDataEvent e)
contentsChanged in interface javax.swing.event.ListDataListenerpublic void intervalAdded(javax.swing.event.ListDataEvent e)
intervalAdded in interface javax.swing.event.ListDataListenerpublic void intervalRemoved(javax.swing.event.ListDataEvent e)
intervalRemoved in interface javax.swing.event.ListDataListener