import * as go from '../../../../libs/gojs/release/go'; /** * @constructor * @extends Tool * @class */ export declare class RowResizingTool extends go.Tool { readonly name = "RowResizing"; /** @type {GraphObject} */ private _handleArchetype; constructor(); /** @type {string} */ private _tableName; /** @type {GraphObject} */ private _handle; /** @type {Panel} */ private _adornedTable; handleArchetype: go.GraphObject; tableName: string; readonly handle: go.GraphObject; readonly adornedTable: go.Panel; /** * Show an {@link Adornment} with a resize handle at each row. * Don't show anything if {@link #tableName} doesn't identify a {@link Panel} * that has a {@link Panel#type} of type {@link Panel#Table}. * @this {RowResizingTool} * @param {Part} part the part. */ updateAdornments(part: go.Part, reload?: boolean): void; /** * @this {RowResizingTool} * @param {Panel} table the Table Panel whose rows may be resized * @return {Adornment} */ makeAdornment(table: go.Panel, count: number): go.Adornment; /** * @this {RowResizingTool} * @param {Panel} table the Table Panel whose rows may be resized * @param {RowColumnDefinition} rowdef the row definition to be resized * @return a copy of the {@link #handleArchetype} */ makeHandle(table: go.Panel, rowdef: go.RowColumnDefinition): go.GraphObject; /** * This predicate is true when there is a resize handle at the mouse down point. * @this {RowResizingTool} * @return {boolean} */ canStart(): boolean; /** * @this {RowResizingTool} */ doActivate(): void; /** * @this {RowResizingTool} */ doDeactivate(): void; /** * @this {RowResizingTool} */ doMouseMove(): void; /** * @this {RowResizingTool} */ doMouseUp(): void; /** * This should change the {@link RowRowDefinition#height} of the row being resized * to a value corresponding to the given mouse point. * @expose * @this {RowResizingTool} * @param {Point} newPoint the value of the call to {@link #computeResize}. */ resize(newPoint: go.Point): void; /** * This can be overridden in order to customize the resizing process. * @expose * @this {RowResizingTool} * @param {Point} p the point where the handle is being dragged. * @return {Point} */ computeResize(p: go.Point): go.Point; /** * Pressing the Delete key removes any row width setting and stops this tool. * @this {RowResizingTool} */ doKeyDown(): void; private setDataProperty; }