Package ghidra.app.services
Interface MarkerSet
- 
- All Superinterfaces:
- java.lang.Comparable<MarkerSet>
 
 public interface MarkerSet extends java.lang.Comparable<MarkerSet> Defines methods for working with a set of addresses that correspond to markers.- See Also:
- MarkerService
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Address addr)Add a marker at the address.voidadd(AddressRange range)Add a marker across the address range.voidadd(Address start, Address end)Add the range given the start and end of the range.voidadd(AddressSetView addrSet)Add a marker at each address in the given address set.voidclear(Address addr)Clear any marker at the address.voidclear(AddressRange range)Clear any marker across the address range.voidclear(Address start, Address end)Remove the given range from the marker set.voidclear(AddressSetView addrSet)Clear any marker at each address in the address set.voidclearAll()Clear all defined markers.booleancontains(Address addr)Determine if this marker set contains the specified address.booleandisplayInMarkerBar()AddressSetgetAddressSet()Return the address set for this marker set.java.awt.ColorgetMarkerColor()Get the color for the marker.AddressgetMaxAddress()Returns the maximum Address in this MarkerSet;AddressgetMinAddress()Returns the minimum Address in this MarkerSet;java.lang.StringgetName()Return the name of this MarkerSet.intgetPriority()Get display priority.booleanintersects(Address start, Address end)Returns true if any address in this MarkerSet is contained in the range defined by start and end.booleanisActive()Returns true if this MarkerSet is active.booleanisColoringBackground()Returns true if this MarkerSet is coloring the background in the listing for locations contained in this MarkerSet.booleanisDisplayedInNavigationBar()booleanisPreferred()Gets whether this marker is in the preferred group when determining display priority.voidsetActive(boolean state)Return true if this marker set is active.voidsetAddressSet(AddressSetView set)Clears the current set off addresses in this markerSet and adds in the addresses from the given AddressSet.voidsetAddressSetCollection(AddressSetCollection set)Sets the AddressSetCollection to be used for this this marker set.voidsetColoringBackground(boolean b)Sets whether or not the MarkerSet is coloring the background of areas in the listing contained in this MarkerSet.voidsetMarkerColor(java.awt.Color color)Set the color for the marker.voidsetNavigationListener(MarkerListener listener)Set the marker manager listener to use for user interaction with markers owned by this manager.
 
- 
- 
- 
Method Detail- 
addvoid add(Address addr) Add a marker at the address.
 - 
addvoid add(AddressRange range) Add a marker across the address range.
 - 
setAddressSetCollectionvoid setAddressSetCollection(AddressSetCollection set) Sets the AddressSetCollection to be used for this this marker set.Warning! Using this method will cause this MarkerSet to directly use the given AddressSetCollection. If the given AddressSetCollection is not an instance of ModifiableAddressSetCollection, then the markerSet methods that add and remove addresses will thrown an IllegalArgumentException. - Parameters:
- set- the addressSetCollection to use as this markerSet's addressSetCollection.
 
 - 
setAddressSetvoid setAddressSet(AddressSetView set) Clears the current set off addresses in this markerSet and adds in the addresses from the given AddressSet.- Parameters:
- set- the set of addresses to use in this marker set.
 
 - 
addvoid add(AddressSetView addrSet) Add a marker at each address in the given address set.
 - 
containsboolean contains(Address addr) Determine if this marker set contains the specified address.- Parameters:
- addr- address
- Returns:
- true if marker set contains addr.
 
 - 
getAddressSetAddressSet getAddressSet() Return the address set for this marker set.
 - 
clearvoid clear(Address addr) Clear any marker at the address.
 - 
clearvoid clear(AddressRange range) Clear any marker across the address range.
 - 
clearvoid clear(Address start, Address end) Remove the given range from the marker set.- Parameters:
- start- the start of the range to remove.
- end- the end of the range to remove.
 
 - 
clearvoid clear(AddressSetView addrSet) Clear any marker at each address in the address set.
 - 
getNamejava.lang.String getName() Return the name of this MarkerSet.
 - 
clearAllvoid clearAll() Clear all defined markers.
 - 
getPriorityint getPriority() Get display priority.
 - 
isPreferredboolean isPreferred() Gets whether this marker is in the preferred group when determining display priority. Typically point markers are in the preferred group and area markers are not.
 - 
setActivevoid setActive(boolean state) Return true if this marker set is active.
 - 
getMarkerColorjava.awt.Color getMarkerColor() Get the color for the marker.
 - 
setMarkerColorvoid setMarkerColor(java.awt.Color color) Set the color for the marker.- Parameters:
- color- marker color
 
 - 
setNavigationListenervoid setNavigationListener(MarkerListener listener) Set the marker manager listener to use for user interaction with markers owned by this manager.
 - 
isDisplayedInNavigationBarboolean isDisplayedInNavigationBar() - Returns:
- true if this marker manager displays in the right hand navigation bar.
 
 - 
displayInMarkerBarboolean displayInMarkerBar() - Returns:
- true if this marker manager displays in the left hand marker bar.
 
 - 
isColoringBackgroundboolean isColoringBackground() Returns true if this MarkerSet is coloring the background in the listing for locations contained in this MarkerSet.
 - 
isActiveboolean isActive() Returns true if this MarkerSet is active. Being "active" means that it is displayed in the listing.
 - 
setColoringBackgroundvoid setColoringBackground(boolean b) Sets whether or not the MarkerSet is coloring the background of areas in the listing contained in this MarkerSet.- Parameters:
- b- true to color the background.
 
 - 
getMinAddressAddress getMinAddress() Returns the minimum Address in this MarkerSet;- Returns:
- the minimum Address in this MarkerSet;
 
 - 
getMaxAddressAddress getMaxAddress() Returns the maximum Address in this MarkerSet;- Returns:
- the maximum Address in this MarkerSet;
 
 - 
intersectsboolean intersects(Address start, Address end) Returns true if any address in this MarkerSet is contained in the range defined by start and end.- Parameters:
- start- the start address of the range to check for intersection.
- end- the end address of the range to check for intersection.
- Returns:
- true if the set of addresses contained in this MarkerSet intersects the given range.
 
 
- 
 
-