Class ColumnData
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.ColumnData
public class ColumnData
extends java.lang.Object
Provides for xml packing/unpacking of columns
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<XViewerColumn>
columns
(package private) java.util.Map<java.lang.String,XViewerColumn>
idToColumn
-
Constructor Summary
Constructors Constructor Description ColumnData()
-
Method Summary
Modifier and Type Method Description java.util.List<XViewerColumn>
getColumns()
XViewerColumn
getXColumn(java.lang.String id)
java.lang.String
getXml(boolean visibleColumnsOnly)
void
setColumns(java.util.List<XViewerColumn> columns)
java.util.List<XViewerColumn>
setFromXml(java.lang.String xml)
java.lang.String
toString()
-
Field Details
-
columns
java.util.List<XViewerColumn> columns -
idToColumn
java.util.Map<java.lang.String,XViewerColumn> idToColumn
-
-
Constructor Details
-
ColumnData
public ColumnData()
-
-
Method Details
-
setFromXml
-
getXColumn
-
getXml
public java.lang.String getXml(boolean visibleColumnsOnly) -
getColumns
-
setColumns
- Parameters:
columns
- the columns to set
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-