Class VisualEvent
java.lang.Object
|
+--Event
|
+--VisualEvent
- public class VisualEvent
- extends Event
The classe transforms the visual server messages and writes it into a Vector
Field Summary |
java.util.Vector |
visualInfoList
List of VisualInfo values
(for instance information about flags, other players, ball etc. |
Constructor Summary |
VisualEvent(java.lang.String message)
creates a new VisualEvent instance |
Method Summary |
void |
add(VisualInfo visualInfo)
Adds a new VisualInfo instance into the Vector |
java.util.Enumeration |
elements()
The Enumeration of the Vector |
java.util.Vector |
getVector()
The Vector which contains all the needed information about the visual messages from server |
boolean |
isVisualEvent()
tests if there is an visual event incoming |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
visualInfoList
public java.util.Vector visualInfoList
- List of
VisualInfo
values
(for instance information about flags, other players, ball etc.
- See Also:
VisualInfo
VisualEvent
public VisualEvent(java.lang.String message)
- creates a new
VisualEvent
instance
elements
public java.util.Enumeration elements()
- The
Enumeration
of the Vector
- Returns:
- an
Enumeration
getVector
public java.util.Vector getVector()
- The
Vector
which contains all the needed information about the visual messages from server
- Returns:
Vector
add
public void add(VisualInfo visualInfo)
- Adds a new
VisualInfo
instance into the Vector
- Parameters:
VisualInfo
-
isVisualEvent
public boolean isVisualEvent()
- tests if there is an visual event incoming
- Overrides:
isVisualEvent
in class Event
- Following copied from class:
Event
- Returns:
- a
boolean
value indicating that this event is not a
VisualEvent