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 Summary
Constructors Constructor Description DLConfiguration() -
Method Summary
Modifier and Type Method Description org.eclipse.swt.graphics.ImagegetDoubleDownImage()org.eclipse.swt.graphics.ImagegetDoubleLeftImage()org.eclipse.swt.graphics.ImagegetDoubleRightImage()org.eclipse.swt.graphics.ImagegetDoubleUpImage()org.eclipse.swt.graphics.ImagegetDownImage()org.eclipse.swt.graphics.ColorgetItemsBackgroundColor()org.eclipse.swt.graphics.ColorgetItemsForegroundColor()org.eclipse.swt.graphics.ColorgetItemsOddLinesColor()intgetItemsTextAlignment()org.eclipse.swt.graphics.ImagegetLeftImage()org.eclipse.swt.graphics.ImagegetRightImage()org.eclipse.swt.graphics.ColorgetSelectionBackgroundColor()org.eclipse.swt.graphics.ColorgetSelectionForegroundColor()org.eclipse.swt.graphics.ColorgetSelectionOddLinesColor()intgetSelectionTextAlignment()org.eclipse.swt.graphics.ImagegetUpImage()booleanisDoubleDownVisible()booleanisDoubleLeftVisible()booleanisDoubleRightVisible()booleanisDoubleUpVisible()booleanisDownVisible()booleanisUpVisible()DLConfigurationsetDoubleDownImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetDoubleDownVisible(boolean visible)DLConfigurationsetDoubleLeftImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetDoubleLeftVisible(boolean visible)DLConfigurationsetDoubleRightImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetDoubleRightVisible(boolean visible)DLConfigurationsetDoubleUpImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetDoubleUpVisible(boolean visible)DLConfigurationsetDownImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetDownVisible(boolean visible)DLConfigurationsetItemsBackgroundColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetItemsForegroundColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetItemsOddLinesColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetItemsTextAlignment(int alignment)DLConfigurationsetLeftImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetRightImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetSelectionBackgroundColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetSelectionForegroundColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetSelectionOddLinesColor(org.eclipse.swt.graphics.Color color)DLConfigurationsetSelectionTextAlignment(int alignment)DLConfigurationsetUpImage(org.eclipse.swt.graphics.Image image)DLConfigurationsetUpVisible(boolean visible)
-
Constructor Details
-
DLConfiguration
public DLConfiguration()
-
-
Method Details
-
getItemsBackgroundColor
public org.eclipse.swt.graphics.Color getItemsBackgroundColor()- Returns:
- the background color of the items panel
-
setItemsBackgroundColor
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Parameters:
image- the image for the "right" button to set
-
isDoubleRightVisible
public boolean isDoubleRightVisible()- Returns:
trueif the "double right" button is visible,falseotherwise
-
setDoubleRightVisible
- Parameters:
visible- the visibility of the "double right" button
-
isDoubleLeftVisible
public boolean isDoubleLeftVisible()- Returns:
trueif the "double left" button is visible,falseotherwise
-
setDoubleLeftVisible
- Parameters:
visible- the visibility of the "double left" button
-
isDoubleUpVisible
public boolean isDoubleUpVisible()- Returns:
trueif the "double up" button is visible,falseotherwise
-
setDoubleUpVisible
- Parameters:
visible- the visibility of the "double up" button
-
isUpVisible
public boolean isUpVisible()- Returns:
trueif the "up" button is visible,falseotherwise
-
setUpVisible
- Parameters:
visible- the visibility of the "up" button
-
isDoubleDownVisible
public boolean isDoubleDownVisible()- Returns:
trueif the "double down" button is visible,falseotherwise
-
setDoubleDownVisible
- Parameters:
visible- the visibility of the "double down" button
-
isDownVisible
public boolean isDownVisible()- Returns:
trueif the "down" button is visible,falseotherwise
-
setDownVisible
- 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
- 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
- Parameters:
color- the foreground color of the selection panel to set- Returns:
-