2013-06-13 19:57:30 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2013-10-15 12:28:36 +02:00
<!-- NewPage -->
< html lang = "nl" >
< head >
<!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:25:31 CEST 2013 -->
< title > Event< / title >
< meta name = "date" content = "2013-10-15" >
< link rel = "stylesheet" type = "text/css" href = "../stylesheet.css" title = "Style" >
< / head >
< body >
< script type = "text/javascript" > < ! - -
2013-06-13 19:57:30 +02:00
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Event";
}
2013-10-15 12:28:36 +02:00
//-->
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2013-06-13 19:57:30 +02:00
<!-- ========= START OF TOP NAVBAR ======= -->
2013-10-15 12:28:36 +02:00
< div class = "topNav" > < a name = "navbar_top" >
<!-- -->
< / a > < a href = "#skip-navbar_top" title = "Skip navigation links" > < / a > < a name = "navbar_top_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/Event.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../index-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > < a href = "../System/AsyncCallback.html" title = "class in System" > < span class = "strong" > Prev Class< / span > < / a > < / li >
< li > < a href = "../System/EventArgs.html" title = "class in System" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../index.html?System/Event.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "Event.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
< li > < a href = "../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
2013-06-13 19:57:30 +02:00
if(window==top) {
2013-10-15 12:28:36 +02:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2013-06-13 19:57:30 +02:00
}
//-->
2013-10-15 12:28:36 +02:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_top" >
<!-- -->
< / a > < / div >
2013-06-13 19:57:30 +02:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2013-10-15 12:28:36 +02:00
< div class = "header" >
< div class = "subTitle" > System< / div >
< h2 title = "Class Event" class = "title" > Class Event< T extends < a href = "../System/EventArgs.html" title = "class in System" > EventArgs< / a > > < / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
< li > java.lang.Object< / li >
< li >
< ul class = "inheritance" >
< li > System.Event< T> < / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl > < dt > < span class = "strong" > Type Parameters:< / span > < / dt > < dd > < code > T< / code > - The EventArgs instance or subclass to use with this event.< / dd > < / dl >
< hr >
< br >
< pre > public class < span class = "strong" > Event< T extends < a href = "../System/EventArgs.html" title = "class in System" > EventArgs< / a > > < / span >
extends java.lang.Object< / pre >
< div class = "block" > Base class for all events in JavaXNA.< / div >
< dl > < dt > < span class = "strong" > Author:< / span > < / dt >
< dd > Halofreak1990< / dd > < / dl >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2013-06-13 19:57:30 +02:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2013-10-15 12:28:36 +02:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_summary" >
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Constructor Summary table, listing constructors, and an explanation" >
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colOne" scope = "col" > Constructor and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colOne" > < code > < strong > < a href = "../System/Event.html#Event()" > Event< / a > < / strong > ()< / code >
< div class = "block" > Creates a new instance of this Object.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2013-06-13 19:57:30 +02:00
<!-- ========== METHOD SUMMARY =========== -->
2013-10-15 12:28:36 +02:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span > Methods< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Method and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../System/Event.html#addHandler(System.EventHandler)" > addHandler< / a > < / strong > (< a href = "../System/EventHandler.html" title = "interface in System" > EventHandler< / a > < < a href = "../System/Event.html" title = "type parameter in Event" > T< / a > > handler)< / code >
< div class = "block" > Adds a handler for this event< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../System/Event.html#hasHandlers()" > hasHandlers< / a > < / strong > ()< / code >
< div class = "block" > Use this to determine whether you can actually raise the event,
since if the list is empty, you'll get an InvalidOperationException.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../System/Event.html#raise(java.lang.Object, T)" > raise< / a > < / strong > (java.lang.Object sender,
< a href = "../System/Event.html" title = "type parameter in Event" > T< / a > e)< / code >
< div class = "block" > Raises the event.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../System/Event.html#removeHandler(System.EventHandler)" > removeHandler< / a > < / strong > (< a href = "../System/EventHandler.html" title = "interface in System" > EventHandler< / a > < < a href = "../System/Event.html" title = "type parameter in Event" > T< / a > > handler)< / code >
< div class = "block" > Removes the specified handler for this event< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
< li class = "blockList" > < a name = "methods_inherited_from_class_java.lang.Object" >
<!-- -->
< / a >
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2013-06-13 19:57:30 +02:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2013-10-15 12:28:36 +02:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_detail" >
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
< a name = "Event()" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > Event< / h4 >
< pre > public Event()< / pre >
< div class = "block" > Creates a new instance of this Object.< / div >
< / li >
< / ul >
< / li >
< / ul >
2013-06-13 19:57:30 +02:00
<!-- ============ METHOD DETAIL ========== -->
2013-10-15 12:28:36 +02:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
< a name = "hasHandlers()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > hasHandlers< / h4 >
< pre > public boolean hasHandlers()< / pre >
< div class = "block" > Use this to determine whether you can actually raise the event,
since if the list is empty, you'll get an InvalidOperationException.< / div >
< / li >
< / ul >
< a name = "addHandler(System.EventHandler)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > addHandler< / h4 >
< pre > public void addHandler(< a href = "../System/EventHandler.html" title = "interface in System" > EventHandler< / a > < < a href = "../System/Event.html" title = "type parameter in Event" > T< / a > > handler)< / pre >
< div class = "block" > Adds a handler for this event< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > handler< / code > - The handler to add to this event.< / dd > < / dl >
< / li >
< / ul >
< a name = "removeHandler(System.EventHandler)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > removeHandler< / h4 >
< pre > public void removeHandler(< a href = "../System/EventHandler.html" title = "interface in System" > EventHandler< / a > < < a href = "../System/Event.html" title = "type parameter in Event" > T< / a > > handler)< / pre >
< div class = "block" > Removes the specified handler for this event< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > handler< / code > - < / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > < a href = "../System/InvalidOperationException.html" title = "class in System" > InvalidOperationException< / a > < / code > - Thrown when no event handlers have previously been assigned.< / dd > < / dl >
< / li >
< / ul >
< a name = "raise(java.lang.Object,System.EventArgs)" >
<!-- -->
< / a > < a name = "raise(java.lang.Object, T)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > raise< / h4 >
< pre > public void raise(java.lang.Object sender,
< a href = "../System/Event.html" title = "type parameter in Event" > T< / a > e)< / pre >
< div class = "block" > Raises the event.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - The Object that raised the event.< / dd > < dd > < code > e< / code > - An instance of System.EventArgs that provides information about the event.< / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > < a href = "../System/InvalidOperationException.html" title = "class in System" > InvalidOperationException< / a > < / code > - Thrown when the event is raised with no event handlers assigned.< / dd > < / dl >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
2013-06-13 19:57:30 +02:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2013-10-15 12:28:36 +02:00
< div class = "bottomNav" > < a name = "navbar_bottom" >
<!-- -->
< / a > < a href = "#skip-navbar_bottom" title = "Skip navigation links" > < / a > < a name = "navbar_bottom_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/Event.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../index-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > < a href = "../System/AsyncCallback.html" title = "class in System" > < span class = "strong" > Prev Class< / span > < / a > < / li >
< li > < a href = "../System/EventArgs.html" title = "class in System" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../index.html?System/Event.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "Event.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
< li > < a href = "../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2013-06-13 19:57:30 +02:00
if(window==top) {
2013-10-15 12:28:36 +02:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2013-06-13 19:57:30 +02:00
}
//-->
2013-10-15 12:28:36 +02:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_bottom" >
<!-- -->
< / a > < / div >
2013-06-13 19:57:30 +02:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2013-10-15 12:28:36 +02:00
< / body >
< / html >