AbstractChildlessExpressionView Class

com.bea.ide.debug
AbstractChildlessExpressionView Class

public abstract class AbstractChildlessExpressionView

    extends Object
    implements IDebugExpressionListener, IDebugExpressionView

This abstract class implements some basic functionality for an expression view that does not allow children. Subclasses are responsible for the display and editing of the node for the expression.


Hierarchy
Object
  AbstractChildlessExpressionView
All Implemented Interfaces

IDebugExpressionListener, IDebugExpressionView, MutableTreeNode, TreeNode

Field Summary

public static final Enumeration
EMPTY_ENUMERATION
Enumeration
 

Constructor Summary

AbstractChildlessExpressionView()

 

Method Summary

public Enumeration
children()
public void
fieldsChanged(String expression, String[] fields)
Called when the IDebugData gets new information about the expression's fields from the proxy
public boolean
getAllowsChildren()
public int
getChildCount()
public TreeNode
getParent()
public void
insert(MutableTreeNode node, int index)
public boolean
isLeaf()
public void
remove(MutableTreeNode node)
public void
remove(int i)
public void
removeFromParent()
public void
setParent(MutableTreeNode parent)
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.ide.debug.IDebugExpressionListener
expressionChanged, fieldsChanged
 
Methods from interface com.bea.ide.debug.IDebugExpressionView
getDisplayValue, getMatchingViews, getName, getPrimaryExpression, getValueEditor, getValueRenderer, init, isEditable, refresh, setValue, toString
 
Methods from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Field Detail

EMPTY_ENUMERATION

public static final Enumeration EMPTY_ENUMERATION

 

Constructor Detail

AbstractChildlessExpressionView

public AbstractChildlessExpressionView()
 

Method Detail

children() Method

public Enumeration children()

fieldsChanged(String, String[]) Method

public void fieldsChanged(String expression, 
                          String[] fields)
Description copied from IDebugExpressionListener.fieldsChanged(String, String[])
Called when the IDebugData gets new information about the expression's fields from the proxy

Parameters

expression
the expression that had fields change
fields
an array of strings representing the fields that changed.

getAllowsChildren() Method

public boolean getAllowsChildren()

getChildCount() Method

public int getChildCount()

getParent() Method

public TreeNode getParent()

insert(MutableTreeNode, int) Method

public void insert(MutableTreeNode node, 
                   int index)

isLeaf() Method

public boolean isLeaf()

remove(MutableTreeNode) Method

public void remove(MutableTreeNode node)

remove(int) Method

public void remove(int i)

removeFromParent() Method

public void removeFromParent()

setParent(MutableTreeNode) Method

public void setParent(MutableTreeNode parent)