public class DLItem extends OpalItem
Modifier and Type | Class and Description |
---|---|
static class |
DLItem.LAST_ACTION |
Constructor and 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
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
DLItem.LAST_ACTION |
getLastAction() |
void |
setHeight(int height) |
void |
setLastAction(DLItem.LAST_ACTION lastAction) |
getBackground, getData, getData, getFont, getForeground, getImage, getText, setBackground, setData, setData, setFont, setForeground, setImage, setText
public DLItem(java.lang.String text)
text
- the text displayed in the DualList widget for this itempublic DLItem(java.lang.String text, org.eclipse.swt.graphics.Image image)
text
- the text displayed in the DualList widget for this itemimage
- the image displayed in the DualList widget for this itempublic DLItem(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font, org.eclipse.swt.graphics.Color foregroundColor)
text
- the text displayed in the DualList widget for this itemimage
- the image displayed in the DualList widget for this itemfont
- the font displayed in the DualList widget for this itemforegroundColor
- the foreground color displayed in the DualList widget
for this itempublic DLItem(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Color foregroundColor, org.eclipse.swt.graphics.Color backgroundColor)
text
- the text displayed in the DualList widget for this itemimage
- the image displayed in the DualList widget for this itemforegroundColor
- the foreground color displayed in the DualList widget
for this itembackgroundColor
- the background color displayed in the DualList widget
for this itempublic DLItem(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Font font)
text
- the text displayed in the DualList widget for this itemimage
- the image displayed in the DualList widget for this itemfont
- the font displayed in the DualList widget for this itempublic int getHeight()
getHeight
in class OpalItem
OpalItem.getHeight()
public void setHeight(int height)
setHeight
in class OpalItem
height
- set the height of this itemOpalItem.setHeight(int)
public DLItem.LAST_ACTION getLastAction()
public void setLastAction(DLItem.LAST_ACTION lastAction)
lastAction
- the last action performed on this DLItem