org.apache.pivot.wtk
Interface Label.TextBindMapping

Enclosing class:
Label

public static interface Label.TextBindMapping

Translates between text and context data during data binding.


Method Summary
 String toString(Object value)
          Converts a value from the bind context to a text representation during a Component.load(Object) operation.
 Object valueOf(String text)
          Converts a text string to a value to be stored in the bind context during a Component.store(Object) operation.
 

Method Detail

toString

String toString(Object value)
Converts a value from the bind context to a text representation during a Component.load(Object) operation.

Parameters:
value -

valueOf

Object valueOf(String text)
Converts a text string to a value to be stored in the bind context during a Component.store(Object) operation.

Parameters:
text -