Kaydet (Commit) 78dce87d authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino

#i72580# Add descriptions about State property and button command

üst 19ae126b
...@@ -225,6 +225,16 @@ published service UnoControlButtonModel ...@@ -225,6 +225,16 @@ 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; [property] short State;
......
...@@ -63,6 +63,9 @@ published interface XButton: com::sun::star::uno::XInterface ...@@ -63,6 +63,9 @@ published interface XButton: com::sun::star::uno::XInterface
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
/** sets a command string for pushing the button. /** 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 ); [oneway] void setActionCommand( [in] string Command );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment