typograph-editor-documentation
    Preparing search index...

    Class SwatchConflictDialog

    One row per conflicting swatch: the name, the clip colour next to the document colour, and a keep / overwrite / add-as-copy choice. Confirming hands back a clipUuid -> resolution map; cancelling aborts the whole clip insert.

    Hierarchy (View Summary)

    Index
    • Parameters

      • type: string
      • id: string
      • conflicts: SwatchConflict[]
      • on_ok: (resolutions: Map<string, ConflictResolution>) => void
      • on_cancel: () => void

      Returns SwatchConflictDialog

    cancelDialogProc: callbackwithstring
    container: HTMLElement
    containerid: string
    content: HTMLElement
    dialogcontent: HTMLElement
    dialoglayer: HTMLElement
    dialoglayerid: string
    first_x: number
    first_y: number
    foooterheight: number = kFooterHeigth
    headerheight: number = kHeaderHeight
    height: number
    id: string
    okDialogProc: callbackwithstring
    orinal_x: number
    orinal_y: number
    type: string
    width: number
    • 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

      • e: MouseEvent

      Returns void

    • genaral call back to dispatch events back to the dialog...

      Parameters

      • s: string

        can be null

      Returns void