IValueEditor.paintValue

Overview | Methods | Fields | This Package | All Packages

IValueEditor.paintValue

Paints a representation of the specified value.

Syntax

public void paintValue( Object value, Graphics g, Rectangle rect )

Parameters

value

The value to be painted.

g

A Graphics object that represents the device context.

rect

A Rectangle object that represents the rectangle to paint in.

Remarks

This method is called only if the STYLE_PAINTVALUE style is present. Note that if you change any properties of the Graphics object (such as the font or color), you should reset them to their previous values before returning.