org.eodisp.wrapper.excel
Class CommandButton

java.lang.Object
  extended by org.eodisp.wrapper.excel.CommandButton

public class CommandButton
extends java.lang.Object

Represents a CommandButton in a Excel Worksheet.

Version:
$Id:$
Author:
ibirrer

Constructor Summary
CommandButton(org.eclipse.swt.ole.win32.OleAutomation commandButton, org.eclipse.swt.ole.win32.OleControlSite controlSite)
           
 
Method Summary
 java.lang.String getName()
          Returns the unique name of this button.
 boolean isEnabled()
          Returns if this button is enabled or not.
 void setEnabled(boolean enabled)
          Enables or disables this button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandButton

CommandButton(org.eclipse.swt.ole.win32.OleAutomation commandButton,
              org.eclipse.swt.ole.win32.OleControlSite controlSite)
Method Detail

setEnabled

public void setEnabled(boolean enabled)
Enables or disables this button.

Parameters:
enabled - true to ebable.

isEnabled

public boolean isEnabled()
Returns if this button is enabled or not.

Returns:
true if this button is enabled.

getName

public java.lang.String getName()
Returns the unique name of this button.

Returns:
the unique name of this button.