public class HTMLDataNode extends DefaultDataNode
Constructor and Description |
---|
HTMLDataNode(File file)
Constructs a URL to be displayed in the pane, if possible.
|
Modifier and Type | Method and Description |
---|---|
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.
|
beep, getChildIterator, getChildMaker, getCreator, getDataObject, getDescription, getIcon, getLabel, getName, getParentObject, getPathElement, getPathSeparator, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString
public final File file
public HTMLDataNode(File file) throws NoSuchDataException
NoSuchDataException
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 configureCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.