diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-05-12 01:32:04 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-05-12 01:32:04 +0800 |
| commit | 357388d49c306a288f2c56cb6f25589237f7284e (patch) | |
| tree | dc6e3a35c247733231a62b1702adbc6f5a4b165c /src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java | |
| parent | aa916b6d14d62e062fec49c378e0f62b254c83ae (diff) | |
| download | RoughlyEnoughItems-357388d49c306a288f2c56cb6f25589237f7284e.tar.gz RoughlyEnoughItems-357388d49c306a288f2c56cb6f25589237f7284e.tar.bz2 RoughlyEnoughItems-357388d49c306a288f2c56cb6f25589237f7284e.zip | |
Small documentations
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java b/src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java index 07125643c..f7bd8517e 100644 --- a/src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java +++ b/src/main/java/me/shedaniel/rei/api/ButtonAreaSupplier.java @@ -4,8 +4,19 @@ import java.awt.*; public interface ButtonAreaSupplier { + /** + * Declares the button bounds + * + * @param bounds the bounds of the recipe display + * @return the bounds of the button + */ Rectangle get(Rectangle bounds); + /** + * Declares the button text + * + * @return the text of the button + */ default String getButtonText() { return "+"; } |
