org.olat.core.gui.components.form.flexible
Interface FormItemDependencyRule

All Known Implementing Classes:
FormItemDependencyRuleImpl

public interface FormItemDependencyRule

Description:
TODO: patrickb Class Description for FormItemDependencyRule

Initial Date: 09.02.2007

Author:
patrickb

Method Summary
 boolean applyRule(FormItemContainer layoutContainer)
          Checks if rule is triggered and executes the desired actions on the target elements.
 java.lang.String getIdentifier()
          identify this rule without taking the target elements into account.
 java.util.Set<FormItem> getTargetElements()
           
 FormItem getTriggerElement()
          which form element triggers this rule
 java.lang.Object getTriggerValue()
          which trigger value in the form element
 void setDependencyRuleApplayable(DependencyRuleApplayable applayable)
           
 

Method Detail

getTriggerElement

FormItem getTriggerElement()
which form element triggers this rule

Returns:

getTriggerValue

java.lang.Object getTriggerValue()
which trigger value in the form element

Returns:

getTargetElements

java.util.Set<FormItem> getTargetElements()
Returns:

applyRule

boolean applyRule(FormItemContainer layoutContainer)
Checks if rule is triggered and executes the desired actions on the target elements. returns true if rule was applied


getIdentifier

java.lang.String getIdentifier()
identify this rule without taking the target elements into account.

Returns:

setDependencyRuleApplayable

void setDependencyRuleApplayable(DependencyRuleApplayable applayable)
Parameters:
applayable -