public class SentenceEvent extends EventObject
SentenceListener,
SentenceReader,
Serialized Formsource| Constructor and Description |
|---|
SentenceEvent(Object src,
Sentence s)
Creates a new SentenceEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
Sentence |
getSentence()
Gets the Sentence object that triggered the event.
|
long |
getTimeStamp()
Get system time when this event was created.
|
getSource, toStringpublic SentenceEvent(Object src, Sentence s)
src - Object that fired the events - Sentence that triggered the eventIllegalArgumentException - If specified sentence is
nullpublic Sentence getSentence()
public long getTimeStamp()
Copyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.