org.apache.wicket.examples.forminput
Class FormInputModel.Line

java.lang.Object
  extended by org.apache.wicket.examples.forminput.FormInputModel.Line
All Implemented Interfaces:
Serializable, IClusterable
Enclosing class:
FormInputModel

public final class FormInputModel.Line
extends Object
implements IClusterable

Represents a line of text. Hack to get around the fact that strings are immutable.

See Also:
Serialized Form

Constructor Summary
FormInputModel.Line(String text)
          Construct.
 
Method Summary
 String getText()
          Gets text.
 void setText(String text)
          Sets text.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormInputModel.Line

public FormInputModel.Line(String text)
Construct.

Parameters:
text -
Method Detail

getText

public String getText()
Gets text.

Returns:
text

setText

public void setText(String text)
Sets text.

Parameters:
text - text

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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