com.ibm.media
类 ShowDocumentEvent
java.lang.Object
java.util.EventObject
javax.media.MediaEvent
javax.media.ControllerEvent
com.ibm.media.ShowDocumentEvent
- 所有已实现的接口:
- java.io.Serializable
public class ShowDocumentEvent
- extends ControllerEvent
This class is a JMF event that represent a hot link occurence in HotMedia
Player. The event is assoiciated with a URL (HTML page) which should be
showed.
- 另请参见:
- 序列化表格
从类 java.util.EventObject 继承的字段 |
source |
方法摘要 |
java.lang.String |
getString()
Returns the Sting associated with the event |
java.net.URL |
getURL()
Returns the URL associated with the event |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ShowDocumentEvent
public ShowDocumentEvent(Controller from,
java.net.URL u,
java.lang.String s)
- Constructor
- 参数:
from
- the Controller that generated the eventu
- the URL assoiciated with the events
- the String assoiciated with the event
getURL
public java.net.URL getURL()
- Returns the URL associated with the event
- 返回:
- the URL
getString
public java.lang.String getString()
- Returns the Sting associated with the event
- 返回:
- the URL