UNPKG

armisa-models

Version:
24 lines (23 loc) 1.93 kB
import { FontIconType } from "../../FontIconType"; import { ToolStripFactory } from "./ToolStripFactory"; import { ToolStripItemFactory } from "./ToolStripItemFactory"; export type IToolStripButtonIcon = undefined | 'none' | 'home' | 'new' | 'view' | 'edit' | 'delete' | 'cut' | 'copy' | 'past' | 'open' | 'close' | 'attach' | 'columns' | 'ok' | 'save' | 'print' | 'printCrystal' | 'sortNumber' | 'drillDown' | 'contextMenu' | 'exportToExcel' | 'importFromExcel' | 'goPreviousRow' | 'goNextRow' | 'insertRowTop' | 'insertRowBottom' | 'removeRow' | 'refresh' | 'nextPage' | 'previousPage' | 'next' | 'back' | 'nextSameLevel' | 'backSameLevel' | 'function' | 'sum' | 'up2Down' | 'toggleSelect' | 'send' | 'acceptForm' | 'declineForm' | 'cleanForm' | 'reply' | 'forward' | 'BOMThin' | 'BOMPro' | 'lock' | 'unLock' | 'shop' | 'purchaseOrder' | 'purchase' | 'sale' | 'productOrder' | 'product' | 'receipt' | 'remittance'; export declare class ToolStripButtonFactory extends ToolStripItemFactory { icon: IToolStripButtonIcon; onClick: (toolStripButtonFactory: ToolStripButtonFactory) => void; fieldNameOfData: string | undefined; useAsEsc: boolean; useAsAccept: boolean; useAsSpaceKey: boolean; useAsShiftKey: boolean; size?: any; caption?: string | undefined; iconColor?: string; iconName: FontIconType; iconComany: 'fontAwsome' | 'flatIcon'; accessDenied: boolean; focusToElement: () => void; constructor(toolStripFactory: ToolStripFactory, _fieldName: string, tabIndex: number, icon: IToolStripButtonIcon, onClick: (toolStripButtonFactory: ToolStripButtonFactory) => void, fieldNameOfData: string | undefined, disabled: boolean, visible: boolean, useAsEsc: boolean, useAsAccept: boolean, useAsSpaceKey: boolean, useAsShiftKey: boolean, size?: any, color?: string, caption?: string | undefined); private setNameOfIcon; private setColorOfIcon; }