| 
org.openide.src 1.8.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.nodes.Children
org.openide.nodes.Children.Array
org.openide.nodes.Children.Keys
org.openide.src.nodes.ClassChildren
public class ClassChildren
Normal implementation of children list for a class element node.
 Semantics are similar to those of SourceChildren.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.openide.nodes.Children | 
|---|
Children.Array, Children.Keys, Children.Map, Children.SortedArray, Children.SortedMap | 
| Field Summary | |
|---|---|
protected  Collection[] | 
cpl
Central memory of mankind is used when some elements are changed  | 
protected  ClassElement | 
element
The class element whose subelements are represented.  | 
protected  ElementNodeFactory | 
factory
Factory for creating new child nodes.  | 
protected  ClassElementFilter | 
filter
Filter for elements, or null to disable. | 
protected static HashMap | 
propToFilter
Converts property names to filter.  | 
| Fields inherited from class org.openide.nodes.Children.Array | 
|---|
nodes | 
| Fields inherited from class org.openide.nodes.Children | 
|---|
LEAF, MUTEX | 
| Constructor Summary | |
|---|---|
ClassChildren(ClassElement element)
Create class children with the default factory.  | 
|
ClassChildren(ElementNodeFactory factory,
              ClassElement element)
Create class children.  | 
|
| Method Summary | |
|---|---|
protected  void | 
addNotify()
 | 
protected  Node[] | 
createNodes(Object key)
 | 
 Object | 
getFilter()
 | 
 Class | 
getFilterClass()
Implementation of filter cookie  | 
protected  Collection | 
getKeysOfType(int elementType)
Filters and returns the keys of specified type.  | 
protected  int[] | 
getOrder()
Returns order form filter.  | 
protected  void | 
refreshAllKeys()
Updates all the keys (elements) according to the current filter & ordering.  | 
protected  void | 
refreshKeys(int filter)
Updates all the keys with given filter.  | 
protected  void | 
removeNotify()
 | 
 void | 
setFilter(Object filter)
 | 
| Methods inherited from class org.openide.nodes.Children.Keys | 
|---|
add, clone, destroyNodes, refreshKey, remove, setBefore, setKeys, setKeys | 
| Methods inherited from class org.openide.nodes.Children.Array | 
|---|
initCollection, refresh | 
| Methods inherited from class org.openide.nodes.Children | 
|---|
findChild, getNode, getNodes, getNodes, getNodesCount, isInitialized, nodes | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static HashMap propToFilter
protected ClassElement element
protected ClassElementFilter filter
null to disable.
protected ElementNodeFactory factory
protected Collection[] cpl
| Constructor Detail | 
|---|
public ClassChildren(ClassElement element)
element - attached class element (non-null)public ClassChildren(ElementNodeFactory factory, ClassElement element)
factory - the factory to use to create new childrenelement - attached class element (non-null)| Method Detail | 
|---|
public Class getFilterClass()
getFilterClass in interface FilterCookiepublic Object getFilter()
getFilter in interface FilterCookiepublic void setFilter(Object filter)
setFilter in interface FilterCookieprotected void addNotify()
protected void removeNotify()
removeNotify in class Childrenprotected Node[] createNodes(Object key)
createNodes in class Children.Keysprotected void refreshAllKeys()
protected void refreshKeys(int filter)
protected Collection getKeysOfType(int elementType)
protected int[] getOrder()
  | 
org.openide.src 1.8.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||