|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.ui.viewers.TableColumnInfo
public class TableColumnInfo
Instances of this class provide necessary metadata for the creation of a table column within table viewer.
| Constructor Summary | |
|---|---|
TableColumnInfo(String name,
float defaultWidthPercent,
Comparator<Object> comparator)
Create a new table column info |
|
TableColumnInfo(String name,
float defaultWidthPercent,
int alignment,
Comparator<Object> comparator)
Create a new table column info |
|
| Method Summary | |
|---|---|
int |
getAlignment()
|
Comparator<Object> |
getComparator()
|
float |
getDefaultWidthPercent()
|
String |
getName()
|
void |
setAlignment(int alignment)
|
void |
setComparator(Comparator<Object> comparator)
|
void |
setDefaultWidthPercent(float weight)
|
void |
setName(String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableColumnInfo(String name,
float defaultWidthPercent,
Comparator<Object> comparator)
name - defaultWidthPercent - comparator -
public TableColumnInfo(String name,
float defaultWidthPercent,
int alignment,
Comparator<Object> comparator)
name - defaultWidthPercent - comparator - | Method Detail |
|---|
public int getAlignment()
public Comparator<Object> getComparator()
public float getDefaultWidthPercent()
public String getName()
public void setAlignment(int alignment)
alignment - The alignment to set.public void setComparator(Comparator<Object> comparator)
comparator - The comparator to set.public void setDefaultWidthPercent(float weight)
defaultWidthPercent - The defaultWidthPercent to set.public void setName(String name)
name - The name to set.
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||