git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
java doc and fix for JAL-3095 - region of trimmed RNA model to highlight is indexed...
[jalview.git]
/
src
/
jalview
/
api
/
FeaturesDisplayedI.java
diff --git
a/src/jalview/api/FeaturesDisplayedI.java
b/src/jalview/api/FeaturesDisplayedI.java
index
32b0565
..
e69785f
100644
(file)
--- a/
src/jalview/api/FeaturesDisplayedI.java
+++ b/
src/jalview/api/FeaturesDisplayedI.java
@@
-21,12
+21,15
@@
package jalview.api;
import java.util.Collection;
package jalview.api;
import java.util.Collection;
-import java.util.Iterator;
+import java.util.Set;
public interface FeaturesDisplayedI
{
public interface FeaturesDisplayedI
{
- Iterator<String> getVisibleFeatures();
+ /**
+ * answers an unmodifiable view of the set of visible feature types
+ */
+ Set<String> getVisibleFeatures();
boolean isVisible(String featureType);
boolean isVisible(String featureType);
@@
-36,6
+39,12
@@
public interface FeaturesDisplayedI
void setVisible(String featureType);
void setVisible(String featureType);
+ /**
+ * Sets all the specified feature types to visible. Visibility of other
+ * feature types is not changed.
+ *
+ * @param featureTypes
+ */
void setAllVisible(Collection<String> featureTypes);
boolean isRegistered(String type);
void setAllVisible(Collection<String> featureTypes);
boolean isRegistered(String type);