net.livesite.swing.table
Class XMLColumnInfo

java.lang.Object
  extended by net.livesite.swing.table.XMLColumnInfo

public class XMLColumnInfo
extends Object

Column meta-data for XMLTableModel.

Version:
$Revision$
Author:
Ryan Gies

Constructor Summary
XMLColumnInfo(String heading, String tag, String className)
          Proper constructor.
 
Method Summary
 String getClassname()
          Gets the className for this instance.
 String getHeading()
          Gets the heading for this instance.
 String getTag()
          Gets the tag for this instance.
 void setClassname(String className)
          Sets the className for this instance.
 void setHeading(String heading)
          Sets the heading for this instance.
 void setTag(String tag)
          Sets the tag for this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLColumnInfo

public XMLColumnInfo(String heading,
                     String tag,
                     String className)
Proper constructor.

Parameters:
heading - column heading
tag - tag name in xml file
className - default value (and object type)
Method Detail

getHeading

public String getHeading()
Gets the heading for this instance.

Returns:
The heading.

setHeading

public void setHeading(String heading)
Sets the heading for this instance.

Parameters:
heading - The heading.

setTag

public void setTag(String tag)
Sets the tag for this instance.

Parameters:
tag - The tag.

setClassname

public void setClassname(String className)
Sets the className for this instance.

Parameters:
className - The className.

getClassname

public String getClassname()
Gets the className for this instance.

Returns:
The className.

getTag

public String getTag()
Gets the tag for this instance.

Returns:
The tag.