com.waveset.ui
Class Table.TextCell

java.lang.Object
  extended bycom.waveset.ui.Table.Cell
      extended bycom.waveset.ui.Table.TextCell
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Table

public static class Table.TextCell
extends Table.Cell

A class describing the contents of an element.

It's a single-valued item, with information about the size of the editing field.


Constructor Summary
Table.TextCell(java.lang.String name, java.lang.String value, int size, int maxLength)
           
 
Method Summary
 int getMaxLength()
           
 java.lang.String getName()
           
 int getSize()
           
 java.lang.String getValue()
           
 boolean isPassword()
           
 void setMaxLength(int max)
           
 void setPassword(boolean p)
           
 void setSize(int size)
           
 void setTitle(java.lang.String title)
           
 java.lang.String toHTML(RequestState req)
          Don't be fooled: this is really an abstract method.
 
Methods inherited from class com.waveset.ui.Table.Cell
clone, getPrimaryKey, setPrimaryKey
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table.TextCell

public Table.TextCell(java.lang.String name,
                      java.lang.String value,
                      int size,
                      int maxLength)
Method Detail

getSize

public int getSize()

getValue

public java.lang.String getValue()

getName

public java.lang.String getName()

getMaxLength

public int getMaxLength()

setSize

public void setSize(int size)

setMaxLength

public void setMaxLength(int max)

setTitle

public void setTitle(java.lang.String title)

isPassword

public boolean isPassword()

setPassword

public void setPassword(boolean p)

toHTML

public java.lang.String toHTML(RequestState req)
Description copied from class: Table.Cell
Don't be fooled: this is really an abstract method. Subclass AppletCell implements toHTML(response, request).

Overrides:
toHTML in class Table.Cell