JIDE 3.5.15

com.jidesoft.marker
Class MarkerUtils

java.lang.Object
  extended by com.jidesoft.marker.MarkerUtils

public class MarkerUtils
extends Object


Constructor Summary
MarkerUtils()
           
 
Method Summary
static void registerSearchable(Searchable searchable, MarkerArea markerArea, int markerType, Color markerColor)
          registerSearchable provides an easy way to integrate marker support with searchable so that when the searchable popup is visible, the marker stripe will show all the search results as markers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkerUtils

public MarkerUtils()
Method Detail

registerSearchable

public static void registerSearchable(Searchable searchable,
                                      MarkerArea markerArea,
                                      int markerType,
                                      Color markerColor)
registerSearchable provides an easy way to integrate marker support with searchable so that when the searchable popup is visible, the marker stripe will show all the search results as markers. Without going up and down in the list, user can see how many search results are there.

Parameters:
searchable - the Searchable class
markerArea - the MarkerArea. You can create it and add it next to the Searchable's component (such as JList, JTree, JTable or JTextArea).
markerType - the marker type. If this marker Area is also used for other purpose, please make sure the marker type doesn't conflict.
markerColor - the color of the stripes for the search result.

JIDE 3.5.15