Class PGroupToolItem


public class PGroupToolItem
extends org.eclipse.swt.widgets.Item
Instances of this class represent a selectable user interface object that represents a button in a PGroup.
  • Constructor Summary

    Constructor Description
    PGroupToolItem​(PGroup parent, int style)  
  • Method Summary

    Modifier and Type Method Description
    void addSelectionListener​( listener) getBounds()  
    boolean getSelection()
    Returns true if the receiver is selected, and false otherwise.
    java.lang.String getToolTipText()  
    (package private) void onMouseDown​(org.eclipse.swt.widgets.Event e)  
    void removeSelectionListener​( listener)  
    void setBounds​( bounds)  
    (package private) void setDropDownArea​( dropdownArea)  
    void setSelection​(boolean selection)
    Sets the selection state of the receiver.
    void setToolTipText​(java.lang.String tooltip)  

    Methods inherited from class org.eclipse.swt.widgets.Item

    checkSubclass, getImage, getText, setImage, setText

    Methods inherited from class org.eclipse.swt.widgets.Widget

    addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • setBounds

      public void setBounds​( bounds)
    • getBounds

      public getBounds()
    • setSelection

      public void setSelection​(boolean selection)
      Sets the selection state of the receiver.
      selection - the new selection state
    • getSelection

      public boolean getSelection()
      Returns true if the receiver is selected, and false otherwise.
      the selection state
    • addSelectionListener

      public void addSelectionListener​( listener)
    • removeSelectionListener

      public void removeSelectionListener​( listener)
    • setDropDownArea

      void setDropDownArea​( dropdownArea)
    • onMouseDown

      void onMouseDown​(org.eclipse.swt.widgets.Event e)
    • setToolTipText

      public void setToolTipText​(java.lang.String tooltip)
    • getToolTipText

      public java.lang.String getToolTipText()