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 Summary
Constructors Constructor Description ActionBarSpinnerItem(org.eclipse.swt.widgets.Composite parent, String name, int style)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActionListener(IActionListener listener)Adds action listener to the item.org.eclipse.swt.widgets.ControlgetControl()Gets the control associated with the item to perform actiob bar processing (like layouts) on it.StringgetId()Gets the indetifier of the action bar item.voidremoveActionListener(IActionListener listener)Removes action listener from the item.voidsetImage(org.eclipse.swt.graphics.Image image)Sets the image decorator for the item.voidsetToolTipText(String toolTip)Sets the tooltip text for the itme.
-
-
-
Constructor Detail
-
ActionBarSpinnerItem
public ActionBarSpinnerItem(org.eclipse.swt.widgets.Composite parent, String name, int style)
-
-
Method Detail
-
addActionListener
public void addActionListener(IActionListener listener)
Description copied from interface:IActionBarItemAdds action listener to the item.- Specified by:
addActionListenerin interfaceIActionBarItem- Parameters:
listener- The listener to add.
-
removeActionListener
public void removeActionListener(IActionListener listener)
Description copied from interface:IActionBarItemRemoves action listener from the item.- Specified by:
removeActionListenerin interfaceIActionBarItem- Parameters:
listener- The listener to remove.
-
getControl
public org.eclipse.swt.widgets.Control getControl()
Description copied from interface:IActionBarItemGets the control associated with the item to perform actiob bar processing (like layouts) on it.- Specified by:
getControlin interfaceIActionBarItem- Returns:
- The control associated with widget.
-
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
Description copied from interface:IActionBarItemSets the image decorator for the item.- Specified by:
setImagein interfaceIActionBarItem- Parameters:
image- Image to set.
-
setToolTipText
public void setToolTipText(String toolTip)
Description copied from interface:IActionBarItemSets the tooltip text for the itme.- Specified by:
setToolTipTextin interfaceIActionBarItem- Parameters:
toolTip- Text to set.
-
getId
public String getId()
Description copied from interface:IActionBarItemGets the indetifier of the action bar item.- Specified by:
getIdin interfaceIActionBarItem- Returns:
- The identifier of the button.
-
-