|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.StandardKeyedEventBranch
Get the fully qualified type of the event.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
eventClassName
|
private String |
eventKey
|
private String |
eventType
|
private Vector |
listeners
|
private static String |
RESOURCE
|
protected static boolean |
VERBOSE
|
Fields inherited from interface wt.events.KeyedEventBranch |
EVENT_CLASS_NAME, EVENT_TYPE, TOSTRING_DELIMITER, TOSTRING_PREFIX |
Constructor Summary | |
StandardKeyedEventBranch(String eventKey)
Supported API: false |
|
StandardKeyedEventBranch(String eventKey,
String eventClassName,
String eventType)
Construct a StandardEventKeyBranch with key and event class name. |
Method Summary | |
void |
addEventListener(KeyedEventListener listener)
Supported API: true |
void |
dispatchEvent(Object eventObject)
Supported API: true |
void |
dispatchMultiObjectEvent(Object eventObject)
Supported API: true |
void |
dispatchVetoableEvent(Object eventObject)
Synchronously dispatch event notification to all listeners. |
void |
dispatchVetoableMultiObjectEvent(Object eventObject)
Synchronously dispatch event notification to all listeners. |
String |
getEventClassName()
Gets the value of the attribute: eventClassName; Return the fully qualified class name for the event, e.g. |
String |
getEventKey()
Gets the value of the attribute: eventKey; Return the event key for this branch. |
String |
getEventType()
Gets the value of the attribute: eventType; The type of the event, e.g. |
String |
getQualifiedEventType()
Get the fully qualified type of the event. |
void |
intDispatchEvent(Object eventObject,
boolean isSingleObjectEvent,
boolean isVetoable)
|
void |
removeAllEventsListener()
Supported API: false |
void |
removeEventListener(KeyedEventListener listener)
Supported API: true |
void |
setEventClassName(String a_EventClassName)
Sets the value of the attribute: eventClassName; Return the fully qualified class name for the event, e.g. |
void |
setEventType(String a_EventType)
Sets the value of the attribute: eventType; The type of the event, e.g. |
String |
toString()
Return a String representation of the event branch. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String eventKey
private String eventType
private String eventClassName
private Vector listeners
protected static final boolean VERBOSE
Constructor Detail |
public StandardKeyedEventBranch(String eventKey)
eventKey
- public StandardKeyedEventBranch(String eventKey, String eventClassName, String eventType)
eventKey
- eventClassName
- eventType
- Method Detail |
public String getQualifiedEventType()
public String toString()
public String getEventKey()
getEventKey
in interface KeyedEventBranch
public String getEventType()
getEventType
in interface KeyedEventBranch
public void setEventType(String a_EventType) throws PropertyVetoException
setEventType
in interface KeyedEventBranch
a_EventType
-
PropertyVetoException
public String getEventClassName()
getEventClassName
in interface KeyedEventBranch
public void setEventClassName(String a_EventClassName) throws PropertyVetoException
setEventClassName
in interface KeyedEventBranch
a_EventClassName
-
PropertyVetoException
public void addEventListener(KeyedEventListener listener)
addEventListener
in interface KeyedEventBranch
listener
- public void removeEventListener(KeyedEventListener listener)
removeEventListener
in interface KeyedEventBranch
listener
- public void removeAllEventsListener()
removeAllEventsListener
in interface KeyedEventBranch
public void dispatchEvent(Object eventObject)
dispatchEvent
in interface KeyedEventBranch
eventObject
- public void dispatchVetoableEvent(Object eventObject) throws WTException
dispatchVetoableEvent
in interface KeyedEventBranch
eventObject
-
WTException
public void dispatchMultiObjectEvent(Object eventObject)
dispatchMultiObjectEvent
in interface KeyedEventBranch
eventObject
- public void dispatchVetoableMultiObjectEvent(Object eventObject) throws WTException
dispatchVetoableMultiObjectEvent
in interface KeyedEventBranch
eventObject
-
WTException
public void intDispatchEvent(Object eventObject, boolean isSingleObjectEvent, boolean isVetoable) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |