Extension SDK 10.1.3.36.73

oracle.jdeveloper.el.tree
Class AbstractELProvidersTreeNode

java.lang.Object
  extended byoracle.jdeveloper.el.tree.AbstractELProvidersTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode
Direct Known Subclasses:
PropertyProviderTreeNode, RootTreeNode, VariableProviderTreeNode

public abstract class AbstractELProvidersTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode


Constructor Summary
protected AbstractELProvidersTreeNode(javax.swing.tree.TreeNode parent, Displayable displayable)
           
 
Method Summary
 boolean canInsert(Context context, java.lang.Object location, ELType type)
          Override to indicate this node can be inserted
 java.util.Enumeration children()
           
 void doInsert(Context context, java.lang.Object location, ELType type, boolean editingBodyOfExpression, java.lang.String expressionStart, javax.swing.text.JTextComponent elTextComponent)
          Override to insert the node into the EL TextComponent
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 Displayable getDisplayable()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.TreeNode getParent()
           
 boolean isLeaf()
           
protected abstract  java.util.Vector lazilyGetChildren()
          Subclass implementation of childrenFetching
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractELProvidersTreeNode

protected AbstractELProvidersTreeNode(javax.swing.tree.TreeNode parent,
                                      Displayable displayable)
Method Detail

getDisplayable

public final Displayable getDisplayable()

canInsert

public boolean canInsert(Context context,
                         java.lang.Object location,
                         ELType type)
Override to indicate this node can be inserted


doInsert

public void doInsert(Context context,
                     java.lang.Object location,
                     ELType type,
                     boolean editingBodyOfExpression,
                     java.lang.String expressionStart,
                     javax.swing.text.JTextComponent elTextComponent)
Override to insert the node into the EL TextComponent

Parameters:
editingBodyOfExpression - True if the the body of an expression is being edited
expressionStart - ${ or #{
elTextComponent - The TextComponent to insert the node into

lazilyGetChildren

protected abstract java.util.Vector lazilyGetChildren()
Subclass implementation of childrenFetching


getChildAt

public final javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public final int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getParent

public final javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

getIndex

public final int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

getAllowsChildren

public final boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public final boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

children

public final java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.