|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.dialogs.sortfilter.SortFilterCollectionColumn
Wrapper for creating TableColumn column information.
| Constructor Summary | |
SortFilterCollectionColumn(java.lang.String caption)
Constructor for the SortFilterCollectionColumn. |
|
SortFilterCollectionColumn(java.lang.String caption,
int alignment,
int width,
ViewerSorter sorter)
SortFilterCollectionColumn constructor with the specified column attributes. |
|
SortFilterCollectionColumn(java.lang.String caption,
ViewerSorter sorter)
Constructor for the SortFilterCollectionColumn. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Uses the getCaption() to compare the equalvalence of the objects. |
int |
getAlignment()
Gets the horizontal alignment type |
java.lang.String |
getCaption()
Gets the column's display name |
ViewerSorter |
getColumnSorter()
Returns a sorter which will sort the table by this column. |
int |
getWidth()
Gets the width column's width. |
int |
hashCode()
|
boolean |
isResizable()
Determines if column is resizable |
void |
setAlignment(int alignment)
Sets the horizontal alignment type. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SortFilterCollectionColumn(java.lang.String caption)
SortFilterCollectionColumn. All instances
must have a column label.
caption - the column caption
public SortFilterCollectionColumn(java.lang.String caption,
ViewerSorter sorter)
SortFilterCollectionColumn.
caption - the column captionsorter - the sorter
public SortFilterCollectionColumn(java.lang.String caption,
int alignment,
int width,
ViewerSorter sorter)
caption - the column namealignment - the column's alignmentwidth - the column's width in pixelssorter - the sorter| Method Detail |
public java.lang.String getCaption()
public int getAlignment()
public int getWidth()
public void setAlignment(int alignment)
alignment - the horizontal alignment typepublic boolean isResizable()
true if column is resizable, otherwise falsepublic ViewerSorter getColumnSorter()
ViewerSorter which knows how to sort the Table
by this column.public boolean equals(java.lang.Object obj)
SortFilterCollectionColumn have the same name.Object.equals(Object)public int hashCode()
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.