Class/Object

org.hyperscala.jquery

Spectrum

Related Docs: object Spectrum | package jquery

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def afterInit(f: ⇒ Unit): Unit

    Permalink
    Definition Classes
    WrappedComponent
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val autoInit: Boolean

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

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

    Permalink
    Definition Classes
    jQueryComponent
  9. def call(): Unit

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

    Permalink

    The text to display on the cancel button.

    The text to display on the cancel button.

    Defaults to "Cancel".

  11. val chooseText: JavaScriptProperty[String]

    Permalink

    The text to display on the choose button.

    The text to display on the choose button.

    Defaults to "Confirm".

  12. val className: JavaScriptProperty[Null]

    Permalink

    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]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val color: JavaScriptProperty[EnumColor]

    Permalink

    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]

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def event[T <: BrowserEvent](mapping: MappedEvent[T]): UnitProcessor[T]

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

    Permalink
    Definition Classes
    jQueryComponent
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. val flat: JavaScriptProperty[Boolean]

    Permalink

    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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  30. val localStorageKey: JavaScriptProperty[String]

    Permalink

    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

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

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

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

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

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

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

    Permalink

    The color palette to use.

    The color palette to use.

    Defaults to Nil.

  38. val preferredFormat: JavaScriptProperty[String]

    Permalink

    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]

    Permalink
    Attributes
    protected
    Definition Classes
    WrappedComponent
  40. def realtimeSelector: Option[Selector]

    Permalink
    Attributes
    protected
    Definition Classes
    jQueryComponent
  41. def send(statement: Statement[_]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    jQueryComponent
  42. val showAlpha: JavaScriptProperty[Boolean]

    Permalink

    Shows alpha transparency selection.

    Shows alpha transparency selection.

    Defaults to false.

  43. val showButtons: JavaScriptProperty[Boolean]

    Permalink

    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.

  44. val showInitial: JavaScriptProperty[Boolean]

    Permalink

    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.

  45. val showInput: JavaScriptProperty[Boolean]

    Permalink

    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.

  46. val showPalette: JavaScriptProperty[Boolean]

    Permalink

    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.

  47. val showPaletteOnly: JavaScriptProperty[Boolean]

    Permalink

    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.

  48. val showSelectionPalette: JavaScriptProperty[Boolean]

    Permalink

    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.

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

    Permalink
    Definition Classes
    AnyRef
  50. lazy val tagSelector: jQuerySelector

    Permalink
    Definition Classes
    jQueryComponent
  51. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def webpage: Webpage

    Permalink
    Attributes
    protected
    Definition Classes
    WrappedComponent
  56. val wrapped: Input

    Permalink
    Definition Classes
    Spectrum → WrappedComponent

Inherited from jQueryComponent

Inherited from WrappedComponent[HTMLTag]

Inherited from AnyRef

Inherited from Any

Ungrouped