org.efaps.ui.wicket.behaviors.update
Interface UpdateInterface

All Known Implementing Classes:
AbstractAjaxUpdateBehavior, MenuTree.AjaxUpdateBehavior, StructurBrowserTree.AjaxUpdateBehavior

public interface UpdateInterface

This Interface is used for Behaviors which are stored in #org.efaps.ui.wicket.EFapsSession(). For an example of implementing this Interface #org.efaps.ui.wicket.behaviors.update.AbstractAjaxUpdateBehavior()

Version:
$Id: UpdateInterface.java 3447 2009-11-29 22:46:39Z tim.moxter $
Author:
jmox
See Also:
#org.efaps.ui.wicket.behaviors.update.AbstractAjaxUpdateBehavior

Method Summary
 java.lang.String getAjaxCallback()
          Thi smethod should return the CallBackScript of the Behavior.
 java.lang.String getId()
          returns the Id of this Behavior.
 boolean isAjaxCallback()
          This method should return if the class should respond on a Ajaxrequest.
 void setInstanceKey(java.lang.String _instanceKey)
          Method used to set the Oid.
 void setMode(org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode _mode)
          Method used to set the TargetMode.
 

Method Detail

isAjaxCallback

boolean isAjaxCallback()
This method should return if the class should respond on a Ajaxrequest.

Returns:
true if ajax

getAjaxCallback

java.lang.String getAjaxCallback()
Thi smethod should return the CallBackScript of the Behavior.

Returns:
ajax callback

setInstanceKey

void setInstanceKey(java.lang.String _instanceKey)
Method used to set the Oid.

Parameters:
_instanceKey - oid to set

setMode

void setMode(org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode _mode)
Method used to set the TargetMode.

Parameters:
_mode - mode to set

getId

java.lang.String getId()
returns the Id of this Behavior.

Returns:
id


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