typograph-editor-documentation
    Preparing search index...

    Class Swatch_Edit_Dialog

    Swatch New and Edit Dialog — handles Process, Spot, and Gradient swatches.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    backup_gradient_swatch: gradient_swatch
    backup_swatch: swatch
    cancelDialogProc: callbackwithstring
    color_controls: HTMLElement
    colorswatch: Colorswatch
    container: HTMLElement
    containerid: string
    content: HTMLElement
    copied_from_swatch: swatch
    current_type: string = 'PROCESS'
    dialogcontent: HTMLElement
    dialoglayer: HTMLElement
    dialoglayerid: string
    first_x: number
    first_y: number
    foooterheight: number = kFooterHeigth
    gradient_swatch: gradient_swatch
    gradient_type_menu: Popupmenu
    gradientbar: GradiantBar
    headerheight: number = kHeaderHeight
    height: number
    id: string
    input_hex: Inputfield
    inputs_cmyk: Inputfield[] = []
    inputs_rgb: Inputfield[] = []
    is_edit: boolean
    local_swatches: swatchlibrary
    menu_color_mode: Popupmenu
    menu_color_type: Popupmenu
    name_check_box: CheckBox
    name_check_box_html: HTMLElement
    okDialogProc: callbackwithstring
    okProc: callback = null
    opacity_value: number = 1.0
    orinal_x: number
    orinal_y: number
    selected_swatch_index: number = -1
    sliders_cmyk: Slidercontrol_color[] = []
    sliders_rgb: Slidercontrol_color[] = []
    stop_color_type: Popupmenu
    swatch: swatch
    swatch_id: string = null
    type: string
    variable_content: HTMLElement
    width: number

    Methods

    • popupmenu call to check active item used by popmenucontroler when dialog propery !=null should be overridden by subclasses

      Parameters

      • id: string

      Returns boolean

    • popupmenu call for menu action used by popmenucontroler when dialog propery!=null should be overridden by subclasses

      Parameters

      • id: any

      Returns void