org.hyperscala.jquery

Spectrum

class Spectrum extends jQueryComponent

Linear Supertypes
jQueryComponent, WrappedComponent[HTMLTag], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Spectrum
  2. jQueryComponent
  3. WrappedComponent
  4. AnyRef
  5. 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. val autoInit: Boolean

    Definition Classes
    Spectrum → WrappedComponent
  8. def call(function: String, arg: Any): Unit

    Definition Classes
    jQueryComponent
  9. def call(function: String): Unit

    Definition Classes
    jQueryComponent
  10. val cancelText: JavaScriptProperty[String]

    The text to display on the cancel button.

    The text to display on the cancel button.

    Defaults to "Cancel".

  11. val chooseText: JavaScriptProperty[String]

    The text to display on the choose button.

    The text to display on the choose button.

    Defaults to "Confirm".

  12. val className: JavaScriptProperty[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.

  13. val clickoutFiresChange: JavaScriptProperty[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.

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val color: JavaScriptProperty[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.

  16. val disabled: JavaScriptProperty[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.

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

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

    Definition Classes
    AnyRef → Any
  19. def event[Event](eventType: String, mapper: JSMapper[Event])(implicit manifest: Manifest[Event]): UnitProcessor[Event]

    Definition Classes
    jQueryComponent
  20. def event(eventType: String): UnitProcessor[jQueryEvent]

    Definition Classes
    jQueryComponent
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. val flat: JavaScriptProperty[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.

  23. def functionName: String

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

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

    Definition Classes
    AnyRef → Any
  26. def init(): Unit

    Definition Classes
    WrappedComponent
  27. def initializeComponent(values: Map[String, Any]): Unit

    Attributes
    protected
    Definition Classes
    jQueryComponent → WrappedComponent
  28. def initialized: Boolean

    Definition Classes
    WrappedComponent
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val localStorageKey: JavaScriptProperty[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.

  31. def modify(key: String, value: Any): Unit

    Attributes
    protected
    Definition Classes
    jQueryComponent → WrappedComponent
  32. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Spectrum → WrappedComponent
  37. val palette: JavaScriptProperty[List[Color]]

    The color palette to use.

    The color palette to use.

    Defaults to Nil.

  38. val preferredFormat: JavaScriptProperty[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".

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

    Attributes
    protected
    Definition Classes
    WrappedComponent
  40. lazy val selector: jQuerySelector

    Definition Classes
    jQueryComponent
  41. val showAlpha: JavaScriptProperty[Boolean]

    Shows alpha transparency selection.

    Shows alpha transparency selection.

    Defaults to false.

  42. val showButtons: JavaScriptProperty[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.

  43. val showInitial: JavaScriptProperty[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.

  44. val showInput: JavaScriptProperty[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.

  45. val showPalette: JavaScriptProperty[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.

  46. val showPaletteOnly: JavaScriptProperty[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.

  47. val showSelectionPalette: JavaScriptProperty[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.

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

    Definition Classes
    AnyRef
  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def webpage: Webpage[Session]

    Attributes
    protected
    Definition Classes
    WrappedComponent
  54. val wrapped: Input

    Definition Classes
    Spectrum → WrappedComponent

Inherited from jQueryComponent

Inherited from WrappedComponent[HTMLTag]

Inherited from AnyRef

Inherited from Any

Ungrouped