Class DLItem

java.lang.Object
org.eclipse.nebula.widgets.opal.commons.OpalItem
org.eclipse.nebula.widgets.opal.duallist.DLItem

public class DLItem
extends OpalItem
Instances of this class represents items manipulated by this DualList widget
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  DLItem.LAST_ACTION  
  • Constructor Summary

    Constructors 
    Constructor Description
    DLItem​(java.lang.String text)
    Constructor
    DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image)
    Constructor
    DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Color foregroundColor, org.eclipse.swt.graphics.Color backgroundColor)
    Constructor
    DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font)
    Constructor
    DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.Color foregroundColor)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    int getHeight()  
    DLItem.LAST_ACTION getLastAction()  
    void setHeight​(int height)  
    DLItem setLastAction​(DLItem.LAST_ACTION lastAction)  
    DLItem setSelected​(boolean selection)
    Change the selection state of this item

    Methods inherited from class org.eclipse.nebula.widgets.opal.commons.OpalItem

    getBackground, getData, getData, getFont, getForeground, getImage, getText, setBackground, setData, setData, setFont, setForeground, setImage, setText

    Methods inherited from class java.lang.Object

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

    • DLItem

      public DLItem​(java.lang.String text)
      Constructor
      Parameters:
      text - the text displayed in the DualList widget for this item
    • DLItem

      public DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image)
      Constructor
      Parameters:
      text - the text displayed in the DualList widget for this item
      image - the image displayed in the DualList widget for this item
    • DLItem

      public DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.Color foregroundColor)
      Constructor
      Parameters:
      text - the text displayed in the DualList widget for this item
      image - the image displayed in the DualList widget for this item
      font - the font displayed in the DualList widget for this item
      foregroundColor - the foreground color displayed in the DualList widget for this item
    • DLItem

      public DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Color foregroundColor, org.eclipse.swt.graphics.Color backgroundColor)
      Constructor
      Parameters:
      text - the text displayed in the DualList widget for this item
      image - the image displayed in the DualList widget for this item
      foregroundColor - the foreground color displayed in the DualList widget for this item
      backgroundColor - the background color displayed in the DualList widget for this item
    • DLItem

      public DLItem​(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font)
      Constructor
      Parameters:
      text - the text displayed in the DualList widget for this item
      image - the image displayed in the DualList widget for this item
      font - the font displayed in the DualList widget for this item
  • Method Details