diff options
author | Tsutomu Uchino <hanya@apache.org> | 2015-11-18 12:44:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-19 21:01:54 +0000 |
commit | 054d3251d770a6104c524fa7483011877ed657b1 (patch) | |
tree | 2c3ed1dc7dab0446d1053343176e9cfe3d08798c /offapi | |
parent | 9dea0a9775c1ab8c6ce8bbf00df83757cba34fb0 (diff) |
Related: #i72580# Add descriptions about State property and button command
(cherry picked from commit 78dce87d4bd6936f0310d96381a0130f3ba82ed0)
Change-Id: Ide972a5574c0062a7ee4e4300e512715c55e8d37
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/awt/UnoControlButtonModel.idl | 10 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/XButton.idl | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlButtonModel.idl b/offapi/com/sun/star/awt/UnoControlButtonModel.idl index 3a5f01c94d0f..c28e31c5ecd9 100644 --- a/offapi/com/sun/star/awt/UnoControlButtonModel.idl +++ b/offapi/com/sun/star/awt/UnoControlButtonModel.idl @@ -188,6 +188,16 @@ published service UnoControlButtonModel /** specifies the state of the control. + + If #Toggle property is set to `TRUE`, the pressed state + is enabled and its pressed state can be obtained with this property. + + <pre> + 0: not pressed + 1: pressed + 2: don't know + </pre> + @see #Toggle */ [property] short State; diff --git a/offapi/com/sun/star/awt/XButton.idl b/offapi/com/sun/star/awt/XButton.idl index 24dfa73846b4..3840d4076210 100644 --- a/offapi/com/sun/star/awt/XButton.idl +++ b/offapi/com/sun/star/awt/XButton.idl @@ -49,6 +49,9 @@ published interface XButton: com::sun::star::uno::XInterface /** sets a command string for pushing the button. + + @param Command + value can be used to detect which button is pressed. */ void setActionCommand( [in] string Command ); |