public interface LSProgressEvent extends Event
Event
在[定义的接口DOM Level 3 Events ]。
用于属性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.