public class ImageElement extends BaseUpdateableElement
HTMLNode.HTMLDoctype| Modifier and Type | Field and Description |
|---|---|
FreenetURI |
key
The URI of the download this progress bar shows
|
long |
maxSize
The maxSize
|
FreenetURI |
origKey
The original URI
|
FProxyFetchTracker |
tracker
The tracker that the Fetcher can be acquired
|
ctxBASE_CHAR, COMBINING_CHAR, DIGIT, EXTENDER, IDEOGRAPHIC, LETTER, NAME, NAME_CHAR| Constructor and Description |
|---|
ImageElement(FProxyFetchTracker tracker,
FreenetURI key,
long maxSize,
ToadletContext ctx,
HTMLFilter.ParsedTag originalImg,
boolean pushed) |
| Modifier and Type | Method and Description |
|---|---|
static ImageElement |
createImageElement(FProxyFetchTracker tracker,
FreenetURI key,
long maxSize,
ToadletContext ctx,
boolean pushed) |
static ImageElement |
createImageElement(FProxyFetchTracker tracker,
FreenetURI key,
long maxSize,
ToadletContext ctx,
int width,
int height,
java.lang.String name,
boolean pushed) |
void |
dispose()
Disposes the Node
|
static java.lang.String |
getId(FreenetURI uri,
int randomNumber) |
java.lang.String |
getUpdaterId(java.lang.String requestId)
Returns the id, that identifies the element.
|
java.lang.String |
getUpdaterType()
Returns the type of the client-side updater.
|
java.lang.String |
toString() |
void |
updateState(boolean initial)
Updates the state of the Node.
|
initaddAttribute, addChild, addChild, addChild, addChild, addChild, addChild, addChild, addChildren, addChildren, checkNamePattern, clone, generate, generate, generate, generateChildren, getAttribute, getAttributes, getChildren, getContent, getFirstTag, link, linkInNewWindow, removeChildren, setContent, setReadOnly, text, text, text, textpublic FProxyFetchTracker tracker
public final FreenetURI origKey
public FreenetURI key
public long maxSize
public ImageElement(FProxyFetchTracker tracker, FreenetURI key, long maxSize, ToadletContext ctx, HTMLFilter.ParsedTag originalImg, boolean pushed)
public static ImageElement createImageElement(FProxyFetchTracker tracker, FreenetURI key, long maxSize, ToadletContext ctx, boolean pushed)
public static ImageElement createImageElement(FProxyFetchTracker tracker, FreenetURI key, long maxSize, ToadletContext ctx, int width, int height, java.lang.String name, boolean pushed)
public void dispose()
BaseUpdateableElementdispose in class BaseUpdateableElementpublic java.lang.String getUpdaterId(java.lang.String requestId)
BaseUpdateableElementgetUpdaterId in class BaseUpdateableElementpublic static java.lang.String getId(FreenetURI uri, int randomNumber)
public java.lang.String getUpdaterType()
BaseUpdateableElementgetUpdaterType in class BaseUpdateableElementpublic void updateState(boolean initial)
BaseUpdateableElementupdateState in class BaseUpdateableElementinitial - - If this is the first updatepublic java.lang.String toString()
toString in class java.lang.Object