public interface LSProgressEvent extends Event
Event
接口定义。
用于属性position
和totalSize
单位不得指定可执行和输入依赖。
又见Document Object Model (DOM) Level 3 Load and Save Specification。
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Modifier and Type | Method and Description |
---|---|
LSInput |
getInput()
正在解析的输入源。
|
int |
getPosition()
在输入源中的当前位置,包括已读取的所有外部实体和其他资源。
|
int |
getTotalSize()
该文档的总大小,包括所有外部资源,如果引用更多外部资源,这个数字可能会更改为一个文档,如果引用更多的外部资源。
|
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
LSInput getInput()
int getPosition()
int getTotalSize()
0
是如果总大小不能确定或估计的回归。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.