|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMiscRenderer
Interface describing a renderer for various elements in the swing time bar viewer.
| Method Summary | |
|---|---|
void |
drawRowBackground(java.awt.Graphics graphics,
int x,
int y,
int width,
int height,
boolean selected,
boolean highlighted)
Draw a row background for the time bar viewer if a row is either selected or highlighted. |
void |
drawRowGridLine(java.awt.Graphics graphics,
int x1,
int y1,
int x2,
int y2)
Draw a row gridline for the time bar viewer. |
void |
renderRegionRect(java.awt.Graphics graphics,
TimeBarViewer tbv,
TimeBarViewerDelegate delegate)
Render the selected region. |
void |
renderSelectionRect(java.awt.Graphics graphics,
TimeBarViewer tbv,
java.awt.Rectangle selectionRect)
Render the selection rectangle. |
| Method Detail |
|---|
void renderRegionRect(java.awt.Graphics graphics,
TimeBarViewer tbv,
TimeBarViewerDelegate delegate)
graphics - Graphics to paint withtbv - timebar viewerdelegate - the delegate
void renderSelectionRect(java.awt.Graphics graphics,
TimeBarViewer tbv,
java.awt.Rectangle selectionRect)
graphics - Graphics to paint withtbv - timebar viewerselectionRect - the selection rectangle in coordinates
void drawRowGridLine(java.awt.Graphics graphics,
int x1,
int y1,
int x2,
int y2)
graphics - Graphics to draw withx1 - start xy1 - start yx2 - end xy2 - end y
void drawRowBackground(java.awt.Graphics graphics,
int x,
int y,
int width,
int height,
boolean selected,
boolean highlighted)
graphics - Graphics to paint withx - x cordy - y coordwidth - width of the areaheight - height of the areaselected - true if the row is selectedhighlighted - true if the row is highlighted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||