aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-extras/src
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-extras/src')
-rw-r--r--ardor3d-extras/src/main/java/com/ardor3d/extension/interact/widget/BasicFilterList.java9
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();
}