getDecorationType

fun Component.getDecorationType(): RadianceThemingSlices.DecorationAreaType

Returns the decoration area type of this component. The component and its ancestor hierarchy are scanned for the registered decoration area type. If JComponent.setDecorationType has been called on the specified component, the matching decoration type is returned. Otherwise, the component hierarchy is scanned to find the closest ancestor that was passed to JComponent.setDecorationType - and its decoration type is returned. If neither the component, nor any one of its parent components has been passed to the setter method, RadianceThemingSlices.DecorationAreaType.NONE is returned.

Return

Decoration area type of the component.

See also