object Color
- Source
- Color.scala
- Alphabetic
- By Inheritance
- Color
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val AliceBlue: Color
- val AntiqueWhite: Color
- val Aqua: Color
- val Aquamarine: Color
- val Azure: Color
- val Beige: Color
- val Bisque: Color
- val Black: Color
- val BlanchedAlmond: Color
- val Blue: Color
- val BlueViolet: Color
- val Brown: Color
- val Burlywood: Color
- val CadetBlue: Color
- val Chartreuse: Color
- val Chocolate: Color
- val Coral: Color
- val CornflowerBlue: Color
- val Cornsilk: Color
- val Crimson: Color
- val Cyan: Color
- val DarkBlue: Color
- val DarkCyan: Color
- val DarkGoldenrod: Color
- val DarkGray: Color
- val DarkGreen: Color
- val DarkGrey: Color
- val DarkKhaki: Color
- val DarkMagenta: Color
- val DarkOliveGreen: Color
- val DarkOrange: Color
- val DarkOrchid: Color
- val DarkRed: Color
- val DarkSalmon: Color
- val DarkSeaGreen: Color
- val DarkSlateBlue: Color
- val DarkSlateGray: Color
- val DarkSlateGrey: Color
- val DarkTurquoise: Color
- val DarkViolet: Color
- val DeepPink: Color
- val DeepSkyBlue: Color
- val DimGray: Color
- val DimGrey: Color
- val DodgerBlue: Color
- val FireBrick: Color
- val FloralWhite: Color
- val ForestGreen: Color
- val Fuchsia: Color
- val Gainsboro: Color
- val GhostWhite: Color
- val Gold: Color
- val Goldenrod: Color
- val Gray: Color
- val Green: Color
- val GreenYellow: Color
- val Grey: Color
- val Honeydew: Color
- val HotPink: Color
- val IndianRed: Color
- val Indigo: Color
- val Ivory: Color
- val Khaki: Color
- val Lavender: Color
- val LavenderBlush: Color
- val LawnGreen: Color
- val LemonChiffon: Color
- val LightBlue: Color
- val LightCoral: Color
- val LightCyan: Color
- val LightGoldrenrodYellow: Color
- val LightGray: Color
- val LightGreen: Color
- val LightGrey: Color
- val LightPink: Color
- val LightSalmon: Color
- val LightSeaGreen: Color
- val LightSkyBlue: Color
- val LightSlateGray: Color
- val LightSlateGrey: Color
- val LightSteelBlue: Color
- val LightYellow: Color
- val Lime: Color
- val LimeGreen: Color
- val Linen: Color
- val Magenta: Color
- val Maroon: Color
- val MediumAquamarine: Color
- val MediumBlue: Color
- val MediumOrchid: Color
- val MediumPurple: Color
- val MediumSeaGreen: Color
- val MediumSlateBlue: Color
- val MediumSpringGreen: Color
- val MediumTurquoise: Color
- val MediumVioletRed: Color
- val MidnightBlue: Color
- val MintCream: Color
- val MistyRose: Color
- val Moccasin: Color
- val NavajoWhite: Color
- val Navy: Color
- val OldLace: Color
- val Olive: Color
- val OliveDrab: Color
- val Orange: Color
- val OrangeRed: Color
- val Orchid: Color
- val PaleGoldrenrod: Color
- val PaleGreen: Color
- val PaleTurquoise: Color
- val PaleVioletRed: Color
- val PapayaWhip: Color
- val PeachPuff: Color
- val Peru: Color
- val Pink: Color
- val Plum: Color
- val PowderBlue: Color
- val Purple: Color
- val Red: Color
- val RosyBrown: Color
- val RoyalBlue: Color
- val SaddleBrown: Color
- val Salmon: Color
- val SandyBrown: Color
- val SeaGreen: Color
- val SeaShell: Color
- val Sienna: Color
- val Silver: Color
- val SkyBlue: Color
- val SlateBlue: Color
- val SlateGray: Color
- val SlateGrey: Color
- val Snow: Color
- val SpringGreen: Color
- val SteelBlue: Color
- val Tan: Color
- val Teal: Color
- val Thistle: Color
- val Tomato: Color
- val Transparent: Color
- val Turquoise: Color
- val Violet: Color
- val Wheat: Color
- val White: Color
- val WhiteSmoke: Color
- val Yellow: Color
- val YellowGreen: Color
- def apply(red: Double, green: Double, blue: Double, opacity: Double): Color
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def color(red: Double, green: Double, blue: Double, opacity: Double): Color
Creates an sRGB color with the specified red, green and blue values in the range 0.0-1.0, and a given opacity.
- def color(red: Double, green: Double, blue: Double): Color
Creates an opaque sRGB color with the specified red, green and blue values in the range 0.0-1.0.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gray(gray: Double, opacity: Double): Color
Creates a grey color.
- def gray(gray: Double): Color
Creates an opaque grey color.
- def grayRgb(gray: Int, opacity: Double): Color
This is a shortcut for rgb(gray, gray, gray, opacity).
- def grayRgb(gray: Int): Color
This is a shortcut for rgb(gray, gray, gray).
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hsb(hue: Double, saturation: Double, brightness: Double, opacity: Double): Color
Creates a Color based on the specified values in the HSB color model, and a given opacity.
- def hsb(hue: Double, saturation: Double, brightness: Double): Color
Creates an opaque Color based on the specified values in the HSB color model.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def rgb(red: Int, green: Int, blue: Int, opacity: Double): Color
Creates an sRGB color with the specified RGB values in the range 0-255, and a given opacity in the range 0.0-1.0.
- def rgb(red: Int, green: Int, blue: Int): Color
Creates an opaque sRGB color with the specified RGB values in the range 0-255.
- implicit def sfxColor2jfx(c: Color): javafx.scene.paint.Color
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(value: String): Color
Creates a color value from a string representation.
Creates a color value from a string representation. The format of the string representation is the same as in web(String).
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def web(color: String, opacity: Double): Color
Creates an RGB color specified with hexadecimal notation or color name.
- def web(color: String): Color
Creates an RGB color specified with hexadecimal notation or color name.
Deprecated Value Members
- val ALICEBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use AliceBlue; ALICEBLUE will be removed in a future release
- val ANTIQUEWHITE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use AntiqueWhite; ANTIQUEWHITE will be removed in a future release.
- val AQUA: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Aqua; AQUA will be removed in a future release.
- val AQUAMARINE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Aquamarine; AQUAMARINE will be removed in a future release.
- val AZURE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Azure; AZURE will be removed in a future release.
- val BEIGE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Beige; BEIGE will be removed in a future release.
- val BISQUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Bisque; BISQUE will be removed in a future release.
- val BLACK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Black; BLACK will be removed in a future release.
- val BLANCHEDALMOND: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use BlanchedAlmond; BLANCHEDALMOND will be removed in a future release.
- val BLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Blue; BLUE will be removed in a future release.
- val BLUEVIOLET: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use BlueViolet; BLUEVIOLET will be removed in a future release.
- val BROWN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Brown; BROWN will be removed in a future release.
- val BURLYWOOD: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Burlywood; BURLYWOOD will be removed in a future release.
- val CADETBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use CadetBlue; CADETBLUE will be removed in a future release.
- val CHARTREUSE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Chartreuse; CHARTREUSE will be removed in a future release.
- val CHOCOLATE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Chocolate; CHOCOLATE will be removed in a future release.
- val CORAL: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Coral; CORAL will be removed in a future release.
- val CORNFLOWERBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use CornflowerBlue; CORNFLOWERBLUE will be removed in a future release.
- val CORNSILK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Cornsilk; CORNSILK will be removed in a future release.
- val CRIMSON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Crimson; CRIMSON will be removed in a future release.
- val CYAN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Cyan; CYAN will be removed in a future release.
- val DARKBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkBlue; DARKBLUE will be removed in a future release.
- val DARKCYAN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkCyan; DARKCYAN will be removed in a future release.
- val DARKGOLDENROD: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkGoldenrod; DARKGOLDENROD will be removed in a future release.
- val DARKGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkGray; DARKGRAY will be removed in a future release.
- val DARKGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkGreen; DARKGREEN will be removed in a future release.
- val DARKGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkGrey; DARKGREY will be removed in a future release.
- val DARKKHAKI: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkKhaki; DARKKHAKI will be removed in a future release.
- val DARKMAGENTA: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkMagenta; DARKMAGENTA will be removed in a future release.
- val DARKOLIVEGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkOliveGreen; DARKOLIVEGREEN will be removed in a future release.
- val DARKORANGE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkOrange; DARKORANGE will be removed in a future release.
- val DARKORCHID: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkOrchid; DARKORCHID will be removed in a future release.
- val DARKRED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkRed; DARKRED will be removed in a future release.
- val DARKSALMON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkSalmon; DARKSALMON will be removed in a future release.
- val DARKSEAGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkSeaGreen; DARKSEAGREEN will be removed in a future release.
- val DARKSLATEBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkSlateBlue; DARKSLATEBLUE will be removed in a future release.
- val DARKSLATEGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkSlateGray; DARKSLATEGRAY will be removed in a future release.
- val DARKSLATEGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkSlateGrey; DARKSLATEGREY will be removed in a future release.
- val DARKTURQUOISE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkTurquoise; DARKTURQUOISE will be removed in a future release.
- val DARKVIOLET: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DarkViolet; DARKVIOLET will be removed in a future release.
- val DEEPPINK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DeepPink; DEEPPINK will be removed in a future release.
- val DEEPSKYBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DeepSkyBlue; DEEPSKYBLUE will be removed in a future release.
- val DIMGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DimGray; DIMGRAY will be removed in a future release.
- val DIMGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DimGrey; DIMGREY will be removed in a future release.
- val DODGERBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use DodgerBlue; DODGERBLUE will be removed in a future release.
- val FIREBRICK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use FireBrick; FIREBRICK will be removed in a future release.
- val FLORALWHITE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use FloralWhite; FLORALWHITE will be removed in a future release.
- val FORESTGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use ForestGreen; FORESTGREEN will be removed in a future release.
- val FUCHSIA: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Fuchsia; FUCHSIA will be removed in a future release.
- val GAINSBORO: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Gainsboro; GAINSBORO will be removed in a future release.
- val GHOSTWHITE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use GhostWhite; GHOSTWHITE will be removed in a future release.
- val GOLD: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Gold; GOLD will be removed in a future release.
- val GOLDENROD: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Goldenrod; GOLDENROD will be removed in a future release.
- val GRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Gray; GRAY will be removed in a future release.
- val GREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Green; GREEN will be removed in a future release.
- val GREENYELLOW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use GreenYellow; GREENYELLOW will be removed in a future release.
- val GREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Grey; GREY will be removed in a future release.
- val HONEYDEW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Honeydew; HONEYDEW will be removed in a future release.
- val HOTPINK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use HotPink; HOTPINK will be removed in a future release.
- val INDIANRED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use IndianRed; INDIANRED will be removed in a future release.
- val INDIGO: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Indigo; INDIGO will be removed in a future release.
- val IVORY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Ivory; IVORY will be removed in a future release.
- val KHAKI: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Khaki; KHAKI will be removed in a future release.
- val LAVENDER: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Lavender; LAVENDER will be removed in a future release.
- val LAVENDERBLUSH: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LavenderBlush; LAVENDERBLUSH will be removed in a future release.
- val LAWNGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LawnGreen; LAWNGREEN will be removed in a future release.
- val LEMONCHIFFON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LemonChiffon; LEMONCHIFFON will be removed in a future release.
- val LIGHTBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightBlue; LIGHTBLUE will be removed in a future release.
- val LIGHTCORAL: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightCoral; LIGHTCORAL will be removed in a future release.
- val LIGHTCYAN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightCyan; LIGHTCYAN will be removed in a future release.
- val LIGHTGOLDENRODYELLOW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightGoldrenrodYellow; LIGHTGOLDENRODYELLOW will be removed in a future release.
- val LIGHTGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightGray; LIGHTGRAY will be removed in a future release.
- val LIGHTGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightGreen; LIGHTGREEN will be removed in a future release.
- val LIGHTGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightGrey; LIGHTGREY will be removed in a future release.
- val LIGHTPINK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightPink; LIGHTPINK will be removed in a future release.
- val LIGHTSALMON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSalmon; LIGHTSALMON will be removed in a future release.
- val LIGHTSEAGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSeaGreen; LIGHTSEAGREEN will be removed in a future release.
- val LIGHTSKYBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSkyBlue; LIGHTSKYBLUE will be removed in a future release.
- val LIGHTSLATEGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSlateGray; LIGHTSLATEGRAY will be removed in a future release.
- val LIGHTSLATEGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSlateGrey; LIGHTSLATEGREY will be removed in a future release.
- val LIGHTSTEELBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightSteelBlue; LIGHTSTEELBLUE will be removed in a future release.
- val LIGHTYELLOW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LightYellow; LIGHTYELLOW will be removed in a future release.
- val LIME: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Lime; LIME will be removed in a future release.
- val LIMEGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use LimeGreen; LIMEGREEN will be removed in a future release.
- val LINEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Linen; LINEN will be removed in a future release.
- val MAGENTA: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Magenta; MAGENTA will be removed in a future release.
- val MAROON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Maroon; MAROON will be removed in a future release.
- val MEDIUMAQUAMARINE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumAquamarine; MEDIUMAQUAMARINE will be removed in a future release.
- val MEDIUMBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumBlue; MEDIUMBLUE will be removed in a future release.
- val MEDIUMORCHID: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumOrchid; MEDIUMORCHID will be removed in a future release.
- val MEDIUMPURPLE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumPurple; MEDIUMPURPLE will be removed in a future release.
- val MEDIUMSEAGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumSeaGreen; MEDIUMSEAGREEN will be removed in a future release.
- val MEDIUMSLATEBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumSlateBlue; MEDIUMSLATEBLUE will be removed in a future release.
- val MEDIUMSPRINGGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumSpringGreen; MEDIUMSPRINGGREEN will be removed in a future release.
- val MEDIUMTURQUOISE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumTurquoise; MEDIUMTURQUOISE will be removed in a future release.
- val MEDIUMVIOLETRED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MediumVioletRed; MEDIUMVIOLETRED will be removed in a future release.
- val MIDNIGHTBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MidnightBlue; MIDNIGHTBLUE will be removed in a future release.
- val MINTCREAM: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MintCream; MINTCREAM will be removed in a future release.
- val MISTYROSE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use MistyRose; MISTYROSE will be removed in a future release.
- val MOCCASIN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Moccasin; MOCCASIN will be removed in a future release.
- val NAVAJOWHITE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use NavajoWhite; NAVAJOWHITE will be removed in a future release.
- val NAVY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Navy; NAVY will be removed in a future release.
- val OLDLACE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use OldLace; OLDLACE will be removed in a future release.
- val OLIVE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Olive; OLIVE will be removed in a future release.
- val OLIVEDRAB: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use OliveDrab; OLIVEDRAB will be removed in a future release.
- val ORANGE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Orange; ORANGE will be removed in a future release.
- val ORANGERED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use OrangeRed; ORANGERED will be removed in a future release.
- val ORCHID: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Orchid; ORCHID will be removed in a future release.
- val PALEGOLDENROD: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PaleGoldrenrod; PALEGOLDENROD will be removed in a future release.
- val PALEGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PaleGreen; PALEGREEN will be removed in a future release.
- val PALETURQUOISE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PaleTurquoise; PALETURQUOISE will be removed in a future release.
- val PALEVIOLETRED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PaleVioletRed; PALEVIOLETRED will be removed in a future release.
- val PAPAYAWHIP: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PapayaWhip; PAPAYAWHIP will be removed in a future release.
- val PEACHPUFF: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PeachPuff; PEACHPUFF will be removed in a future release.
- val PERU: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Peru; PERU will be removed in a future release.
- val PINK: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Pink; PINK will be removed in a future release.
- val PLUM: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Plum; PLUM will be removed in a future release.
- val POWDERBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use PowderBlue; POWDERBLUE will be removed in a future release.
- val PURPLE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Purple; PURPLE will be removed in a future release.
- val RED: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Red; RED will be removed in a future release.
- val ROSYBROWN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use RosyBrown; ROSYBROWN will be removed in a future release.
- val ROYALBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use RoyalBlue; ROYALBLUE will be removed in a future release.
- val SADDLEBROWN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SaddleBrown; SADDLEBROWN will be removed in a future release.
- val SALMON: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Salmon; SALMON will be removed in a future release.
- val SANDYBROWN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SandyBrown; SANDYBROWN will be removed in a future release.
- val SEAGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SeaGreen; SEAGREEN will be removed in a future release.
- val SEASHELL: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SeaShell; SEASHELL will be removed in a future release.
- val SIENNA: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Sienna; SIENNA will be removed in a future release.
- val SILVER: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Silver; SILVER will be removed in a future release.
- val SKYBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SkyBlue; SKYBLUE will be removed in a future release.
- val SLATEBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SlateBlue; SLATEBLUE will be removed in a future release.
- val SLATEGRAY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SlateGray; SLATEGRAY will be removed in a future release.
- val SLATEGREY: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SlateGrey; SLATEGREY will be removed in a future release.
- val SNOW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Snow; SNOW will be removed in a future release.
- val SPRINGGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SpringGreen; SPRINGGREEN will be removed in a future release.
- val STEELBLUE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use SteelBlue; STEELBLUE will be removed in a future release.
- val TAN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Tan; TAN will be removed in a future release.
- val TEAL: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Teal; TEAL will be removed in a future release.
- val THISTLE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Thistle; THISTLE will be removed in a future release.
- val TOMATO: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Tomato; TOMATO will be removed in a future release.
- val TRANSPARENT: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Transparent; TRANSPARENT will be removed in a future release.
- val TURQUOISE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Turquoise; TURQUOISE will be removed in a future release.
- val VIOLET: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Violet; VIOLET will be removed in a future release.
- val WHEAT: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Wheat; WHEAT will be removed in a future release.
- val WHITE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use White; WHITE will be removed in a future release.
- val WHITESMOKE: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use WhiteSmoke; WHITESMOKE will be removed in a future release.
- val YELLOW: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use Yellow; YELLOW will be removed in a future release.
- val YELLOWGREEN: Color
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0-R9) Use YellowGreen; YELLOWGREEN will be removed in a future release.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.
Package Structure
ScalaFX package structure corresponds to JavaFX package structure, for instance
scalafx.animation
corresponds tojavafx.animation
.Example Usage
A basic ScalaFX application is created creating an object that is an instance of
JFXApp3
. Following Java FX theatre metaphor, it contains astage
that contains ascene
. Astage
roughly corresponds to a window in a typical UI environment. Thescene
holds UI content presented to the user. In the example below, the content is a pane with a singlelabel
component.