summary refs log tree commit diff stats
path: root/doc/pydoc/ranger.gui.widgets.browserview.html
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-21 03:52:58 +0100
committerhut <hut@lavabit.com>2010-03-21 03:52:58 +0100
commitc776804d9db1f0ae837aaafe8ed27eb47bb369f5 (patch)
tree4b869232a8f85c0bb25b6de934122a8b3e88e03a /doc/pydoc/ranger.gui.widgets.browserview.html
parent6c867217763b0527776bad87493d4b950287caf0 (diff)
downloadranger-c776804d9db1f0ae837aaafe8ed27eb47bb369f5.tar.gz
updated TODO and pydoc
Diffstat (limited to 'doc/pydoc/ranger.gui.widgets.browserview.html')
-rw-r--r--doc/pydoc/ranger.gui.widgets.browserview.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/pydoc/ranger.gui.widgets.browserview.html b/doc/pydoc/ranger.gui.widgets.browserview.html
index 8bf98c20..627a62bf 100644
--- a/doc/pydoc/ranger.gui.widgets.browserview.html
+++ b/doc/pydoc/ranger.gui.widgets.browserview.html
@@ -12,6 +12,14 @@
     <p><tt>The&nbsp;<a href="#BrowserView">BrowserView</a>&nbsp;manages&nbsp;a&nbsp;set&nbsp;of&nbsp;BrowserColumns.</tt></p>
 <p>
 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
+<tr bgcolor="#aa55cc">
+<td colspan=3 valign=bottom>&nbsp;<br>
+<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
+    
+<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
+<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br>
+</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
+<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
 <tr bgcolor="#ee77aa">
 <td colspan=3 valign=bottom>&nbsp;<br>
 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
>
#import "/template.typ": *
#show: A => apply(A)
#set raw(lang: "java-new")
#set par(leading: 0.6em)

#assignment(23, block: true)[
  Write a program that defines an interface with three methods in the `pkgOne` package, implements the interface in a class within the `pkgTwo` package, and from the `main()` method in the working directory, instantiate the class and invoke the interface methods.
]

#scos("PackageInterfaceExample", include-before: ("pkgOne/MyInterface", "pkgTwo/MyClass"))

=== Discussion

#skind[Interfaces, classes and methods implemented in the program]

- Package `pkgOne`:
  - Interface `MyInterface`:
    - `void methodOne()`: An interface method.
    - `void methodTwo()`: An interface method.
    - `void methodThree()`: An interface method.

- Package `pkgTwo`:
  - Class `MyClass` (implements `pkgOne.MyInterface`):
    - `public void methodOne()`: Implementation of `methodOne` from `MyInterface`.
    - `public void methodTwo()`: Implementation of `methodTwo` from `MyInterface`.
    - `public void methodThree()`: Implementation of `methodThree` from `MyInterface`.

- Main program:
  - Class `PackageInterfaceExample`:
    - `public static void main(String[])`: Contains the main program creating an object of `MyClass` (which implements `MyInterface`) and calling its methods.

#signature()