|
UDK 3.2.7 Java API 言及/関連 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sun.星/主役にする.lib.uno.helper
Class PropertySetMixin
java.lang.反対する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 servicecom.sun.星/主役にする.reflection.CoreReflectionand the singletoncom.sun.星/主役にする.reflection.theTypeDescriptionManager反対する- the (弁護士の)依頼人 UNO 反対する into which this instance is mixed in; must not be null, and must support the giventypetype- the UNO interface type whose せいにするs are mapped to 所有物/資産/財産s; must not be null, and must 代表する a UNO interface typeabsentOptional- 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, andcom.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 givenabsentOptionalshould only 含む/封じ込める the 指名するs of せいにするs that 代表する optional 所有物/資産/財産s that are not 現在の (that is, the せいにする getters and setters always throw acom.sun.星/主役にする.beans.UnknownPropertyException), and should 含む/封じ込める each such 指名する only once. If an optional 所有物/資産/財産 is not 現在の (that is, the corresponding せいにする getter and setter always throw acom.sun.星/主役にする.beans.UnknownPropertyException) but is not 含む/封じ込めるd in the givenabsentOptional, then it will be 明白な 経由でcom.sun.星/主役にする.beans.XPropertySet.getPropertySetInfoas acom.sun.星/主役にする.beans.所有物/資産/財産with a 始める,決めるcom.sun.星/主役にする.beans.PropertyAttribute.OPTIONAL. If the given反対するdoes not 器具/実施するcom.sun.星/主役にする.beans.XPropertySet, then the givenabsentOptionalis 効果的に 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 acom.sun.星/主役にする.beans.DisposedExceptionif applicable. For a constrained せいにする (whose setter can explicitly raisecom.sun.星/主役にする.beans.PropertyVetoException), this method 通知するs anycom.sun.星/主役にする.beans.XVetoableChangeListeners. For a bound せいにする, this method 修正するs the passed-inboundso that it can afterwards be used to 通知する anycom.sun.星/主役にする.beans.XPropertyChangeListeners. This method should be called before 蓄える/店ing the new せいにする value, andbound.notifyListeners()should be called 正確に/まさに once after 蓄える/店ing the new せいにする value (in 事例/患者 the せいにする is bound; さもなければ, callingbound.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 ascom.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 ifcom.sun.星/主役にする.beans.PropertyChangeEvent.OldValueshould not be 始める,決める,Any.VOIDcan be used instead.newValue- the 所有物/資産/財産 value corresponding to the new せいにする value. This is only used ascom.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 butcom.sun.星/主役にする.beans.PropertyChangeEvent.NewValueshould not be 始める,決める,Any.VOIDcan be used instead.bound- a 言及/関連 to a freshPropertySetMixin.BoundListenersinstance (which has not been passed to this method before, and on whichPropertySetMixin.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 freshPropertySetMixin.BoundListenersinstance (which has not been passed to this method before, and on whichPropertySetMixin.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.XComponentfor the general 概念 of 配置する/処分する/したい気持ちにさせるing UNO 反対するs. On the first call to this method, all 登録(する)d listeners (com.sun.星/主役にする.beans.XPropertyChangeListeners andcom.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.
getPropertyValue
public 反対する getPropertyValue(String propertyName) throws UnknownPropertyException, WrappedTargetException
- 器具/実施するs
com.sun.星/主役にする.beans.XPropertySet.getPropertyValue.
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.
removePropertyChangeListener
public 無効の removePropertyChangeListener(String propertyName, XPropertyChangeListener listener) throws UnknownPropertyException, WrappedTargetException
- 器具/実施するs
com.sun.星/主役にする.beans.XPropertySet.removePropertyChangeListener.
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.
removeVetoableChangeListener
public 無効の removeVetoableChangeListener(String propertyName, XVetoableChangeListener listener) throws UnknownPropertyException, WrappedTargetException
- 器具/実施するs
com.sun.星/主役にする.beans.XPropertySet.removeVetoableChangeListener.
setFastPropertyValue
public 無効の setFastPropertyValue(int 扱う,
反対する value)
throws UnknownPropertyException,
PropertyVetoException,
IllegalArgumentException,
WrappedTargetException
- 器具/実施するs
com.sun.星/主役にする.beans.XFastPropertySet.setFastPropertyValue.
getFastPropertyValue
public 反対する getFastPropertyValue(int 扱う) throws UnknownPropertyException, WrappedTargetException
- 器具/実施するs
com.sun.星/主役にする.beans.XFastPropertySet.getFastPropertyValue.
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.
|
UDK 3.2.7 Java API 言及/関連 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

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