Label.getPreferredHeight

Overview | Methods | This Package | All Packages

Label.getPreferredHeight

Retrieves the preferred height for the label.

Syntax

public final int getPreferredHeight()

Return Value

Returns the height, in pixels, of a single line of text displayed in the current font.