Class EmptyColumnAdapter<T,​V>

    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyColumnAdapter​(java.lang.String identifier, java.lang.Class<V> type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColumnId()  
      java.lang.String getName()
      Get the name to be displayed in the table column header.
      java.lang.String getResource​(java.lang.String resourceId, java.lang.String defaultValue)
      Get a resource value for the table column.
      java.lang.Class<V> getType()
      Get the property value type.
      V getValue​(T row)  
      boolean isEditable​(T row)  
      void setValue​(T row, V value)  
      • Methods inherited from class java.lang.Object

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

      • EmptyColumnAdapter

        public EmptyColumnAdapter​(java.lang.String identifier,
                                  java.lang.Class<V> type)
        Parameters:
        identifier - the column identifier
        type - the value type
    • Method Detail

      • getColumnId

        public java.lang.String getColumnId()
        Specified by:
        getColumnId in interface ColumnAdapter<T,​V>
        Returns:
        the table column ID
      • getResource

        public java.lang.String getResource​(java.lang.String resourceId,
                                            java.lang.String defaultValue)
        Description copied from interface: ColumnAdapter
        Get a resource value for the table column.
        Specified by:
        getResource in interface ColumnAdapter<T,​V>
      • getName

        public java.lang.String getName()
        Description copied from interface: ColumnAdapter
        Get the name to be displayed in the table column header.
        Specified by:
        getName in interface ColumnAdapter<T,​V>
      • getType

        public java.lang.Class<V> getType()
        Description copied from interface: ColumnAdapter
        Get the property value type.
        Specified by:
        getType in interface ColumnAdapter<T,​V>
      • isEditable

        public boolean isEditable​(T row)
        Specified by:
        isEditable in interface ColumnAdapter<T,​V>
        Returns:
        true if the property is editable for the specified bean.