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.Image
getDoubleDownImage()
org.eclipse.swt.graphics.Image
getDoubleLeftImage()
org.eclipse.swt.graphics.Image
getDoubleRightImage()
org.eclipse.swt.graphics.Image
getDoubleUpImage()
org.eclipse.swt.graphics.Image
getDownImage()
org.eclipse.swt.graphics.Color
getItemsBackgroundColor()
org.eclipse.swt.graphics.Color
getItemsForegroundColor()
org.eclipse.swt.graphics.Color
getItemsOddLinesColor()
int
getItemsTextAlignment()
org.eclipse.swt.graphics.Image
getLeftImage()
org.eclipse.swt.graphics.Image
getRightImage()
org.eclipse.swt.graphics.Color
getSelectionBackgroundColor()
org.eclipse.swt.graphics.Color
getSelectionForegroundColor()
org.eclipse.swt.graphics.Color
getSelectionOddLinesColor()
int
getSelectionTextAlignment()
org.eclipse.swt.graphics.Image
getUpImage()
boolean
isDoubleDownVisible()
boolean
isDoubleLeftVisible()
boolean
isDoubleRightVisible()
boolean
isDoubleUpVisible()
boolean
isDownVisible()
boolean
isUpVisible()
DLConfiguration
setDoubleDownImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setDoubleDownVisible(boolean visible)
DLConfiguration
setDoubleLeftImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setDoubleLeftVisible(boolean visible)
DLConfiguration
setDoubleRightImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setDoubleRightVisible(boolean visible)
DLConfiguration
setDoubleUpImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setDoubleUpVisible(boolean visible)
DLConfiguration
setDownImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setDownVisible(boolean visible)
DLConfiguration
setItemsBackgroundColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setItemsForegroundColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setItemsOddLinesColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setItemsTextAlignment(int alignment)
DLConfiguration
setLeftImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setRightImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setSelectionBackgroundColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setSelectionForegroundColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setSelectionOddLinesColor(org.eclipse.swt.graphics.Color color)
DLConfiguration
setSelectionTextAlignment(int alignment)
DLConfiguration
setUpImage(org.eclipse.swt.graphics.Image image)
DLConfiguration
setUpVisible(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:
true
if the "double right" button is visible,false
otherwise
-
setDoubleRightVisible
- 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
- 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
- Parameters:
visible
- the visibility of the "double up" button
-
isUpVisible
public boolean isUpVisible()- Returns:
true
if the "up" button is visible,false
otherwise
-
setUpVisible
- Parameters:
visible
- the visibility of the "up" button
-
isDoubleDownVisible
public boolean isDoubleDownVisible()- Returns:
true
if the "double down" button is visible,false
otherwise
-
setDoubleDownVisible
- Parameters:
visible
- the visibility of the "double down" button
-
isDownVisible
public boolean isDownVisible()- Returns:
true
if the "down" button is visible,false
otherwise
-
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:
-