2004.04.29


com.jdc.gui.html.form.field
Class SelectField

java.lang.Object
  |
  +--com.jdc.gui.html.form.field.SelectField

public class SelectField
extends Object

SelectField represents an HTML selection field.

Version:
1.0
Author:
Jay Damon

Constructor Summary
SelectField()
          Constructs a new SelectField object.
 
Method Summary
 String getName()
          Returns the selection field name.
 int getWidth()
          Returns the selection field width.
 SelectField setName(String name)
          Sets the selection field name.
 SelectField setOptions(String[][] options)
          Sets the selection field options.
 SelectField setWidth(int width)
          Sets the selection field width.
 String toString()
          Returns a String representation of this selection field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectField

public SelectField()
Constructs a new SelectField object.

Method Detail

getName

public String getName()
Returns the selection field name.

Returns:
The selection field name.

getWidth

public int getWidth()
Returns the selection field width.

Returns:
The selection field width.

setName

public SelectField setName(String name)
Sets the selection field name.


setOptions

public SelectField setOptions(String[][] options)
Sets the selection field options.


setWidth

public SelectField setWidth(int width)
Sets the selection field width.


toString

public String toString()
Returns a String representation of this selection field.

Overrides:
toString in class Object

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.