1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_awt_grid_GridDataEvent_idl__ 24#define __com_sun_star_awt_grid_GridDataEvent_idl__ 25 26#include <com/sun/star/lang/EventObject.idl> 27 28//============================================================================= 29 30module com { module sun { module star { module awt { module grid { 31 32//============================================================================= 33 34/** used to notify changes in the data represented by an <type>XMutableGridDataModel</type>. 35 36 <p>Effectively, a <code>GridDataEvent</code> denotes a continuous two-dimensional cell range 37 within a grid's data model, which is affected by a certain change.</p> 38 39 @see XMutableGridDataModel 40 @see XGridDataListener 41 42 @since OOo 3.3 43 */ 44published struct GridDataEvent: com::sun::star::lang::EventObject 45{ 46 /** denotes the first column affected by a change. 47 48 <p>If <code>FirstColumn</code> is -1, the listener should assume that all rows of a grid's data model 49 are affected.</p> 50 */ 51 long FirstColumn; 52 53 /** denotes the last column affected by a change 54 */ 55 long LastColumn; 56 57 /** denotes the first row affected by a change. 58 59 <p>If <code>FirstRow</code> is -1, the listener should assume that all rows of a grid's data model 60 are affected.</p> 61 */ 62 long FirstRow; 63 64 /** denotes the last row affected by a change 65 */ 66 long LastRow; 67}; 68 69//============================================================================= 70 71}; }; }; }; }; 72 73#endif 74