Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: drafts :: com :: sun :: star :: form ::
interface XValueBinding
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XValueBinding
Description specifies a binding to a value which can be read and written.

Methods' Summary
getSupportedValueTypes | determines the types which are supported by this binding for value exchange
supportsType | determines whether a given type is supported by this binding for value exchange
getValue | retrieves the current value
setValue | sets the current value

Methods' Details
getSupportedValueTypes
sequence< type > getSupportedValueTypes(); |  |
Description determines the types which are supported by this binding for value exchange See also supportsType
supportsType
boolean supportsType( | [in] type | aType );
Description determines whether a given type is supported by this binding for value exchange Calling this method is equal to calling getSupportedValueTypes , and looking up the given type in the resulting type sequence. See also getSupportedValueTypes
getValue
any getValue( | [in] type raises( | aType ) IncompatibleTypesException );
Description retrieves the current value Throws IncompatibleTypesException if the requested value type is not supported by the binding See also getSupportedValueTypes See also supportsType
setValue
void setValue( | [in] any raises( | aValue ) IncompatibleTypesException, ::com::sun::star::lang::NoSupportException );
Description sets the current value Throws IncompatibleTypesException if the given value type is not supported by the binding Throws ::com::sun::star::lang::NoSupportException if the value currently cannot be changed (e.g. because it's readonly), or if the binding in general does not support write access to it's binding See also getSupportedValueTypes See also supportsType See also ValueBinding

Top of Page

Copyright © 2003 Sun Microsystems, Inc.