Class ColorComponentsConverter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class[] getDatastoreColumnTypes()
      Accessor for the java types of the datastore columns.
      int[] toDatastoreType​(java.awt.Color memberValue)
      Method to convert the passed member value to the datastore type.
      java.awt.Color toMemberType​(int[] datastoreValue)
      Method to convert the passed datastore value to the member type.
      • Methods inherited from class java.lang.Object

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

      • ColorComponentsConverter

        public ColorComponentsConverter()
    • Method Detail

      • toDatastoreType

        public int[] toDatastoreType​(java.awt.Color memberValue)
        Description copied from interface: TypeConverter
        Method to convert the passed member value to the datastore type.
        Specified by:
        toDatastoreType in interface TypeConverter<java.awt.Color,​int[]>
        Parameters:
        memberValue - Value from the member
        Returns:
        Value for the datastore
      • toMemberType

        public java.awt.Color toMemberType​(int[] datastoreValue)
        Description copied from interface: TypeConverter
        Method to convert the passed datastore value to the member type.
        Specified by:
        toMemberType in interface TypeConverter<java.awt.Color,​int[]>
        Parameters:
        datastoreValue - Value from the datastore
        Returns:
        Value for the member