FTreeModel
Keywords: com.fg.ftree.FTreeModel interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.fg.ftree
Interface FTreeModel

All Known Subinterfaces:
  FXDocumentModel, FXModel

All Known Implementing Classes:
  DefaultFTreeModel, FXDocumentModelImpl

public interface FTreeModel

Data-model interface for `FTree` component.

Version:
  2.0
Author:
  Felix Golubov
See Also:
  `FTree.setTreeModel(FTreeModel)`, `FTree.getTreeModel()`

Method Summary
`void` | `addTreeModelListener(FTreeModelListener l)`
`boolean` | `getAllowsChildren(java.lang.Object node)`
`java.lang.Object` | `getChild(java.lang.Object parent, int index)`
`int` | `getChildCount(java.lang.Object parent)`
`java.lang.Object` | `getRoot()`
`void` | `removeTreeModelListener(FTreeModelListener l)`

Method Detail

### getRoot

    public java.lang.Object getRoot()

### getChild

    public java.lang.Object getChild(java.lang.Object parent,
                                     int index)

### getChildCount

    public int getChildCount(java.lang.Object parent)

### getAllowsChildren

    public boolean getAllowsChildren(java.lang.Object node)

### addTreeModelListener

    public void addTreeModelListener(FTreeModelListener l)

### removeTreeModelListener

    public void removeTreeModelListener(FTreeModelListener l)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD