iresulthighlighter.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 34 行

JAVA
34
字号
package com.esri.solutions.jitk.web.data.results.highlight;

import com.esri.adf.web.data.query.QueryResult;

import java.util.List;


/**
 * Interface used by tasks to highlight requests. Implementation is 
 * injected via faces-config.xml files for each task.
 *
 */
public interface IResultHighlighter {
    /**
     * Tasks that return results will call this method to highlight results.
     * @param results The results to highlight.
     */
	public void highlightResults(List<QueryResult> results);

	/**
	 * Sets the mode of the highlighter to either clear the previous results
	 * or not.
	 * @param clear If set to true, previous results are cleared.
	 */
    public void setClearPreviousResults(boolean clear);
    
    /**
     * Returns the mode of the highlighter, whether its configured to clear
     * previous results or not.
     * @return
     */
    public boolean getClearPreviousResults();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?