Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.html.event
Class HtmlDispatcherBroker  view HtmlDispatcherBroker download HtmlDispatcherBroker.java

java.lang.Object
  extended bycom.voytechs.html.event.DispatcherBroker
      extended bycom.voytechs.html.event.HtmlDispatcherBroker

public class HtmlDispatcherBroker
extends DispatcherBroker

Specialized container object for holding dispatcher listeners. Because of dynamic binding of HTML components and the dispatcher, addtion of listeners has to be delayed until the dispatcher bound and initlizated otherwise the binding can't occur. This object adapts to the HTML component special requirements such as generating a URL acceptable parameters or HTML Form tags.


Field Summary
private  HtmlDispatcher dispatcher
           
private  java.lang.String uniqName
           
 
Fields inherited from class com.voytechs.html.event.DispatcherBroker
 
Constructor Summary
HtmlDispatcherBroker(int componentType)
           
 
Method Summary
 java.lang.String getElementName()
          Get the uniq name of the component.
static void main(java.lang.String[] args)
          Test function for HtmlDispatcherBroker
 void setDispatcher(HtmlDispatcher dispatcher)
          Sets the global dispatcher.
 
Methods inherited from class com.voytechs.html.event.DispatcherBroker
addDelayedListeners, addListener, getEventType, getId, hasListenerRequests, setDispatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uniqName

private java.lang.String uniqName

dispatcher

private HtmlDispatcher dispatcher
Constructor Detail

HtmlDispatcherBroker

public HtmlDispatcherBroker(int componentType)
Method Detail

setDispatcher

public void setDispatcher(HtmlDispatcher dispatcher)
                   throws EventException
Sets the global dispatcher. Late bindings, adding delayed listeners, etc. Called after the full component tree is built.


getElementName

public java.lang.String getElementName()
Get the uniq name of the component.


main

public static void main(java.lang.String[] args)
Test function for HtmlDispatcherBroker