/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #ifndef __com_sun_star_awt_XSpinField_idl__ #define __com_sun_star_awt_XSpinField_idl__ #ifndef __com_sun_star_uno_XInterface_idl__ #include #endif #ifndef __com_sun_star_awt_XSpinListener_idl__ #include #endif //============================================================================= module com { module sun { module star { module awt { //============================================================================= /** gives access to the value of a spin field and makes it possible to register for spin events. */ published interface XSpinField: com::sun::star::uno::XInterface { //------------------------------------------------------------------------- /** registers a listener for spin events. */ [oneway] void addSpinListener( [in] com::sun::star::awt::XSpinListener l ); //------------------------------------------------------------------------- /** unregisters a listener for spin events. */ [oneway] void removeSpinListener( [in] com::sun::star::awt::XSpinListener l ); //------------------------------------------------------------------------- /** increases the value by one step. */ [oneway] void up(); //------------------------------------------------------------------------- /** decreases the value by one step. */ [oneway] void down(); //------------------------------------------------------------------------- /** sets the value to the previously set lower value. */ [oneway] void first(); //------------------------------------------------------------------------- /** sets the value to the previously set upper value. */ [oneway] void last(); //------------------------------------------------------------------------- /** enables/disables automatic repeat mode. */ [oneway] void enableRepeat( [in] boolean bRepeat ); }; //============================================================================= }; }; }; }; #endif