ItemBoundable.js 538 B

1234567891011121314151617181920212223
  1. import Boundable from './Boundable'
  2. import Serializable from '../../../../../java/io/Serializable'
  3. export default class ItemBoundable {
  4. constructor() {
  5. ItemBoundable.constructor_.apply(this, arguments)
  6. }
  7. static constructor_() {
  8. this._bounds = null
  9. this._item = null
  10. const bounds = arguments[0], item = arguments[1]
  11. this._bounds = bounds
  12. this._item = item
  13. }
  14. getItem() {
  15. return this._item
  16. }
  17. getBounds() {
  18. return this._bounds
  19. }
  20. get interfaces_() {
  21. return [Boundable, Serializable]
  22. }
  23. }