org.springframework.richclient.form.builder
Interface FormComponentInterceptor

All Known Implementing Classes:
AbstractFormComponentInterceptor, AbstractFormComponentStatusBarInterceptor, CheckBoxFormComponentInterceptor, ComboBoxAutoCompletionInterceptorFactory.ComboBoxAutoCompletionInterceptor, DirtyIndicatorInterceptor, OverlayValidationInterceptorFactory.OverlayValidationInterceptor, SelectAllFormComponentInterceptorFactory.SelectAllFormComponentInterceptor, TextCaretFormComponentInterceptorFactory.TextCaretComponentInterceptor, TextComponentInterceptor, ValidationInterceptor

public interface FormComponentInterceptor

This provides a way to wrap functionality around components and labels.

Example uses include changing the color when validation fails, or attaching a right-click popup menu.

Author:
oliverh

Method Summary
 void processComponent(String propertyName, JComponent component)
          Perform some kind of processing on the component.
 void processLabel(String propertyName, JComponent label)
          Perform some kind of processing on the label.
 

Method Detail

processLabel

void processLabel(String propertyName,
                  JComponent label)
Perform some kind of processing on the label.

Parameters:
propertyName - the name of the property that the label is for
label - the label to process

processComponent

void processComponent(String propertyName,
                      JComponent component)
Perform some kind of processing on the component.

Parameters:
propertyName - the name of the property that the component is for
component - the component to process


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.