Package ca.phon.ui.painter
Class CmpPainter<T extends JComponent>
java.lang.Object
ca.phon.ui.painter.CmpPainter<T>
- All Implemented Interfaces:
ComponentPainter<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(Graphics2D g2d, T comp, int width, int height) Paint the component
-
Constructor Details
-
CmpPainter
public CmpPainter()Constructor -
CmpPainter
-
-
Method Details
-
paint
Description copied from interface:ComponentPainter
Paint the component- Specified by:
paint
in interfaceComponentPainter<T extends JComponent>
- Parameters:
g2d
- graphics context as a Graphics2D objectcomp
- componentwidth
- width to paintheight
- height to paint
-