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
 
构造方法摘要
ShowDocumentEvent(Controller from, java.net.URL u, java.lang.String s)
          Constructor
 
方法摘要
 java.lang.String getString()
          Returns the Sting associated with the event
 java.net.URL getURL()
          Returns the URL associated with the event
 
从类 javax.media.ControllerEvent 继承的方法
getSource, getSourceController, toString
 
从类 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 event
u - the URL assoiciated with the event
s - 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