edu.rice.cs.drjava.ui
Class MainFrame.JavaAPIListEntry

java.lang.Object
  extended by edu.rice.cs.drjava.ui.MainFrame.JavaAPIListEntry
All Implemented Interfaces:
Comparable<edu.rice.cs.drjava.ui.MainFrame.ClassNameAndPackageEntry>
Enclosing class:
MainFrame

public static class MainFrame.JavaAPIListEntry
extends Object

Wrapper class for the "Open Javadoc" and "Auto Import" dialog list entries. Provides the ability to have the same class name in there multiple times in different packages.


Constructor Summary
MainFrame.JavaAPIListEntry(String s, String full, URL u)
           
 
Method Summary
 String getClassName()
          Return the simple class name, e.g.
 String getFullPackage()
          Return the full package including the last period, e.g.
 String getFullString()
           
 URL getURL()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MainFrame.JavaAPIListEntry

public MainFrame.JavaAPIListEntry(String s,
                                  String full,
                                  URL u)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getFullString

public String getFullString()

getURL

public URL getURL()

getClassName

public String getClassName()
Return the simple class name, e.g. "Integer".


getFullPackage

public String getFullPackage()
Return the full package including the last period, e.g. "java.lang.".