| java.lang.Object org.netbeans.modules.xml.xam.ui.highlight.HighlightGroup
HighlightGroup | public class HighlightGroup (Code) | | A collection of Highlight objects, which are shown or hidden as a group.
author: Nathan Fiedler |
Field Summary | |
final public static String | SEARCH Type of highlight group for search results (includes parents). |
Method Summary | |
public void | addHighlight(Highlight hl) Add the given Highlight to this group. | public String | getType() Return the group type. | public Set<Highlight> | highlights() Return the set of highlights in this group. | public boolean | isShowing() Return true if group is showing, false otherwise. | public void | setShowing(boolean showing) Set the showing property for tracking this group's visibility. |
SEARCH | final public static String SEARCH(Code) | | Type of highlight group for search results (includes parents).
|
HighlightGroup | public HighlightGroup(String type)(Code) | | Creates a new instance of HighlightGroup.
Parameters: type - highlight group type. |
addHighlight | public void addHighlight(Highlight hl)(Code) | | Add the given Highlight to this group.
Parameters: hl - Highlight to be added. |
getType | public String getType()(Code) | | Return the group type.
group type. |
highlights | public Set<Highlight> highlights()(Code) | | Return the set of highlights in this group.
highlight set. |
isShowing | public boolean isShowing()(Code) | | Return true if group is showing, false otherwise.
true if group is showing, false otherwise. |
setShowing | public void setShowing(boolean showing)(Code) | | Set the showing property for tracking this group's visibility.
Parameters: showing - true if showing, false if hidden. |
|
|