|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface YLabel.Painter
The interface that is used by a specific label configuration that performs the painting.
YLabel.paint(java.awt.Graphics2D)
,
YLabel.paintContent(java.awt.Graphics2D, double, double, double, double)
,
YLabel.paintBox(java.awt.Graphics2D, double, double, double, double)
,
()
,
YLabel.getIconBox()
Method Summary | |
---|---|
OrientedRectangle |
getIconBox(YLabel label)
Delegating method of YLabel.getIconBox() . |
OrientedRectangle |
getTextBox(YLabel label)
Delegating method of YLabel.getTextBox() . |
void |
paint(YLabel label,
java.awt.Graphics2D gfx)
Delegating method of YLabel.paint(java.awt.Graphics2D) |
void |
paintBox(YLabel label,
java.awt.Graphics2D gfx,
double x,
double y,
double width,
double height)
Delegating method of YLabel.paintBox(java.awt.Graphics2D, double, double, double, double) |
void |
paintContent(YLabel label,
java.awt.Graphics2D gfx,
double x,
double y,
double width,
double height)
Delegating method of YLabel.paintContent(java.awt.Graphics2D, double, double, double, double) |
Method Detail |
---|
void paint(YLabel label, java.awt.Graphics2D gfx)
YLabel.paint(java.awt.Graphics2D)
label
- the label contextvoid paintContent(YLabel label, java.awt.Graphics2D gfx, double x, double y, double width, double height)
YLabel.paintContent(java.awt.Graphics2D, double, double, double, double)
label
- the label contextvoid paintBox(YLabel label, java.awt.Graphics2D gfx, double x, double y, double width, double height)
YLabel.paintBox(java.awt.Graphics2D, double, double, double, double)
label
- the label contextOrientedRectangle getTextBox(YLabel label)
YLabel.getTextBox()
.
Note: This method is not used to calculate the text placement in the painter, but rather provides a means to query the painter for text position and orientation.
label
- the label contextOrientedRectangle getIconBox(YLabel label)
YLabel.getIconBox()
.
Note: This method is not used to calculate the icon placement in the painter, but rather provides a means to query the painter for icon position and orientation.
label
- the label context
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |