Class CmsResourcePathColumn

  • 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 CmsResourcePathColumn
    extends A_CmsAliasTableColumn<org.opencms.gwt.shared.alias.CmsAliasTableRow,​java.lang.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
    • 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.
      java.lang.String getCellStyleNames​(com.google.gwt.cell.client.Cell.Context context, org.opencms.gwt.shared.alias.CmsAliasTableRow object)  
      static java.util.Comparator<org.opencms.gwt.shared.alias.CmsAliasTableRow> getComparator()
      Gets the comparator which should be used for this column.
      java.lang.String 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getComparator

        public static java.util.Comparator<org.opencms.gwt.shared.alias.CmsAliasTableRow> getComparator()
        Gets the comparator which should be used for this column.

        Returns:
        the comparator to be used for this column
      • getCellStyleNames

        public java.lang.String getCellStyleNames​(com.google.gwt.cell.client.Cell.Context context,
                                                  org.opencms.gwt.shared.alias.CmsAliasTableRow object)
        Overrides:
        getCellStyleNames in class com.google.gwt.user.cellview.client.Column<org.opencms.gwt.shared.alias.CmsAliasTableRow,​java.lang.String>
        See Also:
        Column.getCellStyleNames(com.google.gwt.cell.client.Cell.Context, java.lang.Object)
      • getValue

        public java.lang.String getValue​(org.opencms.gwt.shared.alias.CmsAliasTableRow row)
        Specified by:
        getValue in interface com.google.gwt.cell.client.HasCell<org.opencms.gwt.shared.alias.CmsAliasTableRow,​java.lang.String>
        Specified by:
        getValue in class com.google.gwt.user.cellview.client.Column<org.opencms.gwt.shared.alias.CmsAliasTableRow,​java.lang.String>
        See Also:
        Column.getValue(java.lang.Object)