Class TargetDetailIs

  • All Implemented Interfaces:
    AcceptCriterion, java.io.Serializable

    public class TargetDetailIs
    extends ClientSideCriterion
    Criterion for checking if drop target details contains the specific property with the specific value. Currently only String values are supported.
    Since:
    6.3 TODO add support for other basic data types that we support in UIDL.
    See Also:
    Serialized Form
    • Constructor Detail

      • TargetDetailIs

        public TargetDetailIs​(java.lang.String dataFlavor,
                              java.lang.String value)
        Constructs a criterion which ensures that the value there is a value in TargetDetails that equals the reference value.
        Parameters:
        dataFlavor - the type of data to be checked
        value - the reference value to which the drop target detail will be compared
      • TargetDetailIs

        public TargetDetailIs​(java.lang.String dataFlavor,
                              java.lang.Boolean true1)