Author: hanya
Date: Wed Nov 18 12:44:57 2015
New Revision: 1714989
URL: http://svn.apache.org/viewvc?rev=1714989&view=rev
Log:
#i72580# Add descriptions about State property and button command
Modified:
openoffice/trunk/main/offapi/com/sun/star/awt/UnoControlButtonModel.idl
openoffice/trunk/main/offapi/com/sun/star/awt/XButton.idl
Modified:
openoffice/trunk/main/offapi/com/sun/star/awt/UnoControlButtonModel.idl
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/awt/UnoControlButtonModel.idl?rev=1714989&r1=1714988&r2=1714989&view=diff
==============================================================================
--- openoffice/trunk/main/offapi/com/sun/star/awt/UnoControlButtonModel.idl
(original)
+++ openoffice/trunk/main/offapi/com/sun/star/awt/UnoControlButtonModel.idl Wed
Nov 18 12:44:57 2015
@@ -224,7 +224,17 @@ published service UnoControlButtonModel
//-------------------------------------------------------------------------
- /** specifies the state of the control.
+ /** specifies the state of the control.
+
+ If <member>Toggle</member> 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 <member>Toggle</member>
*/
[property] short State;
Modified: openoffice/trunk/main/offapi/com/sun/star/awt/XButton.idl
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/awt/XButton.idl?rev=1714989&r1=1714988&r2=1714989&view=diff
==============================================================================
--- openoffice/trunk/main/offapi/com/sun/star/awt/XButton.idl (original)
+++ openoffice/trunk/main/offapi/com/sun/star/awt/XButton.idl Wed Nov 18
12:44:57 2015
@@ -63,6 +63,9 @@ published interface XButton: com::sun::s
//-------------------------------------------------------------------------
/** sets a command string for pushing the button.
+
+ @param Command
+ value can be used to detect which button is pressed.
*/
[oneway] void setActionCommand( [in] string Command );