|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cafesip.gwtcomp.client.ui.ColumnProperty
public class ColumnProperty
Helper class for the SuperTable class.
| Constructor Summary | |
|---|---|
ColumnProperty(String header,
Comparator<Widget[]> ascendingSortComparator,
Comparator<Widget[]> descendingSortComparator)
A constructor for this class. |
|
| Method Summary | |
|---|---|
Comparator<Widget[]> |
getAscendingSortComparator()
Returns the ascendingSortComparator. |
Comparator<Widget[]> |
getDescendingSortComparator()
Returns the descendingSortComparator. |
String |
getHeader()
Returns the column header. |
HasHorizontalAlignment.HorizontalAlignmentConstant |
getHorizontalAlignment()
|
HasVerticalAlignment.VerticalAlignmentConstant |
getVerticalAlignment()
|
String |
getWidth()
|
boolean |
isDisplayed()
|
boolean |
isSelected()
|
void |
setDisplayed(boolean displayed)
|
void |
setHorizontalAlignment(HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlignment)
|
void |
setSelected(boolean selected)
|
void |
setVerticalAlignment(HasVerticalAlignment.VerticalAlignmentConstant verticalAlignment)
|
void |
setWidth(String width)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnProperty(String header,
Comparator<Widget[]> ascendingSortComparator,
Comparator<Widget[]> descendingSortComparator)
header - column header.ascendingSortComparator - ascending comparator class for the column. If this value is
set to null, the "ascending sort" icon is not displayed.descendingSortComparator - descending comparator class for the column. If this value is
set to null, the "descending sort" icon is not displayed.| Method Detail |
|---|
public Comparator<Widget[]> getAscendingSortComparator()
public String getHeader()
public Comparator<Widget[]> getDescendingSortComparator()
public boolean isDisplayed()
public void setDisplayed(boolean displayed)
public String getWidth()
public void setWidth(String width)
width - The width to set.public boolean isSelected()
public void setSelected(boolean selected)
selected - The selected to set.public HasHorizontalAlignment.HorizontalAlignmentConstant getHorizontalAlignment()
public void setHorizontalAlignment(HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlignment)
horizontalAlignment - The horizontalAlignment to set.public HasVerticalAlignment.VerticalAlignmentConstant getVerticalAlignment()
public void setVerticalAlignment(HasVerticalAlignment.VerticalAlignmentConstant verticalAlignment)
verticalAlignment - The verticalAlignment to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||