| java.lang.Object org.netbeans.modules.search.MatchingObject
MatchingObject | final class MatchingObject implements PropertyChangeListener(Code) | | Data structure holding a reference to the found object and information
whether occurences in the found object should be replaced or not.
author: Marian Petras author: Tim Boudreau |
Inner Class : enum InvalidityStatus | |
Constructor Summary | |
| MatchingObject(ResultModel resultModel, Object object) Creates a new
MatchingObject with a reference to the found
object (returned by
SearchGroup ). |
object | final Object object(Code) | | matching object as returned by the
SearchGroup (usually a
DataObject )
|
wasCrLf | boolean wasCrLf(Code) | | true if the file's line terminator is other than
"\\n" |
MatchingObject | MatchingObject(ResultModel resultModel, Object object)(Code) | | Creates a new
MatchingObject with a reference to the found
object (returned by
SearchGroup ).
Parameters: object - found object returned by the SearchGroup (usually a DataObject ) - must not be null exception: java.lang.IllegalArgumentException - if the passed object is null |
checkSubnodesSelection | Boolean checkSubnodesSelection()(Code) | | Checks selection of this object's subnodes.
Boolean.TRUE if all subnodes are selected, Boolean.FALSE if all subnodes are unselected, null if some subnodes are selected and some areunselected |
checkValidity | InvalidityStatus checkValidity()(Code) | | |
getInvalidityDescription | String getInvalidityDescription()(Code) | | |
getName | String getName()(Code) | | Get the name (not the path) of the file
|
getTimestamp | long getTimestamp()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isExpanded | boolean isExpanded()(Code) | | Provides information whether the node representing this object
is expanded or collapsed.
true if the node is expanded, false if the node is collapsed See Also: MatchingObject.markExpanded |
isObjectValid | boolean isObjectValid()(Code) | | Is the
DataObject encapsulated by this
MatchingObject valid?
true if the DataObject is valid, false otherwise See Also: DataObject.isValid |
isSelected | boolean isSelected()(Code) | | |
isSubnodeSelected | boolean isSubnodeSelected(int index)(Code) | | |
isUniformSelection | boolean isUniformSelection()(Code) | | |
isValid | boolean isValid()(Code) | | |
markExpanded | void markExpanded(boolean expanded)(Code) | | Stores information whether the node representing this object is expanded
or collapsed.
Parameters: expanded - true if the node is expanded, false if the node is collapsed See Also: MatchingObject.isExpanded() |
setSelected | void setSelected(boolean selected)(Code) | | |
setSubnodeSelected | void setSubnodeSelected(int index, boolean selected, ResultModel resultModel)(Code) | | |
toString | public String toString()(Code) | | Returns name of this node.
name of this node. |
toggleSubnodeSelection | void toggleSubnodeSelection(ResultModel resultModel, int index)(Code) | | |
|
|