JShadowedLabel

Extends
JLabel
Methods
7
Fields
1

Getting one

JShadowedLabel.new(…)

Methods

MethodReturnsDescription
getShadow()ColorThe shadow's colour (Color.BLACK unless set).
setShadow(Color)()Sets the shadow's colour and repaints.
getShadowSize()PointThe shadow's offset from the text, as a new Point (1, 1 unless set).
setShadowSize(Point)()Sets the shadow's offset from the text; lays the label out again and repaints.
new(string?)JShadowedLabel() -> JShadowedLabel: An empty shadowed label: its text is the empty string.
init(JShadowedLabel, string?)()(JShadowedLabel) -> (): An empty shadowed label: its text is the empty string.
isInstance(any)booleanWhether obj is a JShadowedLabel object, a class(JShadowedLabel) subclass's included.

Fields

FieldTypeDescription
superJLabelClassJLabel's class table: the base class.

Returned by

MethodReturnsDescription
JShadowedLabelClass.newJShadowedLabel() -> JShadowedLabel: An empty shadowed label: its text is the empty string.

Method details

new

new: (string?) -> JShadowedLabel

() -> JShadowedLabel: An empty shadowed label: its text is the empty string.

(string?) -> JShadowedLabel: A shadowed label showing text.

init

init: (JShadowedLabel, string?) -> ()

(JShadowedLabel) -> (): An empty shadowed label: its text is the empty string.

(JShadowedLabel, string?) -> (): A shadowed label showing text.

isInstance

isInstance: (any) -> boolean

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