AdventNet Web NMS 4 API Specification

com.adventnet.nms.fe.common
Class TableColumn

java.lang.Object
  |
  +--com.adventnet.nms.fe.common.TableColumn
All Implemented Interfaces:
java.io.Serializable

public class TableColumn
extends java.lang.Object
implements java.io.Serializable

This class stores a single column information such as columnname, displayname and width of the column while viewing in the UI.

Since:
Web NMS 2.3
See Also:
Serializable, Serialized Form

Constructor Summary
TableColumn(java.lang.String columnName)
          Creates a new TableColumn instance.
TableColumn(java.lang.String columnName, java.lang.String displayName, int width)
          Creates a new TableColumn instance.
 
Method Summary
 java.lang.String getColumnName()
          Get the value of columnName.
 java.lang.String getDisplayName()
          Get the value of displayName.
 int getWidth()
          Get the value of width.
 void setColumnName(java.lang.String columnName)
          Set the value of columnName.
 void setDisplayName(java.lang.String displayName)
          Set the value of displayName.
 void setWidth(int width)
          Set the value of width.
 java.lang.String toString()
          Returns String representation of this object with '=' as the separator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableColumn

public TableColumn(java.lang.String columnName)
            throws java.lang.IllegalArgumentException
Creates a new TableColumn instance.
Parameters:
columnName - a String value
Throws:
java.lang.IllegalArgumentException - if the columnName is null or a zero length string

TableColumn

public TableColumn(java.lang.String columnName,
                   java.lang.String displayName,
                   int width)
            throws java.lang.IllegalArgumentException
Creates a new TableColumn instance.
Parameters:
columnName - a String value
displayName - a String value
width - an int value
Throws:
java.lang.IllegalArgumentException - if the columnName is null or a zero length string
Method Detail

getColumnName

public java.lang.String getColumnName()
Get the value of columnName.
Returns:
value of columnName.

setColumnName

public void setColumnName(java.lang.String columnName)
Set the value of columnName.
Parameters:
columnName - Value to assign to columnName.

getDisplayName

public java.lang.String getDisplayName()
Get the value of displayName.
Returns:
value of displayName.

setDisplayName

public void setDisplayName(java.lang.String displayName)
Set the value of displayName.
Parameters:
displayName - Value to assign to displayName.

getWidth

public int getWidth()
Get the value of width.
Returns:
value of width.

setWidth

public void setWidth(int width)
Set the value of width.
Parameters:
width - Value to assign to width.

toString

public java.lang.String toString()
Returns String representation of this object with '=' as the separator. The return type will be like display=column=width
Overrides:
toString in class java.lang.Object

AdventNet Web NMS 4 API Specification