edu.umd.cs.findbugs.gui2

Class BugTreeModel

public class BugTreeModel extends Object implements TreeModel, TableColumnModelListener, TreeExpansionListener

The treeModel for our JTree
Field Summary
static booleanTRACE
Constructor Summary
BugTreeModel(JTree tree, SorterTableColumnModel st, BugSet data)
BugTreeModel(BugTreeModel other)
Method Summary
voidaddTreeModelListener(TreeModelListener listener)
voidcolumnAdded(TableColumnModelEvent e)
voidcolumnMarginChanged(ChangeEvent arg0)
voidcolumnMoved(TableColumnModelEvent evt)
voidcolumnRemoved(TableColumnModelEvent e)
voidcolumnSelectionChanged(ListSelectionEvent arg0)
voidcrawl(ArrayList<BugAspects> path, int depth)
voidcrawlToOpen(TreePath path, ArrayList<BugLeafNode> bugLeafNodes, ArrayList<TreePath> treePaths)
ObjectgetChild(Object o, int index)
ObjectgetChild0(Object o, int index)
intgetChildCount(Object o)
intgetIndexOfChild(Object parent, Object child)
voidgetOffListenerList()
TreePathgetPathToBug(BugInstance b)
TreePathgetPathToNewlyUnsuppressedBug(BugInstance b)
ObjectgetRoot()
TreeModelEventinsertBranch(ArrayList<String> stringsToBranch)
booleanisLeaf(Object o)
TreeModelEventremoveBranch(ArrayList<String> stringsToBranch)
voidremoveTreeModelListener(TreeModelListener listener)
voidresetData()
TreeModelEventrestructureBranch(ArrayList<String> stringsToBranch, boolean removing)
voidsortBranch(TreePath pathToBranch)
voidtreeCollapsed(TreeExpansionEvent event)
voidtreeExpanded(TreeExpansionEvent event)
voidvalueForPathChanged(TreePath arg0, Object arg1)

Field Detail

TRACE

public static boolean TRACE

Constructor Detail

BugTreeModel

public BugTreeModel(JTree tree, SorterTableColumnModel st, BugSet data)

BugTreeModel

public BugTreeModel(BugTreeModel other)

Method Detail

addTreeModelListener

public void addTreeModelListener(TreeModelListener listener)

columnAdded

public void columnAdded(TableColumnModelEvent e)

columnMarginChanged

public void columnMarginChanged(ChangeEvent arg0)

columnMoved

public void columnMoved(TableColumnModelEvent evt)

columnRemoved

public void columnRemoved(TableColumnModelEvent e)

columnSelectionChanged

public void columnSelectionChanged(ListSelectionEvent arg0)

crawl

public void crawl(ArrayList<BugAspects> path, int depth)

crawlToOpen

public void crawlToOpen(TreePath path, ArrayList<BugLeafNode> bugLeafNodes, ArrayList<TreePath> treePaths)

getChild

public Object getChild(Object o, int index)

getChild0

public Object getChild0(Object o, int index)

getChildCount

public int getChildCount(Object o)

getIndexOfChild

public int getIndexOfChild(Object parent, Object child)

getOffListenerList

public void getOffListenerList()

getPathToBug

public TreePath getPathToBug(BugInstance b)

getPathToNewlyUnsuppressedBug

public TreePath getPathToNewlyUnsuppressedBug(BugInstance b)

getRoot

public Object getRoot()

insertBranch

public TreeModelEvent insertBranch(ArrayList<String> stringsToBranch)

isLeaf

public boolean isLeaf(Object o)

removeBranch

public TreeModelEvent removeBranch(ArrayList<String> stringsToBranch)

removeTreeModelListener

public void removeTreeModelListener(TreeModelListener listener)

resetData

public void resetData()

restructureBranch

public TreeModelEvent restructureBranch(ArrayList<String> stringsToBranch, boolean removing)

sortBranch

public void sortBranch(TreePath pathToBranch)

treeCollapsed

public void treeCollapsed(TreeExpansionEvent event)

treeExpanded

public void treeExpanded(TreeExpansionEvent event)

valueForPathChanged

public void valueForPathChanged(TreePath arg0, Object arg1)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.