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 5889 2010-12-01 03:16:39Z jan@moxter.net $
Author:
The eFaps TEam

Method Summary
 String getAjaxCallback()
          Thi smethod should return the CallBackScript of the Behavior.
 String getId()
          returns the Id of this Behavior.
 boolean isAjaxCallback()
          This method should return if the class should respond on a Ajaxrequest.
 void setInstanceKey(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

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

Returns:
ajax callback

setInstanceKey

void setInstanceKey(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

String getId()
returns the Id of this Behavior.

Returns:
id


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