Interface GraphicalAttRepresentationHandler

All Known Subinterfaces:
GraphicalComponent
All Known Implementing Classes:
AbstractGraphicalComponent, MultiStateIconComponent, PercentCompleteComponent, ProgressBarComponent, TrafficLightComponent

public interface GraphicalAttRepresentationHandler
An object that handles details involving graphical representation of attributes. Each graphical representation should have it's own implementation of this. This is used to determine where a given graphical representation is applicable, and which data utility should be called for it.
Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether or not this graphical representation supports the specified data type.
  • Method Details

    • isValidForDatatype

      boolean isValidForDatatype(Class datatype)
      Checks whether or not this graphical representation supports the specified data type. Supported API: true
      Parameters:
      datatype - The class of the datatype to check. For example: java.lang.Boolean, java.lang.Long, wt.units.FloatingPointWithUnits, wt.units.FloatingPointWithUnits, java.lang.String
      Returns:
      true if the given datatype is supported for this graphical representation, false otherwise.