Class CmsResourcePathColumn
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,String,CmsAliasCellTable>
org.opencms.ade.sitemap.client.alias.simple.CmsResourcePathColumn
- All Implemented Interfaces:
com.google.gwt.cell.client.HasCell<org.opencms.gwt.shared.alias.CmsAliasTableRow,
,String> com.google.gwt.user.client.ui.HasAlignment
,com.google.gwt.user.client.ui.HasHorizontalAlignment
,com.google.gwt.user.client.ui.HasVerticalAlignment
public class CmsResourcePathColumn
extends A_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,String,CmsAliasCellTable>
The table column for editing/displaying the alias resource path.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
-
Field Summary
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT
Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
-
Constructor Summary
ConstructorDescriptionCreates a new column instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToTable
(CmsAliasCellTable table) Adds the column to the table.getCellStyleNames
(com.google.gwt.cell.client.Cell.Context context, org.opencms.gwt.shared.alias.CmsAliasTableRow object) static Comparator<org.opencms.gwt.shared.alias.CmsAliasTableRow>
Gets the comparator which should be used for this column.getValue
(org.opencms.gwt.shared.alias.CmsAliasTableRow row) 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, getDataStoreName, getFieldUpdater, getHorizontalAlignment, getVerticalAlignment, isDefaultSortAscending, isSortable, onBrowserEvent, render, setCellStyleNames, setDataStoreName, setDefaultSortAscending, setFieldUpdater, setHorizontalAlignment, setSortable, setVerticalAlignment
-
Constructor Details
-
CmsResourcePathColumn
Creates a new column instance.- Parameters:
table
- the table for which this column is used
-
-
Method Details
-
getComparator
Gets the comparator which should be used for this column.- Returns:
- the comparator to be used for this column
-
addToTable
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,
String, CmsAliasCellTable> - See Also:
-
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,
String, CmsAliasCellTable> - Parameters:
sortHandler
- the sort handler- See Also:
-