Class ActionBarSpinnerItem

java.lang.Object
com._1c.g5.v8.dt.common.ui.controls.ActionBarSpinnerItem
All Implemented Interfaces:
IActionBarItem

public class ActionBarSpinnerItem extends Object implements IActionBarItem
  • Constructor Details

    • ActionBarSpinnerItem

      public ActionBarSpinnerItem(org.eclipse.swt.widgets.Composite parent, String name, int style)
  • Method Details

    • addActionListener

      public void addActionListener(IActionListener listener)
      Description copied from interface: IActionBarItem
      Adds action listener to the item.
      Specified by:
      addActionListener in interface IActionBarItem
      Parameters:
      listener - The listener to add.
    • removeActionListener

      public void removeActionListener(IActionListener listener)
      Description copied from interface: IActionBarItem
      Removes action listener from the item.
      Specified by:
      removeActionListener in interface IActionBarItem
      Parameters:
      listener - The listener to remove.
    • getControl

      public org.eclipse.swt.widgets.Control getControl()
      Description copied from interface: IActionBarItem
      Gets the control associated with the item to perform actiob bar processing (like layouts) on it.
      Specified by:
      getControl in interface IActionBarItem
      Returns:
      The control associated with widget.
    • setImage

      public void setImage(org.eclipse.swt.graphics.Image image)
      Description copied from interface: IActionBarItem
      Sets the image decorator for the item.
      Specified by:
      setImage in interface IActionBarItem
      Parameters:
      image - Image to set.
    • setToolTipText

      public void setToolTipText(String toolTip)
      Description copied from interface: IActionBarItem
      Sets the tooltip text for the itme.
      Specified by:
      setToolTipText in interface IActionBarItem
      Parameters:
      toolTip - Text to set.
    • getId

      public String getId()
      Description copied from interface: IActionBarItem
      Gets the indetifier of the action bar item.
      Specified by:
      getId in interface IActionBarItem
      Returns:
      The identifier of the button.