superwaba.ext.xplat.html
Class Document
java.lang.Object
|
+--superwaba.ext.xplat.html.Document
- public class Document
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
baseURI
public URI baseURI
- Base URL for this document
title
public java.lang.String title
- Title associated with this document.
rootTile
public RootTile rootTile
- Root tile
Document
public Document(XmlReadable doc)
- Constructor
- Parameters:
doc - XmlReadable to be read
Document
public Document(XmlReadable doc,
TileFactory factory)
Document
protected Document()
- Default Constructor. The document must be rendered using
renderDoc.
renderDoc
protected void renderDoc(XmlReadable doc)
- Renders the document.
- Parameters:
doc - XmlReadable to be read
getTileFactory
protected TileFactory getTileFactory()
- give access to the tilefactory for subcomponents
loadImage
protected Image loadImage(java.lang.String src,
URI baseURI)
- Can be overridden by the caller in order to load an image from a different place.
Must return null if not handled/not found.
- Parameters:
src - The image namebaseURI - The base URI- Returns:
- an Image