DimmableJPanel

Extends
JPanel
Methods
5
Fields
1

Getting one

DimmableJPanel.new()

Methods

MethodReturnsDescription
isDimmed()booleanWhether the panel is dimmed.
setDimmed(boolean)()Dims the panel (its colours darker) or restores the colours it had.
new()DimmableJPanelA panel, not dimmed, with a FlowLayout.
init(DimmableJPanel)()A panel, not dimmed, with a FlowLayout.
isInstance(any)booleanWhether obj is a DimmableJPanel object, a class(DimmableJPanel) subclass's included.

Fields

FieldTypeDescription
superJPanelClassJPanel's class table: the base class.

Returned by

MethodReturnsDescription
DimmableJPanelClass.newDimmableJPanelA panel, not dimmed, with a FlowLayout.

Method details

setDimmed

setDimmed: (DimmableJPanel, boolean) -> ()

Dims the panel (its colours darker) or restores the colours it had.

isInstance

isInstance: (any) -> boolean

Whether obj is a DimmableJPanel object, a class(DimmableJPanel) subclass's included.