:: drafts :: com :: sun :: star :: form ::

deprecated unpublished interface XValueBinding
Deprecation Info
This interface is superseeded by ::com::sun::star::form::binding::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  aType )
raises( IncompatibleTypesException );

Description
retrieves the current value
Throws
IncompatibleTypesException if the requested value type is not supported by the binding
See also
getSupportedValueTypes, supportsType
setValue
void
setValue( [in] any  aValue )
raises( 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, supportsType, ValueBinding
Top of Page