Attaches an event handler to the panel to receive {@link DisclosureEvent}notification.
@param handler the handler to be added (should not be null)
@deprecated Use {@link DisclosurePanel#addOpenHandler(OpenHandler)} and{@link DisclosurePanel#addCloseHandler(CloseHandler)} instead
Add an events handler.
@param handler event handler
@param maxCheckInterval maximal time interval between eventschecks (this interval prevents missing sign changes in case the integration steps becomes very large)
@param convergence convergence threshold in the event time search
@param maxIterationCount upper limit of the iteration count inthe event time search
@see #getEventsHandlers()
@see #clearEventsHandlers()
Add an event handler to the integrator. Uses a default {@link UnivariateSolver}with an absolute accuracy equal to the given convergence threshold, as root-finding algorithm to detect the state events.
@param handler event handler
@param maxCheckInterval maximal time interval between switchingfunction checks (this interval prevents missing sign changes in case the integration steps becomes very large)
@param convergence convergence threshold in the event time search
@param maxIterationCount upper limit of the iteration count inthe event time search
@see #getEventHandlers()
@see #clearEventHandlers()
Add an event handler to the integrator. Uses a default {@link UnivariateSolver}with an absolute accuracy equal to the given convergence threshold, as root-finding algorithm to detect the state events.
@param handler event handler
@param maxCheckInterval maximal time interval between switchingfunction checks (this interval prevents missing sign changes in case the integration steps becomes very large)
@param convergence convergence threshold in the event time search
@param maxIterationCount upper limit of the iteration count inthe event time search
@see #getEventHandlers()
@see #clearEventHandlers()
Adds an event handler(s) to the Cartridge. This method will find all possible event handler interfaces supported by the passed in object.
@param ev object impementing a valid EventHandler-derived interface
@return true if a supported interface, false otherwise or if null
Adds a new event handler. When the event occurs, the JavaScript function specified is executed. Multiple functions can be specified, in which case all of them are executed.
This was created for use by {@link org.apache.tapestry.html.Rollover} to set mouse over and mouse out handlers onthe {@link ILinkComponent} that wraps it, but can be used formany other things as well.
@since 0.2.9
Adds an event handler(s) to the Cartridge. This method will find all possible event handler interfaces supported by the passed in object.
@param ev object impementing a valid EventHandler-derived interface
@return true if a supported interface, false otherwise or if null
Registers event handler, multiple handlers are supported through multiple method invocations.
@param eventHandler handler to register
@throws IOException in case of inability to add the event handler
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.