Constructor and Description |
---|
FieldId()
Create a new instance of the receiver.
|
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) |
boolean |
isShowing()
Return whether not the receiver is showing.
|
void |
setShowing(boolean showing)
Set whether or not the receiver is showing.
|
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
public boolean isShowing()
IField
public void setShowing(boolean showing)
IField
setShowing
in interface IField