|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.event.StatusEvent
public class StatusEvent
Provides an event for status changes. This class is immutable so that listeners can't inadvertantly alter instances.
Field Summary | |
---|---|
static int |
DEFAULT_DISPLAY_TIME
Default display time. |
static int |
FOREVER_DISPLAY_TIME
Forever display time. |
Constructor Summary | |
---|---|
StatusEvent(int position,
String message)
Construct this object with the given parameter. |
|
StatusEvent(int position,
String message,
int displayTime)
Construct this object with the given parameter. |
|
StatusEvent(String message)
Construct this object with the given parameter. |
|
StatusEvent(String message,
int displayTime)
Construct this object with the given parameter. |
Method Summary | |
---|---|
int |
getDisplayTime()
Return the display time. |
String |
getMessage()
Return the message. |
int |
getPosition()
Return the position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FOREVER_DISPLAY_TIME
public static final int DEFAULT_DISPLAY_TIME
Constructor Detail |
---|
public StatusEvent(String message)
message
- Status message.public StatusEvent(String message, int displayTime)
message
- Status message.displayTime
- Time for which to display the message.public StatusEvent(int position, String message)
position
- Status position.message
- Status message.public StatusEvent(int position, String message, int displayTime)
position
- Status position.message
- Status message.displayTime
- Time for which to display the message.Method Detail |
---|
public int getDisplayTime()
public String getMessage()
public int getPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |