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

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

public static class MainFrameStatics.JavaAPIListEntry
extends MainFrameStatics.AutoCompletePopupEntry

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.


Field Summary
private  String fullStr
           
private  String str
           
private  URL url
           
 
Constructor Summary
MainFrameStatics.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()
           
 OpenDefinitionsDocument getOpenDefinitionsDocument()
          Return the OpenDefinitionsDocument associated with this entry, or null if none.
 URL getURL()
           
 String toString()
           
 
Methods inherited from class edu.rice.cs.drjava.ui.MainFrameStatics.AutoCompletePopupEntry
compareTo, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

str

private final String str

fullStr

private final String fullStr

url

private final URL url
Constructor Detail

MainFrameStatics.JavaAPIListEntry

public MainFrameStatics.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()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the simple class name, e.g. "Integer".

Specified by:
getClassName in class MainFrameStatics.AutoCompletePopupEntry

getFullPackage

public String getFullPackage()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the full package including the last period, e.g. "java.lang.".

Specified by:
getFullPackage in class MainFrameStatics.AutoCompletePopupEntry

getOpenDefinitionsDocument

public OpenDefinitionsDocument getOpenDefinitionsDocument()
Description copied from class: MainFrameStatics.AutoCompletePopupEntry
Return the OpenDefinitionsDocument associated with this entry, or null if none.

Specified by:
getOpenDefinitionsDocument in class MainFrameStatics.AutoCompletePopupEntry