public class FieldDummy extends AbstractField implements IField
Constructor and Description |
---|
FieldDummy() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2) |
org.eclipse.swt.graphics.Image |
getColumnHeaderImage() |
java.lang.String |
getColumnHeaderText() |
int |
getDefaultDirection()
Get the default direction for the receiver.
|
java.lang.String |
getDescription() |
org.eclipse.swt.graphics.Image |
getDescriptionImage() |
org.eclipse.swt.graphics.Image |
getImage(java.lang.Object obj) |
int |
getPreferredWidth()
Get the preferred width of the receiver.
|
java.lang.String |
getValue(java.lang.Object obj) |
isShowing, setShowing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isShowing, setShowing
public java.lang.String getDescription()
getDescription
in interface IField
public org.eclipse.swt.graphics.Image getDescriptionImage()
getDescriptionImage
in interface IField
null.
public java.lang.String getColumnHeaderText()
getColumnHeaderText
in interface IField
public org.eclipse.swt.graphics.Image getColumnHeaderImage()
getColumnHeaderImage
in interface IField
null.
public java.lang.String getValue(java.lang.Object obj)
public org.eclipse.swt.graphics.Image getImage(java.lang.Object obj)
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface IField
0
if the value of obj1 and the value of obj2 are equal for this field. public int getDefaultDirection()
IField
TableComparator.ASCENDING
or
TableComparator.DESCENDING
getDefaultDirection
in interface IField
public int getPreferredWidth()
IField
getPreferredWidth
in interface IField