org.apache.wicket.markup.html.form
Interface AbstractTextComponent.ITextFormatProvider

All Known Implementing Classes:
DateTextField, DateTextField
Enclosing class:
AbstractTextComponent<T>

public static interface AbstractTextComponent.ITextFormatProvider

Text components that implement this interface are know to be able to provide a pattern for formatting output and parsing input. This can be used by for instance date picker components which are based on Javascript and need some knowledge as to how to communicate properly via request parameters.


Method Summary
 String getTextFormat()
          Gets the pattern for printing output and parsing input.
 

Method Detail

getTextFormat

String getTextFormat()
Gets the pattern for printing output and parsing input.

Returns:
The text pattern
See Also:
SimpleDateFormat


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.