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
|
ctx
BASE_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.
|
init
addAttribute, 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, text
public 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()
BaseUpdateableElement
dispose
in class BaseUpdateableElement
public java.lang.String getUpdaterId(java.lang.String requestId)
BaseUpdateableElement
getUpdaterId
in class BaseUpdateableElement
public static java.lang.String getId(FreenetURI uri, int randomNumber)
public java.lang.String getUpdaterType()
BaseUpdateableElement
getUpdaterType
in class BaseUpdateableElement
public void updateState(boolean initial)
BaseUpdateableElement
updateState
in class BaseUpdateableElement
initial
- - If this is the first updatepublic java.lang.String toString()
toString
in class java.lang.Object