public static class Table.Column extends java.lang.Object implements Component.HasXmlDescriptor, Component.HasCaption, Component.HasFormatter
Constructor and Description |
---|
Column(java.lang.Class<? extends Entity> entityClass,
java.lang.String propertyPath) |
Column(java.lang.Object id) |
Column(java.lang.Object id,
java.lang.String caption) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
AggregationInfo |
getAggregation() |
Table.ColumnAlignment |
getAlignment() |
java.lang.String |
getCaption() |
java.lang.String |
getDescription() |
Formatter |
getFormatter() |
java.lang.Object |
getId() |
java.lang.Integer |
getMaxTextLength() |
Table |
getOwner() |
java.lang.Class |
getType() |
java.lang.String |
getValueDescription() |
java.lang.Integer |
getWidth() |
org.dom4j.Element |
getXmlDescriptor() |
int |
hashCode() |
boolean |
isCalculatable() |
boolean |
isCollapsed() |
java.lang.Boolean |
isEditable() |
boolean |
isGroupAllowed() |
boolean |
isSortable() |
void |
setAggregation(AggregationInfo aggregation) |
void |
setAlignment(Table.ColumnAlignment alignment) |
void |
setCalculatable(boolean calculatable) |
void |
setCaption(java.lang.String caption) |
void |
setCollapsed(boolean collapsed) |
void |
setDescription(java.lang.String description) |
void |
setEditable(java.lang.Boolean editable) |
void |
setFormatter(Formatter formatter) |
void |
setGroupAllowed(boolean groupAllowed) |
void |
setMaxTextLength(java.lang.Integer maxTextLength) |
void |
setOwner(Table owner) |
void |
setSortable(boolean sortable) |
void |
setType(java.lang.Class type) |
void |
setValueDescription(java.lang.String valueDescription) |
void |
setWidth(java.lang.Integer width) |
void |
setXmlDescriptor(org.dom4j.Element element) |
java.lang.String |
toString() |
public Column(java.lang.Object id)
public Column(java.lang.Object id, java.lang.String caption)
public Column(java.lang.Class<? extends Entity> entityClass, java.lang.String propertyPath)
public java.lang.Object getId()
public java.lang.String getCaption()
getCaption
in interface Component.HasCaption
public void setCaption(java.lang.String caption)
setCaption
in interface Component.HasCaption
public java.lang.String getDescription()
getDescription
in interface Component.HasCaption
public void setDescription(java.lang.String description)
setDescription
in interface Component.HasCaption
public java.lang.String getValueDescription()
public void setValueDescription(java.lang.String valueDescription)
public java.lang.Boolean isEditable()
public void setEditable(java.lang.Boolean editable)
public java.lang.Class getType()
public void setType(java.lang.Class type)
public Formatter getFormatter()
getFormatter
in interface Component.HasFormatter
public void setFormatter(Formatter formatter)
setFormatter
in interface Component.HasFormatter
public Table.ColumnAlignment getAlignment()
public void setAlignment(Table.ColumnAlignment alignment)
public java.lang.Integer getWidth()
public void setWidth(java.lang.Integer width)
public boolean isCollapsed()
public void setCollapsed(boolean collapsed)
public boolean isGroupAllowed()
public void setGroupAllowed(boolean groupAllowed)
public boolean isSortable()
public void setSortable(boolean sortable)
public AggregationInfo getAggregation()
public void setAggregation(AggregationInfo aggregation)
public boolean isCalculatable()
public void setCalculatable(boolean calculatable)
public java.lang.Integer getMaxTextLength()
public void setMaxTextLength(java.lang.Integer maxTextLength)
public Table getOwner()
public void setOwner(Table owner)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public org.dom4j.Element getXmlDescriptor()
getXmlDescriptor
in interface Component.HasXmlDescriptor
public void setXmlDescriptor(org.dom4j.Element element)
setXmlDescriptor
in interface Component.HasXmlDescriptor
public java.lang.String toString()
toString
in class java.lang.Object