このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


null
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous

PropertySetMixin (Java UNO Runtime 言及/関連)
UDK 3.2.7 Java API 言及/関連

com.sun.星/主役にする.lib.uno.helper
Class PropertySetMixin

java.lang.反対する
  extended by com.sun.星/主役にする.lib.uno.helper.PropertySetMixin

public final class PropertySetMixin
延長するs 反対する

A helper mixin to 器具/実施する 確かな UNO interfaces 関係のある to 所有物/資産/財産 始める,決める 扱うing on 最高の,を越す of the せいにするs of a given UNO interface type.

A (弁護士の)依頼人 will mix in this class by keeping a 言及/関連 to an instance of this class, and 今後ing all methods of (a subset of the interfaces) com.sun.星/主役にする.beans.XPropertySet, com.sun.星/主役にする.beans.XFastPropertySet, and com.sun.星/主役にする.beans.XPropertyAccess to it.

(弁護士の)依頼人 code should not use the 監視するs associated with instances of this class, as they are used for 内部の 目的s.

Since:
UDK 3.2

Nested Class 要約
static class PropertySetMixin.BoundListeners
          A class used by (弁護士の)依頼人s of PropertySetMixin when 器具/実施するing UNO interface type せいにする setter 機能(する)/行事s.
 
建設者 要約
PropertySetMixin(XComponentContext 状況, XInterface 反対する, Type type, String[] absentOptional)
          The 建設者.
 
Method 要約
 無効の addPropertyChangeListener(String propertyName, XPropertyChangeListener listener)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.addPropertyChangeListener.
 無効の addVetoableChangeListener(String propertyName, XVetoableChangeListener listener)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.addVetoableChangeListener.
 無効の 配置する/処分する/したい気持ちにさせる()
          示すs this instance as 存在 性質の/したい気がして.
 反対する getFastPropertyValue(int 扱う)
          器具/実施するs com.sun.星/主役にする.beans.XFastPropertySet.getFastPropertyValue.
 XPropertySetInfo getPropertySetInfo()
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.getPropertySetInfo.
 反対する getPropertyValue(String propertyName)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.getPropertyValue.
 PropertyValue[] getPropertyValues()
          器具/実施するs com.sun.星/主役にする.beans.XPropertyAccess.getPropertyValues.
 無効の prepareSet(String propertyName, 反対する oldValue, 反対する newValue, PropertySetMixin.BoundListeners bound)
          A method used by (弁護士の)依頼人s when 器具/実施するing UNO interface type せいにする setter 機能(する)/行事s.
 無効の prepareSet(String propertyName, PropertySetMixin.BoundListeners bound)
          A 簡単にするd 見解/翻訳/版 of prepareSet(String, 反対する, 反対する, PropertySetMixin.BoundListeners).
 無効の removePropertyChangeListener(String propertyName, XPropertyChangeListener listener)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.removePropertyChangeListener.
 無効の removeVetoableChangeListener(String propertyName, XVetoableChangeListener listener)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.removeVetoableChangeListener.
 無効の setFastPropertyValue(int 扱う, 反対する value)
          器具/実施するs com.sun.星/主役にする.beans.XFastPropertySet.setFastPropertyValue.
 無効の setPropertyValue(String propertyName, 反対する value)
          器具/実施するs com.sun.星/主役にする.beans.XPropertySet.setPropertyValue.
 無効の setPropertyValues(PropertyValue[] 支え(る)s)
          器具/実施するs com.sun.星/主役にする.beans.XPropertyAccess.setPropertyValues.
 
Methods 相続するd from class java.lang.反対する
clone, equals, 完結する, getClass, hashCode, 通知する, notifyAll, toString, wait, wait, wait
 

建設者 詳細(に述べる)

PropertySetMixin

public PropertySetMixin(XComponentContext 状況,
                        XInterface 反対する,
                        Type type,
                        String[] absentOptional)
The 建設者.

Parameters:
状況 - the 構成要素 状況 used by this instance; must not be null, and must 供給(する) the service com.sun.星/主役にする.reflection.CoreReflection and the singleton com.sun.星/主役にする.reflection.theTypeDescriptionManager
反対する - the (弁護士の)依頼人 UNO 反対する into which this instance is mixed in; must not be null, and must support the given type
type - the UNO interface type whose せいにするs are mapped to 所有物/資産/財産s; must not be null, and must 代表する a UNO interface type
absentOptional - a 名簿(に載せる)/表(にあげる) of optional 所有物/資産/財産s that are not 現在の, and should thus not be 明白な 経由で com.sun.星/主役にする.beans.XPropertySet.getPropertySetInfo, com.sun.星/主役にする.beans.XPropertySet.addPropertyChangeListener, com.sun.星/主役にする.beans.XPropertySet.removePropertyChangeListener, com.sun.星/主役にする.beans.XPropertySet.addVetoableChangeListener, and com.sun.星/主役にする.beans.XPropertySet.removeVetoableChangeListener; null is 扱う/治療するd the same as an empty 名簿(に載せる)/表(にあげる); if 非,不,無-null, the given array must not be 修正するd after it is passed to this 建設者. For consistency 推論する/理由s, the given absentOptional should only 含む/封じ込める the 指名するs of せいにするs that 代表する optional 所有物/資産/財産s that are not 現在の (that is, the せいにする getters and setters always throw a com.sun.星/主役にする.beans.UnknownPropertyException), and should 含む/封じ込める each such 指名する only once. If an optional 所有物/資産/財産 is not 現在の (that is, the corresponding せいにする getter and setter always throw a com.sun.星/主役にする.beans.UnknownPropertyException) but is not 含む/封じ込めるd in the given absentOptional, then it will be 明白な 経由で com.sun.星/主役にする.beans.XPropertySet.getPropertySetInfo as a com.sun.星/主役にする.beans.所有物/資産/財産 with a 始める,決める com.sun.星/主役にする.beans.PropertyAttribute.OPTIONAL. If the given 反対する does not 器具/実施する com.sun.星/主役にする.beans.XPropertySet, then the given absentOptional is 効果的に ignored and can be null or empty.
Method 詳細(に述べる)

prepareSet

public 無効の prepareSet(String propertyName,
                       反対する oldValue,
                       反対する newValue,
                       PropertySetMixin.BoundListeners bound)
                throws PropertyVetoException
A method used by (弁護士の)依頼人s when 器具/実施するing UNO interface type せいにする setter 機能(する)/行事s.

First, this method checks whether this instance has already been 性質の/したい気がして (see 配置する/処分する/したい気持ちにさせる()), and throws a com.sun.星/主役にする.beans.DisposedException if applicable. For a constrained せいにする (whose setter can explicitly raise com.sun.星/主役にする.beans.PropertyVetoException), this method 通知するs any com.sun.星/主役にする.beans.XVetoableChangeListeners. For a bound せいにする, this method 修正するs the passed-in bound so that it can afterwards be used to 通知する any com.sun.星/主役にする.beans.XPropertyChangeListeners. This method should be called before 蓄える/店ing the new せいにする value, and bound.notifyListeners() should be called 正確に/まさに once after 蓄える/店ing the new せいにする value (in 事例/患者 the せいにする is bound; さもなければ, calling bound.notifyListeners() is ignored). その上に, bound.notifyListeners() and this method have to be called from the same thread.

Parameters:
propertyName - the 指名する of the 所有物/資産/財産 (which is the same as the 指名する of the せいにする that is going to be 始める,決める)
oldValue - the 所有物/資産/財産 value corresponding to the old せいにする value. This is only used as com.sun.星/主役にする.beans.PropertyChangeEvent.OldValue, which is rather useless, anyway (see “Using the 観察者/傍聴者 Pattern” in OpenOffice.org Coding 指導基準s). If the せいにする that is going to be 始める,決める is neither bound nor constrained, or if com.sun.星/主役にする.beans.PropertyChangeEvent.OldValue should not be 始める,決める, Any.VOID can be used instead.
newValue - the 所有物/資産/財産 value corresponding to the new せいにする value. This is only used as com.sun.星/主役にする.beans.PropertyChangeEvent.NewValue, which is rather useless, anyway (see “Using the 観察者/傍聴者 Pattern&rdquo: in OpenOffice.org Coding 指導基準s), unless the せいにする that is going to be 始める,決める is constrained. If the せいにする that is going to be 始める,決める is neither bound nor constrained, or if it is only bound but com.sun.星/主役にする.beans.PropertyChangeEvent.NewValue should not be 始める,決める, Any.VOID can be used instead.
bound - a 言及/関連 to a fresh PropertySetMixin.BoundListeners instance (which has not been passed to this method before, and on which PropertySetMixin.BoundListeners.notifyListeners() has not yet been called); may only be null if the せいにする that is going to be 始める,決める is not bound
Throws:
PropertyVetoException

prepareSet

public 無効の prepareSet(String propertyName,
                       PropertySetMixin.BoundListeners bound)
A 簡単にするd 見解/翻訳/版 of prepareSet(String, 反対する, 反対する, PropertySetMixin.BoundListeners).

This method is useful for せいにするs that are not constrained.

Parameters:
propertyName - the 指名する of the 所有物/資産/財産 (which is the same as the 指名する of the せいにする that is going to be 始める,決める)
bound - a 言及/関連 to a fresh PropertySetMixin.BoundListeners instance (which has not been passed to this method before, and on which PropertySetMixin.BoundListeners.notifyListeners() has not yet been called); may only be null if the せいにする that is going to be 始める,決める is not bound

配置する/処分する/したい気持ちにさせる

public 無効の 配置する/処分する/したい気持ちにさせる()
示すs this instance as 存在 性質の/したい気がして.

See com.sun.星/主役にする.lang.XComponent for the general 概念 of 配置する/処分する/したい気持ちにさせるing UNO 反対するs. On the first call to this method, all 登録(する)d listeners (com.sun.星/主役にする.beans.XPropertyChangeListeners and com.sun.星/主役にする.beans.XVetoableChangeListeners) are 通知するd of the 配置する/処分する/したい気持ちにさせるing source. Any その後の calls to this method are ignored.


getPropertySetInfo

public XPropertySetInfo getPropertySetInfo()
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.getPropertySetInfo.


setPropertyValue

public 無効の setPropertyValue(String propertyName,
                             反対する value)
                      throws UnknownPropertyException,
                             PropertyVetoException,
                             IllegalArgumentException,
                             WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.setPropertyValue.

Throws:
UnknownPropertyException
PropertyVetoException
IllegalArgumentException
WrappedTargetException

getPropertyValue

public 反対する getPropertyValue(String propertyName)
                        throws UnknownPropertyException,
                               WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.getPropertyValue.

Throws:
UnknownPropertyException
WrappedTargetException

addPropertyChangeListener

public 無効の addPropertyChangeListener(String propertyName,
                                      XPropertyChangeListener listener)
                               throws UnknownPropertyException,
                                      WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.addPropertyChangeListener.

If a listener is 追加するd more than once, it will receive all 関連した notifications 多重の times.

Throws:
UnknownPropertyException
WrappedTargetException

removePropertyChangeListener

public 無効の removePropertyChangeListener(String propertyName,
                                         XPropertyChangeListener listener)
                                  throws UnknownPropertyException,
                                         WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.removePropertyChangeListener.

Throws:
UnknownPropertyException
WrappedTargetException

addVetoableChangeListener

public 無効の addVetoableChangeListener(String propertyName,
                                      XVetoableChangeListener listener)
                               throws UnknownPropertyException,
                                      WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.addVetoableChangeListener.

If a listener is 追加するd more than once, it will receive all 関連した notifications 多重の times.

Throws:
UnknownPropertyException
WrappedTargetException

removeVetoableChangeListener

public 無効の removeVetoableChangeListener(String propertyName,
                                         XVetoableChangeListener listener)
                                  throws UnknownPropertyException,
                                         WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertySet.removeVetoableChangeListener.

Throws:
UnknownPropertyException
WrappedTargetException

setFastPropertyValue

public 無効の setFastPropertyValue(int 扱う,
                                 反対する value)
                          throws UnknownPropertyException,
                                 PropertyVetoException,
                                 IllegalArgumentException,
                                 WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XFastPropertySet.setFastPropertyValue.

Throws:
UnknownPropertyException
PropertyVetoException
IllegalArgumentException
WrappedTargetException

getFastPropertyValue

public 反対する getFastPropertyValue(int 扱う)
                            throws UnknownPropertyException,
                                   WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XFastPropertySet.getFastPropertyValue.

Throws:
UnknownPropertyException
WrappedTargetException

getPropertyValues

public PropertyValue[] getPropertyValues()
器具/実施するs com.sun.星/主役にする.beans.XPropertyAccess.getPropertyValues.


setPropertyValues

public 無効の setPropertyValues(PropertyValue[] 支え(る)s)
                       throws UnknownPropertyException,
                              PropertyVetoException,
                              IllegalArgumentException,
                              WrappedTargetException
器具/実施するs com.sun.星/主役にする.beans.XPropertyAccess.setPropertyValues.

Throws:
UnknownPropertyException
PropertyVetoException
IllegalArgumentException
WrappedTargetException

UDK 3.2.7 Java API 言及/関連

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.