|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.datanode.nodes.DefaultDataNode
uk.ac.starlink.datanode.nodes.HTMLDataNode
public class HTMLDataNode
DataNode implementation which describes a top-level HTML document. The formatted HTML page is displayed and hyperlinks can be followed. Note that if links are followed then the original document must be reloaded in order to display the original page again.
Field Summary | |
---|---|
File |
file
|
Constructor Summary | |
---|---|
HTMLDataNode(File file)
Constructs a URL to be displayed in the pane, if possible. |
Method Summary | |
---|---|
boolean |
allowsChildren()
HTML type does not allow children. |
void |
configureDetail(DetailViewer dv)
Sets up a pane to display the HTML file. |
String |
getNodeTLA()
Returns Three Letter Acronym "HTM". |
String |
getNodeType()
Returns a short sentence indicating what kind of node this is. |
Methods inherited from class uk.ac.starlink.datanode.nodes.DefaultDataNode |
---|
beep, getChildIterator, getChildMaker, getCreator, getDataObject, getDescription, getIcon, getLabel, getName, getParentObject, getPathElement, getPathSeparator, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final File file
Constructor Detail |
---|
public HTMLDataNode(File file) throws NoSuchDataException
NoSuchDataException
Method Detail |
---|
public boolean allowsChildren()
allowsChildren
in interface DataNode
allowsChildren
in class DefaultDataNode
public String getNodeTLA()
getNodeTLA
in interface DataNode
getNodeTLA
in class DefaultDataNode
public String getNodeType()
DataNode
getNodeType
in interface DataNode
getNodeType
in class DefaultDataNode
DataNode
public void configureDetail(DetailViewer dv)
configureDetail
in interface DataNode
configureDetail
in class DefaultDataNode
dv
- the detail viewer which this node is given an opportunity
to configure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |