|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.datalab.api.SearchReplaceController.SearchOptions
public static class SearchReplaceController.SearchOptions
Class that wraps the different possible options of search and provides various useful constructors.
Constructor Summary | |
---|---|
SearchReplaceController.SearchOptions(Edge[] edgesToSearch,
java.util.regex.Pattern regexPattern)
Setup options to search on edges with the given pattern. |
|
SearchReplaceController.SearchOptions(Edge[] edgesToSearch,
java.util.regex.Pattern regexPattern,
boolean onlyMatchWholeAttributeValue)
Setup options to search on edges with the given pattern. |
|
SearchReplaceController.SearchOptions(Node[] nodesToSearch,
java.util.regex.Pattern regexPattern)
Setup options to search on nodes with the given pattern. |
|
SearchReplaceController.SearchOptions(Node[] nodesToSearch,
java.util.regex.Pattern regexPattern,
boolean onlyMatchWholeAttributeValue)
Setup options to search on nodes with the given pattern. |
Method Summary | |
---|---|
java.util.Set<java.lang.Integer> |
getColumnsToSearch()
Returns columns indexes to search |
Edge[] |
getEdgesToSearch()
Getters and setters |
Node[] |
getNodesToSearch()
|
java.util.regex.Pattern |
getRegexPattern()
|
int |
getRegionStart()
|
java.lang.Integer |
getStartingColumn()
|
java.lang.Integer |
getStartingRow()
|
boolean |
isLoopToBeginning()
|
boolean |
isOnlyMatchWholeAttributeValue()
|
boolean |
isSearchNodes()
|
boolean |
isUseRegexReplaceMode()
|
void |
resetStatus()
|
void |
setColumnsToSearch(AttributeColumn[] 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(java.util.regex.Pattern regexPattern)
|
void |
setRegionStart(int regionStart)
|
void |
setStartingColumn(java.lang.Integer startingColumn)
|
void |
setStartingRow(java.lang.Integer startingRow)
|
void |
setUseRegexReplaceMode(boolean useRegexReplaceMode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchReplaceController.SearchOptions(Node[] nodesToSearch, java.util.regex.Pattern regexPattern)
nodesToSearch
- regexPattern
- public SearchReplaceController.SearchOptions(Edge[] edgesToSearch, java.util.regex.Pattern regexPattern)
edgesToSearch
- regexPattern
- public SearchReplaceController.SearchOptions(Node[] nodesToSearch, java.util.regex.Pattern regexPattern, boolean onlyMatchWholeAttributeValue)
nodesToSearch
- regexPattern
- onlyMatchWholeAttributeValue
- public SearchReplaceController.SearchOptions(Edge[] edgesToSearch, java.util.regex.Pattern regexPattern, boolean onlyMatchWholeAttributeValue)
edgesToSearch
- regexPattern
- onlyMatchWholeAttributeValue
- Method Detail |
---|
public void resetStatus()
public Edge[] getEdgesToSearch()
public Node[] getNodesToSearch()
public boolean isOnlyMatchWholeAttributeValue()
public void setOnlyMatchWholeAttributeValue(boolean onlyMatchWholeAttributeValue)
public java.util.regex.Pattern getRegexPattern()
public void setRegexPattern(java.util.regex.Pattern regexPattern)
public java.lang.Integer getStartingColumn()
public void setStartingColumn(java.lang.Integer startingColumn)
public java.lang.Integer getStartingRow()
public void setStartingRow(java.lang.Integer startingRow)
public void setColumnsToSearch(int[] columnsToSearch)
columnsToSearch
- It is safe to specify invalid columns indexes, they will be ignoredpublic void setColumnsToSearch(AttributeColumn[] columnsToSearch)
columnsToSearch
- It is safe to specify invalid columns, they will be ignoredpublic java.util.Set<java.lang.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)
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |