com.notuvy.util
Interface ValueChangeHandler<T>

All Known Implementing Classes:
DependentText, DependentText.Label, DependentText.Menu, DependentText.ToolTip

public interface ValueChangeHandler<T>

Handle a change in value of an observable ValueHolder.

Author:
murali

Method Summary
 void handleInitialValue(T pValue)
          Handle the initial value in the ValueHolder.
 void handleValueChange(T pValue)
          Handle the changed value in the ValueHolder.
 

Method Detail

handleInitialValue

void handleInitialValue(T pValue)
Handle the initial value in the ValueHolder. Note that this is necessary because when a handler is attached to a holder, there is no change in value in the holder. This method is used to have the handle initialize.

Parameters:
pValue - The initial value.

handleValueChange

void handleValueChange(T pValue)
Handle the changed value in the ValueHolder. This gets called each time a new value is set.

Parameters:
pValue - The new value.


Copyright © 2013. All Rights Reserved.