Package com.ribs.plus

Interface BrowserModel


public interface BrowserModel
AbstractBrowserModel - A public interface for controlling a browser.
  • Method Summary

    Modifier and Type
    Method
    Description
    getChild(Object anObj, int anIndex)
    Returns browser object children.
    int
    Returns the number of children for the given parent.
    Returns the browser root object.
    boolean
    isLeaf(Object anObj)
    Returns whether browser object has children.
  • Method Details

    • getRoot

      Object getRoot()
      Returns the browser root object.
    • isLeaf

      boolean isLeaf(Object anObj)
      Returns whether browser object has children.
    • getChildCount

      int getChildCount(Object anObj)
      Returns the number of children for the given parent.
    • getChild

      Object getChild(Object anObj, int anIndex)
      Returns browser object children.