public class SchemaTreeModel
extends java.lang.Object
implements javax.swing.tree.TreeModel
Constructor and Description |
---|
SchemaTreeModel(SchemaI s,
EntityI r) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(javax.swing.event.TreeModelListener l) |
java.lang.Object |
getChild(java.lang.Object parnt,
int index) |
int |
getChildCount(java.lang.Object parnt) |
int |
getIndexOfChild(java.lang.Object parnt,
java.lang.Object child) |
java.lang.Object |
getRoot() |
boolean |
isLeaf(java.lang.Object node) |
void |
removeTreeModelListener(javax.swing.event.TreeModelListener l) |
void |
setFolderMode(boolean b) |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue) |
public void setFolderMode(boolean b)
public java.lang.Object getRoot()
getRoot
in interface javax.swing.tree.TreeModel
public java.lang.Object getChild(java.lang.Object parnt, int index)
getChild
in interface javax.swing.tree.TreeModel
public int getChildCount(java.lang.Object parnt)
getChildCount
in interface javax.swing.tree.TreeModel
public int getIndexOfChild(java.lang.Object parnt, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel
public boolean isLeaf(java.lang.Object node)
isLeaf
in interface javax.swing.tree.TreeModel
public void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
valueForPathChanged
in interface javax.swing.tree.TreeModel
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
addTreeModelListener
in interface javax.swing.tree.TreeModel
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
removeTreeModelListener
in interface javax.swing.tree.TreeModel
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.