org.hyperscala.jquery

Spectrum

class Spectrum extends jQueryComponent

Linear Supertypes
jQueryComponent, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Spectrum
  2. jQueryComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def call(function: String): Unit

    Definition Classes
    jQueryComponent
  8. val cancelText: jQueryProperty[String]

    The text to display on the cancel button.

    The text to display on the cancel button.

    Defaults to "Cancel".

  9. val chooseText: jQueryProperty[String]

    The text to display on the choose button.

    The text to display on the choose button.

    Defaults to "Confirm".

  10. val className: jQueryProperty[Null]

    You can add an additional class name to the replacer and container element using the className property.

    You can add an additional class name to the replacer and container element using the className property.

    Defaults to null.

  11. val clickoutFiresChange: jQueryProperty[Boolean]

    When clicking outside of the colorpicker, you can force it to fire a change event rather than having it revert the change.

    When clicking outside of the colorpicker, you can force it to fire a change event rather than having it revert the change.

    Defaults to false.

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. val color: jQueryProperty[Color]

    The initial color will be set with the color option.

    The initial color will be set with the color option. If you don't pass in a color, Spectrum will use the value attribute on the input.

    Defaults to value of input or Black if input does not contain a color value.

  14. val disabled: jQueryProperty[Boolean]

    Spectrum can be automatically disabled if you pass in the disabled flag.

    Spectrum can be automatically disabled if you pass in the disabled flag. Additionally, if the input that you initialize spectrum on is disabled, this will be the default value.

    Note: you cannot enable spectrum if the input is disabled.

    Defaults to false.

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def event(eventType: String): UnitProcessor[jQueryEvent]

    Definition Classes
    jQueryComponent
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. val flat: jQueryProperty[Boolean]

    This means that it will always show up at full size, and be positioned as an inline-block element.

    This means that it will always show up at full size, and be positioned as an inline-block element.

    Defaults to false.

  20. def functionName: String

    Definition Classes
    Spectrum → jQueryComponent
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. val html: Input

    Definition Classes
    Spectrum → jQueryComponent
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. val localStorageKey: jQueryProperty[String]

    The key used to store selection data in the browser's localStorage object.

    The key used to store selection data in the browser's localStorage object.

    Defaults to null.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def on(eventType: String, function: JavaScriptContent): Unit

    Definition Classes
    jQueryComponent
  30. def option(key: String, value: Any): Unit

    Definition Classes
    jQueryComponent
  31. val palette: jQueryProperty[List[Color]]

    The color palette to use.

    The color palette to use.

    Defaults to Nil.

  32. val preferredFormat: jQueryProperty[String]

    You can set the format that is displayed.

    You can set the format that is displayed.

    Options are:

    • hex
    • hex6
    • hsl
    • rgb
    • name (falls back to hex)

    Defaults to "name".

  33. def property[T](name: String, default: T, includeDefault: Boolean, toJS: (T) ⇒ JavaScriptContent)(implicit manifest: Manifest[T]): jQueryProperty[T]

    Attributes
    protected
    Definition Classes
    jQueryComponent
  34. def propertyChanged[T](name: String, property: jQueryProperty[T]): Unit

    Definition Classes
    Spectrum → jQueryComponent
  35. val showAlpha: jQueryProperty[Boolean]

    Shows alpha transparency selection.

    Shows alpha transparency selection.

    Defaults to false.

  36. val showButtons: jQueryProperty[Boolean]

    You can show or hide the buttons using this property.

    You can show or hide the buttons using this property. If there are no buttons, the behavior will be to fire the change event (and update the original input) when the picker is closed.

    Defaults to true.

  37. val showInitial: jQueryProperty[Boolean]

    Spectrum can show the color that was initially set when opening.

    Spectrum can show the color that was initially set when opening. This provides an easy way to click back to what was set when opened.

    Defaults to false.

  38. val showInput: jQueryProperty[Boolean]

    You can add an input to allow free form typing.

    You can add an input to allow free form typing. The color parsing is very permissive in the allowed strings.

    Defaults to false.

  39. val showPalette: jQueryProperty[Boolean]

    Spectrum can show a palette below the colorpicker to make it convenient for users to choose from frequently or recently used colors.

    Spectrum can show a palette below the colorpicker to make it convenient for users to choose from frequently or recently used colors. When the colorpicker is closed, the current color will be added to the palette if it isn't there already.

    Defaults to false.

  40. val showPaletteOnly: jQueryProperty[Boolean]

    If you'd like, spectrum can show the palettes you specify, and nothing else.

    If you'd like, spectrum can show the palettes you specify, and nothing else.

    Defaults to false.

  41. val showSelectionPalette: jQueryProperty[Boolean]

    Spectrum can keep track of what has been selected by the user with this option.

    Spectrum can keep track of what has been selected by the user with this option. If the localStorageKey option is defined, the selection will be saved in the browser's localStorage object.

    Defaults to false.

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from jQueryComponent

Inherited from AnyRef

Inherited from Any

Ungrouped