JFormDesigner 5.0.4 Runtime API

com.jformdesigner.model
Interface FormComponentVisitor


public interface FormComponentVisitor

An object that visits form components.

Usage:

 class Visitor implements FormComponentVisitor {
     public boolean visit(FormComponent comp) {
         // do something
         return true;
     }
 }

 FormModel model = ...;
 model.accept(new Visitor());
 

Since:
3.0

Method Summary
 boolean visit(FormComponent comp)
          Visits the given form component.
 

Method Detail

visit

boolean visit(FormComponent comp)
Visits the given form component.

Parameters:
comp - The form component.
Returns:
true to continue visiting following form components or false to cancel visiting.

JFormDesigner 5.0.4 Runtime API

Copyright (C) 2004-2012 FormDev Software GmbH. All rights reserved.