Class CmsAliasModeColumn
- java.lang.Object
-
- com.google.gwt.user.cellview.client.Column<R,V>
-
- org.opencms.ade.sitemap.client.alias.A_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String,CmsAliasCellTable>
-
- org.opencms.ade.sitemap.client.alias.simple.CmsAliasModeColumn
-
- All Implemented Interfaces:
com.google.gwt.cell.client.HasCell<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String>
,com.google.gwt.user.client.ui.HasAlignment
,com.google.gwt.user.client.ui.HasHorizontalAlignment
,com.google.gwt.user.client.ui.HasVerticalAlignment
public class CmsAliasModeColumn extends A_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String,CmsAliasCellTable>
The table column for displaying/editing the alias mode.
-
-
Constructor Summary
Constructors Constructor Description CmsAliasModeColumn(CmsAliasCellTable table)
Creates a new column instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToTable(CmsAliasCellTable table)
Adds the column to the table.static java.util.List<java.lang.String>
createOptions()
Creates the options for the select box.static java.util.Comparator<org.opencms.gwt.shared.alias.CmsAliasTableRow>
getComparator()
Gets the comparator used for this column.java.lang.String
getValue(org.opencms.gwt.shared.alias.CmsAliasTableRow object)
void
initSortHandler(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<org.opencms.gwt.shared.alias.CmsAliasTableRow> sortHandler)
Initializes the sort handler to use this column.-
Methods inherited from class com.google.gwt.user.cellview.client.Column
getCell, getCellStyleNames, getDataStoreName, getFieldUpdater, getHorizontalAlignment, getVerticalAlignment, isDefaultSortAscending, isSortable, onBrowserEvent, render, setCellStyleNames, setDataStoreName, setDefaultSortAscending, setFieldUpdater, setHorizontalAlignment, setSortable, setVerticalAlignment
-
-
-
-
Constructor Detail
-
CmsAliasModeColumn
public CmsAliasModeColumn(CmsAliasCellTable table)
Creates a new column instance.- Parameters:
table
- the table for which this column is used
-
-
Method Detail
-
createOptions
public static java.util.List<java.lang.String> createOptions()
Creates the options for the select box.- Returns:
- the options for the select box
-
getComparator
public static java.util.Comparator<org.opencms.gwt.shared.alias.CmsAliasTableRow> getComparator()
Gets the comparator used for this column.- Returns:
- the comparator used for this column
-
addToTable
public void addToTable(CmsAliasCellTable table)
Description copied from class:A_CmsAliasTableColumn
Adds the column to the table.Subclasses can override this to also set e.g. the column width
- Specified by:
addToTable
in classA_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String,CmsAliasCellTable>
- See Also:
A_CmsAliasTableColumn.addToTable(com.google.gwt.user.cellview.client.CellTable)
-
getValue
public java.lang.String getValue(org.opencms.gwt.shared.alias.CmsAliasTableRow object)
- Specified by:
getValue
in interfacecom.google.gwt.cell.client.HasCell<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String>
- Specified by:
getValue
in classcom.google.gwt.user.cellview.client.Column<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String>
- See Also:
Column.getValue(java.lang.Object)
-
initSortHandler
public void initSortHandler(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler<org.opencms.gwt.shared.alias.CmsAliasTableRow> sortHandler)
Description copied from class:A_CmsAliasTableColumn
Initializes the sort handler to use this column.- Overrides:
initSortHandler
in classA_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,java.lang.String,CmsAliasCellTable>
- Parameters:
sortHandler
- the sort handler- See Also:
A_CmsAliasTableColumn.initSortHandler(com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler)
-
-