Package com.ribs.plus
Interface BrowserModel
-
public interface BrowserModelAbstractBrowserModel - A public interface for controlling a browser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetChild(java.lang.Object anObj, int anIndex)Returns browser object children.intgetChildCount(java.lang.Object anObj)Returns the number of children for the given parent.java.lang.ObjectgetRoot()Returns the browser root object.booleanisLeaf(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.
-
-