Interface ConstraintHolder

All Known Implementing Classes:
Icon, StateIcon

public interface ConstraintHolder
Represents an object that is able to hold constraints.
Since:
1.0.0.0
Author:
creatorfromhell
  • Method Details

    • constraints

      Map<String,String> constraints()
    • addConstraint

      default <T> void addConstraint(Constraint<T> constraint, T value)
    • getConstraint

      default <T> T getConstraint(Constraint<T> constraint)
    • removeConstraint

      default void removeConstraint(Constraint<?> constraint)