public static class SearchReplaceController.SearchOptions extends Object
Constructor and Description |
---|
SearchOptions(Edge[] edgesToSearch,
Pattern regexPattern)
Setup options to search on edges with the given pattern.
|
SearchOptions(Edge[] edgesToSearch,
Pattern regexPattern,
boolean onlyMatchWholeAttributeValue)
Setup options to search on edges with the given pattern.
|
SearchOptions(Node[] nodesToSearch,
Pattern regexPattern)
Setup options to search on nodes with the given pattern.
|
SearchOptions(Node[] nodesToSearch,
Pattern regexPattern,
boolean onlyMatchWholeAttributeValue)
Setup options to search on nodes with the given pattern.
|
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
getColumnsToSearch()
Returns columns indexes to search
|
Edge[] |
getEdgesToSearch()
Getters and setters
|
Node[] |
getNodesToSearch() |
Pattern |
getRegexPattern() |
int |
getRegionStart() |
Integer |
getStartingColumn() |
Integer |
getStartingRow() |
boolean |
isLoopToBeginning() |
boolean |
isOnlyMatchWholeAttributeValue() |
boolean |
isSearchNodes() |
boolean |
isUseRegexReplaceMode() |
void |
resetStatus() |
void |
setColumnsToSearch(Column[] columnsToSearch)
Set column that should be used to search with the current options.
|
void |
setColumnsToSearch(int[] columnsToSearch)
Set column indexes that should be used to search with the current options.
|
void |
setLoopToBeginning(boolean loopToBeginning) |
void |
setOnlyMatchWholeAttributeValue(boolean onlyMatchWholeAttributeValue) |
void |
setRegexPattern(Pattern regexPattern) |
void |
setRegionStart(int regionStart) |
void |
setStartingColumn(Integer startingColumn) |
void |
setStartingRow(Integer startingRow) |
void |
setUseRegexReplaceMode(boolean useRegexReplaceMode) |
public SearchOptions(Node[] nodesToSearch, Pattern regexPattern)
nodesToSearch
- regexPattern
- public SearchOptions(Edge[] edgesToSearch, Pattern regexPattern)
edgesToSearch
- regexPattern
- public SearchOptions(Node[] nodesToSearch, Pattern regexPattern, boolean onlyMatchWholeAttributeValue)
nodesToSearch
- regexPattern
- onlyMatchWholeAttributeValue
- public SearchOptions(Edge[] edgesToSearch, Pattern regexPattern, boolean onlyMatchWholeAttributeValue)
edgesToSearch
- regexPattern
- onlyMatchWholeAttributeValue
- public void resetStatus()
public Edge[] getEdgesToSearch()
public Node[] getNodesToSearch()
public boolean isOnlyMatchWholeAttributeValue()
public void setOnlyMatchWholeAttributeValue(boolean onlyMatchWholeAttributeValue)
public Pattern getRegexPattern()
public void setRegexPattern(Pattern regexPattern)
public Integer getStartingColumn()
public void setStartingColumn(Integer startingColumn)
public Integer getStartingRow()
public void setStartingRow(Integer startingRow)
public void setColumnsToSearch(int[] columnsToSearch)
columnsToSearch
- It is safe to specify invalid columns indexes, they will be ignoredpublic void setColumnsToSearch(Column[] columnsToSearch)
columnsToSearch
- It is safe to specify invalid columns, they will be ignoredpublic Set<Integer> getColumnsToSearch()
public boolean isSearchNodes()
public int getRegionStart()
public void setRegionStart(int regionStart)
public boolean isUseRegexReplaceMode()
public void setUseRegexReplaceMode(boolean useRegexReplaceMode)
public boolean isLoopToBeginning()
public void setLoopToBeginning(boolean loopToBeginning)
Copyright © 2007–2017 Gephi Consortium. All rights reserved.