com.notuvy.util
Class DependentText
java.lang.Object
com.notuvy.util.DependentText
- All Implemented Interfaces:
- ValueChangeHandler<Boolean>
- Direct Known Subclasses:
- DependentText.Label, DependentText.Menu, DependentText.ToolTip
public abstract class DependentText
- extends Object
- implements ValueChangeHandler<Boolean>
Use one of two text values depending on a boolean flag.
- Author:
- murali
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependentText
public DependentText(String pTextTrue,
String pTextFalse)
getTextTrue
public String getTextTrue()
getTextFalse
public String getTextFalse()
handleInitialValue
public void handleInitialValue(Boolean pValue)
- Description copied from interface:
ValueChangeHandler
- 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.
- Specified by:
handleInitialValue
in interface ValueChangeHandler<Boolean>
- Parameters:
pValue
- The initial value.
Copyright © 2013. All Rights Reserved.