Package org.apache.pivot.wtk
Interface TextArea.TextBindMapping
- 
- Enclosing class:
- TextArea
 
 public static interface TextArea.TextBindMappingTranslates between text and context data during data binding.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringtoString(java.lang.Object value)Converts a value from the bind context to a text representation during aComponent.load(Object)operation.java.lang.ObjectvalueOf(java.lang.String text)Converts a text string to a value to be stored in the bind context during aComponent.store(Object)operation.
 
- 
- 
- 
Method Detail- 
toStringjava.lang.String toString(java.lang.Object value) Converts a value from the bind context to a text representation during aComponent.load(Object)operation.- Parameters:
- value- The value from the bind context to convert to text.
- Returns:
- The string representation of the value to display.
 
 - 
valueOfjava.lang.Object valueOf(java.lang.String text) Converts a text string to a value to be stored in the bind context during aComponent.store(Object)operation.- Parameters:
- text- The current text from the control to convert to an object suitable for storage in the bind context.
- Returns:
- The text converted to an object suitable for the bind context.
 
 
- 
 
-