Class DLConfiguration

java.lang.Object
org.eclipse.nebula.widgets.opal.duallist.DLConfiguration

public class DLConfiguration
extends java.lang.Object
Configuration class for the DualList widget
  • Constructor Details

  • Method Details

    • getItemsBackgroundColor

      public org.eclipse.swt.graphics.Color getItemsBackgroundColor()
      Returns:
      the background color of the items panel
    • setItemsBackgroundColor

      public DLConfiguration setItemsBackgroundColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the background color of the items panel to set
    • getItemsOddLinesColor

      public org.eclipse.swt.graphics.Color getItemsOddLinesColor()
      Returns:
      the background color of the odd lines for the unselected items list
    • setItemsOddLinesColor

      public DLConfiguration setItemsOddLinesColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the background color of the odd lines for the unselected items list to set
    • getSelectionBackgroundColor

      public org.eclipse.swt.graphics.Color getSelectionBackgroundColor()
      Returns:
      the background color of the selected items panel
    • setSelectionBackgroundColor

      public DLConfiguration setSelectionBackgroundColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the background color of the items panel to set
    • getSelectionOddLinesColor

      public org.eclipse.swt.graphics.Color getSelectionOddLinesColor()
      Returns:
      the background color of the odd lines for the selected items list
    • setSelectionOddLinesColor

      public DLConfiguration setSelectionOddLinesColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the background color of the odd lines for the selected items list to set
    • getItemsTextAlignment

      public int getItemsTextAlignment()
      Returns:
      the text alignment (SWT.RIGHT, SWT.CENTER, SWT.LEFT) for the unselected items
    • setItemsTextAlignment

      public DLConfiguration setItemsTextAlignment​(int alignment)
      Parameters:
      alignment - the text alignment (SWT.RIGHT, SWT.CENTER, SWT.LEFT) for the unselected items to set
    • getSelectionTextAlignment

      public int getSelectionTextAlignment()
      Returns:
      the text alignment (SWT.RIGHT, SWT.CENTER, SWT.LEFT) for the selected items
    • setSelectionTextAlignment

      public DLConfiguration setSelectionTextAlignment​(int alignment)
      Parameters:
      alignment - the text alignment (SWT.RIGHT, SWT.CENTER, SWT.LEFT) for the unselected items to set
    • getDoubleDownImage

      public org.eclipse.swt.graphics.Image getDoubleDownImage()
      Returns:
      the image for the "double down" button
    • setDoubleDownImage

      public DLConfiguration setDoubleDownImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "double down" button to set
    • getDoubleUpImage

      public org.eclipse.swt.graphics.Image getDoubleUpImage()
      Returns:
      the image for the "double up" button
    • setDoubleUpImage

      public DLConfiguration setDoubleUpImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "double up" button to set
    • getDoubleLeftImage

      public org.eclipse.swt.graphics.Image getDoubleLeftImage()
      Returns:
      the image for the "double left" button
    • setDoubleLeftImage

      public DLConfiguration setDoubleLeftImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "double left" button to set
    • getDoubleRightImage

      public org.eclipse.swt.graphics.Image getDoubleRightImage()
      Returns:
      the image for the "double right" button
    • setDoubleRightImage

      public DLConfiguration setDoubleRightImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "double right" button to set
    • getDownImage

      public org.eclipse.swt.graphics.Image getDownImage()
      Returns:
      the image for the "down" button
    • setDownImage

      public DLConfiguration setDownImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "down" button to set
    • getLeftImage

      public org.eclipse.swt.graphics.Image getLeftImage()
      Returns:
      the image for the "left" button
    • setLeftImage

      public DLConfiguration setLeftImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "left" button to set
    • getUpImage

      public org.eclipse.swt.graphics.Image getUpImage()
      Returns:
      the image for the "up" button
    • setUpImage

      public DLConfiguration setUpImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "up" button to set
    • getRightImage

      public org.eclipse.swt.graphics.Image getRightImage()
      Returns:
      the image for the "right" button
    • setRightImage

      public DLConfiguration setRightImage​(org.eclipse.swt.graphics.Image image)
      Parameters:
      image - the image for the "right" button to set
    • isDoubleRightVisible

      public boolean isDoubleRightVisible()
      Returns:
      true if the "double right" button is visible, false otherwise
    • setDoubleRightVisible

      public DLConfiguration setDoubleRightVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "double right" button
    • isDoubleLeftVisible

      public boolean isDoubleLeftVisible()
      Returns:
      true if the "double left" button is visible, false otherwise
    • setDoubleLeftVisible

      public DLConfiguration setDoubleLeftVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "double left" button
    • isDoubleUpVisible

      public boolean isDoubleUpVisible()
      Returns:
      true if the "double up" button is visible, false otherwise
    • setDoubleUpVisible

      public DLConfiguration setDoubleUpVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "double up" button
    • isUpVisible

      public boolean isUpVisible()
      Returns:
      true if the "up" button is visible, false otherwise
    • setUpVisible

      public DLConfiguration setUpVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "up" button
    • isDoubleDownVisible

      public boolean isDoubleDownVisible()
      Returns:
      true if the "double down" button is visible, false otherwise
    • setDoubleDownVisible

      public DLConfiguration setDoubleDownVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "double down" button
    • isDownVisible

      public boolean isDownVisible()
      Returns:
      true if the "down" button is visible, false otherwise
    • setDownVisible

      public DLConfiguration setDownVisible​(boolean visible)
      Parameters:
      visible - the visibility of the "down" button
    • getItemsForegroundColor

      public org.eclipse.swt.graphics.Color getItemsForegroundColor()
      Returns:
      the foreground color of the items panel
    • setItemsForegroundColor

      public DLConfiguration setItemsForegroundColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the foreground color of the items panel to set
      Returns:
    • getSelectionForegroundColor

      public org.eclipse.swt.graphics.Color getSelectionForegroundColor()
      Returns:
      the foreground color of the items panel
    • setSelectionForegroundColor

      public DLConfiguration setSelectionForegroundColor​(org.eclipse.swt.graphics.Color color)
      Parameters:
      color - the foreground color of the selection panel to set
      Returns: