|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjigcell.compare.ui.HTMLComponentDescription
public class HTMLComponentDescription
Description for one of the Comparator components. The description is loaded from an URL and displayed as HTML text.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
Field Summary | |
---|---|
protected java.net.URL |
location
Location of the component description |
protected java.lang.String |
resource
Cached copy of the description |
protected int |
width
Width of the HTML viewer |
Constructor Summary | |
---|---|
HTMLComponentDescription(java.lang.String resource,
int width)
Creates a new component description. |
|
HTMLComponentDescription(java.net.URL location,
int width)
Creates a new component description. |
Method Summary | |
---|---|
java.lang.Object |
createDisplay()
Creates a display for the component description. |
java.net.URL |
getLocation()
The location of the component description. |
void |
setLocation(java.net.URL location)
Sets the location of the component description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int width
protected java.lang.String resource
protected java.net.URL location
Constructor Detail |
---|
public HTMLComponentDescription(java.lang.String resource, int width)
resource
- Description resourcewidth
- Width of HTML viewerpublic HTMLComponentDescription(java.net.URL location, int width)
location
- URL for resourcewidth
- Width of HTML viewerMethod Detail |
---|
public java.lang.Object createDisplay()
createDisplay
in interface IComponentDescription
public java.net.URL getLocation()
public void setLocation(java.net.URL location)
location
- Location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |