getShadow
getShadow: (JShadowedLabel) -> ColorThe shadow's colour (Color.BLACK unless set).
JShadowedLabel.new(…)| Method | Returns | Description |
|---|---|---|
getShadow() | Color | The shadow's colour (Color.BLACK unless set). |
setShadow(Color) | () | Sets the shadow's colour and repaints. |
getShadowSize() | Point | The 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) | boolean | Whether obj is a JShadowedLabel object, a class(JShadowedLabel) subclass's included. |
| Field | Type | Description |
|---|---|---|
super | JLabelClass | JLabel's class table: the base class. |
| Method | Returns | Description |
|---|---|---|
JShadowedLabelClass.new | JShadowedLabel | () -> JShadowedLabel: An empty shadowed label: its text is the empty string. |
getShadowgetShadow: (JShadowedLabel) -> ColorThe shadow's colour (Color.BLACK unless set).
setShadowsetShadow: (JShadowedLabel, Color) -> ()Sets the shadow's colour and repaints.
getShadowSizegetShadowSize: (JShadowedLabel) -> PointThe shadow's offset from the text, as a new Point (1, 1 unless set).
setShadowSizesetShadowSize: (JShadowedLabel, Point) -> ()Sets the shadow's offset from the text; lays the label out again and repaints.
newnew: (string?) -> JShadowedLabel() -> JShadowedLabel: An empty shadowed label: its text is the empty string.
(string?) -> JShadowedLabel: A shadowed label showing text.
initinit: (JShadowedLabel, string?) -> ()(JShadowedLabel) -> (): An empty shadowed label: its text is the empty string.
(JShadowedLabel, string?) -> (): A shadowed label showing text.
isInstanceisInstance: (any) -> booleanWhether obj is a JShadowedLabel object, a class(JShadowedLabel) subclass's included.