org.apache.wicket.examples.ajax.builtin
Class TodoList.TodoItem

java.lang.Object
  extended by org.apache.wicket.examples.ajax.builtin.TodoList.TodoItem
All Implemented Interfaces:
Serializable, IClusterable
Enclosing class:
TodoList

public static class TodoList.TodoItem
extends Object
implements IClusterable

The todo object.

See Also:
Serialized Form

Constructor Summary
TodoList.TodoItem()
          Constructor.
TodoList.TodoItem(TodoList.TodoItem item)
          Copy constructor.
 
Method Summary
 String getText()
          Gets the description of the item.
 boolean isChecked()
           
 void setChecked(boolean checked)
          Sets the checked property.
 void setText(String text)
          Sets the description of the item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TodoList.TodoItem

public TodoList.TodoItem()
Constructor.


TodoList.TodoItem

public TodoList.TodoItem(TodoList.TodoItem item)
Copy constructor.

Parameters:
item - the item to copy the values from.
Method Detail

isChecked

public boolean isChecked()
Returns:
Returns the checked property.

setChecked

public void setChecked(boolean checked)
Sets the checked property.

Parameters:
checked - The checked property to set.

getText

public String getText()
Gets the description of the item.

Returns:
Returns the text.

setText

public void setText(String text)
Sets the description of the item.

Parameters:
text - The text to set.


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