Constructor and Description |
---|
FieldMarkerGroup(java.lang.String name,
java.lang.String identifier)
Create a new instance of the receiver called name with id identifier.
|
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() |
java.lang.String |
getId()
Return the id of the receiver.
|
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 |
mapAttribute(java.lang.String markerType,
java.lang.String attribute,
java.lang.String attributeValue,
MarkerGroupingEntry entry)
Add an attributeMapping for the markerType.
|
void |
remove(MarkerGroupingEntry entry)
Remove the entry from all of the entries in the receiver.
|
void |
setAsDefault(java.lang.String markerType,
MarkerGroupingEntry entry)
Set entry and the default entry for the supplied markerType.
|
void |
setShowing(boolean showing)
Set whether or not the receiver is showing.
|
public FieldMarkerGroup(java.lang.String name, java.lang.String identifier)
name
- identifier
- 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
public void setAsDefault(java.lang.String markerType, MarkerGroupingEntry entry)
markerType
- entry
- public void mapAttribute(java.lang.String markerType, java.lang.String attribute, java.lang.String attributeValue, MarkerGroupingEntry entry)
markerType
- attribute
- attributeValue
- entry
- public java.lang.String getId()
public void remove(MarkerGroupingEntry entry)
entry
-