public class DefaultSwingInstallerManager.DefaultUrlAndLabel extends Object implements SwingInstallerManager.UrlAndLabel
Constructor and Description |
---|
DefaultSwingInstallerManager.DefaultUrlAndLabel(URL url,
String label) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Return the url associated to the url or null
if the url don't have a label.
|
URL |
getURL()
Return the url.
|
void |
setLabel(String label) |
String |
toString()
Return a string with the label and the url like:
"label - http://..."
|
public URL getURL()
SwingInstallerManager.UrlAndLabel
getURL
in interface SwingInstallerManager.UrlAndLabel
public String getLabel()
SwingInstallerManager.UrlAndLabel
getLabel
in interface SwingInstallerManager.UrlAndLabel
public void setLabel(String label)
public String toString()
SwingInstallerManager.UrlAndLabel
toString
in interface SwingInstallerManager.UrlAndLabel
toString
in class Object