|
Side of Software Marker Bar Library 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.ComponentUI sos.marker.MarkerBarUI
public abstract class MarkerBarUI
The JMarkerBar
pluggable look-and-feel UI delegate. Clients typically
do not work with this class directly. Instead, they use the similar-named methods
in JMarkerBar
.
JMarkerBar
,
BasicMarkerBarUI
Constructor Summary | |
---|---|
MarkerBarUI()
|
Method Summary | |
---|---|
abstract java.awt.Rectangle |
getMarkerBounds(JMarkerBar markerBar,
int markerIndex)
Returns the rectangle for which the marker at the specified index is rendered, in the marker bar's coordinate system. |
abstract int[] |
locationToIndices(JMarkerBar markerBar,
java.awt.Point point)
Returns the indexes of the markers that are rendered at the specified point. |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkerBarUI()
Method Detail |
---|
public abstract java.awt.Rectangle getMarkerBounds(JMarkerBar markerBar, int markerIndex)
markerBar
- marker bar containing the marker in questionmarkerIndex
- index of the marker in the marker bar's model for which the
region is requested
null
if the
index is out of rangepublic abstract int[] locationToIndices(JMarkerBar markerBar, java.awt.Point point)
markerBar
- marker bar containing the markerspoint
- point in question
|
Side of Software Marker Bar Library 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |