| document.captureEvents(int events) |
excellent |
The method is present and attached to any layer, but it currently does nothing. It shouldn't need to do anything anyway. |
| document.close() |
excellent |
The method is present and attached to any layer, but it currently does nothing. It shouldn't need to do anything anyway. |
| document.handleEvent(Event event) |
??? |
I'm not even positive what this method does. I currently have it call dispatchEvent(event) on the layer because it seemed right at the time, though I am unsure if that is the correct behavior. |
| document.open() |
excellent |
document.open() clears all the contents of the layer. |
| document.releaseEvents(int events) |
excellent |
This method will remove any specified events from the Layer, including HTML-attribute events, and oneventname JS properties. It accepts a bitwise-OR separated list of event values (ultimately a single int). |
| document.routeEvent(Event event) |
??? |
As far as I can tell, this tells the event to capture down the hierchy, which happens anyway. The method is present and attached, and currently calls dispatchEvent() on the layer... any feedback on this and handleEvent() would be great. |
| document.write(String html) |
excellent |
Write's out the string of HTML as provided. |
| document.writeln(String html) |
excellent |
Write's out the string of HTML as provided, and inserts a new line at the end. |
| load(String src, int width) |
broken |
Depends on "clip.width" - which is broken, and "src" - which is not consistent. |
| moveAbove(Layer layer) |
excellent |
Changes the layer's zIndex so that it is one greater than the argument's, then changes the layer's parentLayer to that of the argument's. |
| moveBelow(Layer layer) |
excellent |
Changes the layer's zIndex so that it is one lesser than the argument's, then changes the layer's parentLayer to that of the argument's. |
| moveBy(int x, int y) |
excellent |
Essentially does: layer.left += x; layer.top += y |
| moveTo(int x, int y) |
excellent |
Essentially does: layer.left = x; layer.top = y; |
| moveToAbsolute(int x, int y) |
excellent |
Essentially does: layer.pageX = x; layer.pageY = y; |
| resizeBy(int x, int y) |
broken |
Relies upon "clip" property, which is broken. |
| resizeTo(int x, int y) |
broken |
Relies upon "clip" property, which is broken. |