Interface Canvas.ItemDecorator

All Known Implementing Classes:
Canvas.AvoidEdgesDecorator, Canvas.EdgeDecorator, Canvas.FullDecorator
Enclosing class:
Canvas
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Canvas.ItemDecorator
Represents a decorator that puts "free" items in the inventory. Free items can be interpreted as items that are not associated with any button. This is useful, for example, to put a border around the inventory - We do not want to create objects for each item in the border. Instead, we can use this light-weight decorator.