public class IlvDefaultStaticColumnInfo extends Object implements IlvStaticColumnInfo, Serializable
IlvStaticColumnInfo interface.
It stores the column properties (name, type) locally in this instance.
| Constructor and Description |
|---|
IlvDefaultStaticColumnInfo()
Creates a column info with an empty name and value type String.
|
IlvDefaultStaticColumnInfo(String name,
Class type)
Creates a column info with the given name and value type.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a copy of this object.
|
String |
getName()
Returns the name of the column.
|
Class |
getType()
Returns the value type of the column.
|
void |
setName(String name)
Sets the name of the column.
|
void |
setType(Class type)
Sets the type of the values of this column.
|
public IlvDefaultStaticColumnInfo()
public String getName()
The name is used in the chart display. It is used for accessing
the column data only in some implementation of
IlvModelWithColumns (such as IlvFlatListModel
or IlvTreeListModel).
getName in interface IlvStaticColumnInfopublic void setName(String name)
When using this function, you should make sure that two columns
of the same IlvModelWithColumns do not have the same name.
This method should not be called once this instance is already
connected to an IlvModelWithColumns because no notification
is sent when the name changes.
public Class getType()
getType in interface IlvStaticColumnInfopublic void setType(Class type)
This method should not be called once this instance is already
connected to an IlvModelWithColumns because no notification
is sent when the type changes.
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.