|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.extensions.markup.html.tree.table.AbstractColumn
wicket.extensions.markup.html.tree.table.AbstractTreeColumn
wicket.extensions.markup.html.tree.table.PropertyTreeColumn
TreeColumn class that uses a property expression to get the value from the node.
| Constructor Summary | |
PropertyTreeColumn(ColumnLocation location,
java.lang.String header,
java.lang.String propertyExpression)
Creates the columns. |
|
| Method Summary | |
wicket.util.convert.IConverter |
getConverter()
Returns the converter or null if no converter is specified. |
java.util.Locale |
getLocale()
Returns the locale or null if no locale is specified. |
java.lang.String |
renderNode(javax.swing.tree.TreeNode node)
Returns the string representation of the node. |
void |
setConverter(wicket.util.convert.IConverter converter)
By default the property is converted to string using toString method. |
void |
setLocale(java.util.Locale locale)
Sets the locale to be used as parameter for custom converter (if one is specified). |
| Methods inherited from class wicket.extensions.markup.html.tree.table.AbstractTreeColumn |
newCell, newCell |
| Methods inherited from class wicket.extensions.markup.html.tree.table.AbstractColumn |
getLocation, getSpan, getTreeTable, isVisible, newHeader, setTreeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyTreeColumn(ColumnLocation location,
java.lang.String header,
java.lang.String propertyExpression)
location - Specifies how the column should be aligned and what his size
should beheader - Header captionpropertyExpression - Expression for property access| Method Detail |
public wicket.util.convert.IConverter getConverter()
public java.util.Locale getLocale()
public java.lang.String renderNode(javax.swing.tree.TreeNode node)
AbstractTreeColumn
renderNode in class AbstractTreeColumnnode - The node
AbstractTreeColumn.renderNode(TreeNode)public void setConverter(wicket.util.convert.IConverter converter)
toString method. If you want to alter this behavior, you
can specify a custom converter.
converter - Any converterpublic void setLocale(java.util.Locale locale)
locale - The locale
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||