Package com.ribs.plus

Interface BrowserModel


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getChild​(java.lang.Object anObj, int anIndex)
      Returns browser object children.
      int getChildCount​(java.lang.Object anObj)
      Returns the number of children for the given parent.
      java.lang.Object getRoot()
      Returns the browser root object.
      boolean isLeaf​(java.lang.Object anObj)
      Returns whether browser object has children.
    • Method Detail

      • getRoot

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

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

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

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