home *** CD-ROM | disk | FTP | other *** search
- package lotus.notes.internal;
-
- import java.util.Enumeration;
-
- class InfoPaneRootItem implements InfoPaneItem {
- private InfoPaneVector vector = new InfoPaneVector();
-
- InfoPaneTopItem FindItem(String var1) throws InfoPaneException {
- return (InfoPaneTopItem)this.vector.Find(var1);
- }
-
- InfoPaneTopItem AddItem(InfoPaneTopItem var1) throws InfoPaneException {
- return (InfoPaneTopItem)this.vector.Insert(var1);
- }
-
- public boolean HasSubCategory() {
- return this.vector != null && this.vector.size() > 0;
- }
-
- public Enumeration GetEnumeration() {
- return this.vector == null ? null : this.vector.elements();
- }
-
- public String GetName() {
- return "";
- }
-
- public String GetLongName() {
- return "";
- }
-
- public boolean HasLongName() {
- return false;
- }
-
- public boolean CanPaste() {
- return false;
- }
-
- public void Print(String var1, boolean var2) {
- if (var2) {
- System.out.println("GetLongName()");
- } else if (!this.HasLongName() && !this.CanPaste()) {
- System.out.println("GetName()");
- }
-
- if (this.HasSubCategory()) {
- Enumeration var3 = this.GetEnumeration();
-
- while(var3.hasMoreElements()) {
- ((InfoPaneItem)var3.nextElement()).Print(var1 + " ", var2);
- }
- }
-
- }
- }
-