diff options
author | Julien Gouesse <[email protected]> | 2018-01-27 13:27:05 +0100 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2018-01-27 13:27:05 +0100 |
commit | 2c0388a46b349bc49bc54ffd4963bd0564c714dd (patch) | |
tree | cc4341b8a6cdcf445796cd994b6c96524abbc6b1 /ardor3d-extras/src/main/java/com/ardor3d | |
parent | 6e223bbb1e7ed1906b84d16dc1bd77a0fc3c7608 (diff) |
Fixes some warnings
Diffstat (limited to 'ardor3d-extras/src/main/java/com/ardor3d')
-rw-r--r-- | ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java b/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java index 75f3364..517c823 100644 --- a/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java +++ b/ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java @@ -20,10 +20,12 @@ import com.ardor3d.extension.interact.filter.UpdateFilter; public class BasicFilterList implements IFilterList { final List<UpdateFilter> _filters = new ArrayList<>(); + @Override public Iterator<UpdateFilter> iterator() { return _filters.iterator(); } + @Override public void applyFilters(final InteractManager manager) { // apply any filters to our state for (final UpdateFilter filter : _filters) { @@ -31,34 +33,41 @@ public class BasicFilterList implements IFilterList { } } + @Override public void beginDrag(final InteractManager manager) { for (final UpdateFilter filter : _filters) { filter.beginDrag(manager); } } + @Override public void endDrag(final InteractManager manager) { for (final UpdateFilter filter : _filters) { filter.endDrag(manager); } } + @Override public int size() { return _filters.size(); } + @Override public UpdateFilter get(final int index) { return _filters.get(index); } + @Override public boolean add(final UpdateFilter filter) { return _filters.add(filter); } + @Override public boolean remove(final UpdateFilter filter) { return _filters.remove(filter); } + @Override public void clear() { _filters.clear(); } |