adapforms.runtime.adaptations
Class RelevantAdaptation

java.lang.Object
  extended by adapforms.runtime.adaptations.ElementAdaptation
      extended by adapforms.runtime.adaptations.RelevantAdaptation
All Implemented Interfaces:
Adaptation

public class RelevantAdaptation
extends ElementAdaptation

Changing the relevance (visibility) of a form element.

Author:
Henrik Gammelmark, geemark@cs.au.dk

Constructor Summary
RelevantAdaptation(FormPath path, boolean relevant)
           
 
Method Summary
 boolean isRelevant()
          Whether the element is relevant to the user in the current form state.
 java.lang.String toString()
           
 
Methods inherited from class adapforms.runtime.adaptations.ElementAdaptation
getElementPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelevantAdaptation

public RelevantAdaptation(FormPath path,
                          boolean relevant)
Method Detail

isRelevant

public boolean isRelevant()
Whether the element is relevant to the user in the current form state.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object