Public Member Functions | |
HTMLPaneContentRetriever (CCNHandle h, JEditorPane p, String n) | |
Constructor for the HTMLPaneContentRetriever. | |
void | setTextPopup (boolean b) |
void | setFileName (String n) |
Set method for the ContentObject to download. | |
void | setHTMLPane (JEditorPane pane) |
Set method for the preview pane used for status messages. | |
void | setCCNHandle (CCNHandle h) |
Set method for the CCNHandle. | |
void | run () |
Run method for the thread that will be used to download the content. |
This will be updated in a future release to handle more content types.
org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.HTMLPaneContentRetriever | ( | CCNHandle | h, | |
JEditorPane | p, | |||
String | n | |||
) |
Constructor for the HTMLPaneContentRetriever.
h | CCNHandle to use for downloading the content | |
p | JEditorPane to use for status messages | |
n | String representation of the content object name to download |
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setFileName | ( | String | n | ) |
Set method for the ContentObject to download.
n | String representation of the content |
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setHTMLPane | ( | JEditorPane | pane | ) |
Set method for the preview pane used for status messages.
pane | JEditorPane used for status updates |
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setCCNHandle | ( | CCNHandle | h | ) |
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.run | ( | ) |
Run method for the thread that will be used to download the content.
As bytes for the object are retrieved, they will be displayed in the preview pane.