org.efaps.ui.wicket.components.menu
Class AjaxSetCompanyLink.OpenSetCompanyPageBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.apache.wicket.ajax.AjaxEventBehavior
                  extended by org.efaps.ui.wicket.components.menu.AjaxSetCompanyLink.OpenSetCompanyPageBehavior
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor
Enclosing class:
AjaxSetCompanyLink

public class AjaxSetCompanyLink.OpenSetCompanyPageBehavior
extends org.apache.wicket.ajax.AjaxEventBehavior

/** Class is used to execute the opening of the modal window.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
AjaxSetCompanyLink.OpenSetCompanyPageBehavior()
          Constructor.
 
Method Summary
 java.lang.String getJavaScript()
          This Method returns the JavaScript which is executed by the JSCooKMenu.
protected  java.lang.CharSequence getPreconditionScript()
          Method must be overwritten, otherwise the default would break the execution of the JavaScript.
protected  void onEvent(org.apache.wicket.ajax.AjaxRequestTarget _target)
          Show the modal window.
 
Methods inherited from class org.apache.wicket.ajax.AjaxEventBehavior
generateCallbackScript, getEvent, getEventHandler, onCheckEvent, onComponentTag, respond, setThrottleDelay
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getSuccessScript, onBind, onRequest, renderHead, throttleScript
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxSetCompanyLink.OpenSetCompanyPageBehavior

public AjaxSetCompanyLink.OpenSetCompanyPageBehavior()
Constructor.

Method Detail

getJavaScript

public java.lang.String getJavaScript()
This Method returns the JavaScript which is executed by the JSCooKMenu.

Returns:
String with the JavaScript

onEvent

protected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget _target)
Show the modal window.

Specified by:
onEvent in class org.apache.wicket.ajax.AjaxEventBehavior
Parameters:
_target - AjaxRequestTarget

getPreconditionScript

protected java.lang.CharSequence getPreconditionScript()
Method must be overwritten, otherwise the default would break the execution of the JavaScript.

Overrides:
getPreconditionScript in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Returns:
null


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.