Package com.cosylab.vdct.db
Class DBSheetColumn
- java.lang.Object
-
- com.cosylab.vdct.db.DBSheetColumn
-
- All Implemented Interfaces:
Comparable
public class DBSheetColumn extends Object implements Comparable
- Author:
- ssah
-
-
Constructor Summary
Constructors Constructor Description DBSheetColumn(String columnName, boolean hidden, int sortIndex)
DBSheetColumn(String name, boolean hidden, int sortIndex, DBSheetColWidth[] splitIndices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
String
getName()
int
getSortIndex()
DBSheetColWidth[]
getSplitIndices()
boolean
isHidden()
void
setHidden(boolean hidden)
void
setName(String name)
void
setSortIndex(int sortIndex)
void
setSplitIndices(DBSheetColWidth[] splitIndices)
-
-
-
Constructor Detail
-
DBSheetColumn
public DBSheetColumn(String columnName, boolean hidden, int sortIndex)
- Parameters:
columnName
- columnNamehidden
- hiddensortIndex
- sortIndex
-
DBSheetColumn
public DBSheetColumn(String name, boolean hidden, int sortIndex, DBSheetColWidth[] splitIndices)
- Parameters:
name
- namehidden
- hiddensortIndex
- sortIndexsplitIndices
- splitIndices
-
-
Method Detail
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
getName
public String getName()
- Returns:
- something
-
setName
public void setName(String name)
- Parameters:
name
- name
-
isHidden
public boolean isHidden()
- Returns:
- something
-
setHidden
public void setHidden(boolean hidden)
- Parameters:
hidden
- hidden
-
getSortIndex
public int getSortIndex()
- Returns:
- the sortIndex
-
setSortIndex
public void setSortIndex(int sortIndex)
- Parameters:
sortIndex
- the sortIndex to set
-
getSplitIndices
public DBSheetColWidth[] getSplitIndices()
- Returns:
- the splitIndices
-
setSplitIndices
public void setSplitIndices(DBSheetColWidth[] splitIndices)
- Parameters:
splitIndices
- the splitIndices to set
-
-