info.magnolia.cms.gui.controlx.list
Class ListColumn
java.lang.Object
info.magnolia.cms.gui.controlx.impl.AbstractControl
info.magnolia.cms.gui.controlx.list.ListColumn
- All Implemented Interfaces:
- Control
public class ListColumn
- extends AbstractControl
This represents a column in a list.
- Version:
- $Revision$ ($Author$)
- Author:
- Philipp Bracher
Methods inherited from class info.magnolia.cms.gui.controlx.impl.AbstractControl |
addChild, getChild, getChildren, getName, getParent, getRenderer, getRenderKit, getRenderType, removeAllChildren, removeChild, render, setName, setParent, setRenderer, setRenderKit, setRenderType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RENDER_TYPE
public static final String RENDER_TYPE
- See Also:
- Constant Field Values
ListColumn
public ListColumn()
- Empty Constructor. Used for anonymous classes.
ListColumn
public ListColumn(String columnName,
String label,
String width,
boolean separator)
- Create a new column.
- Parameters:
columnName
- label
- width
- separator
-
getListControl
public ListControl getListControl()
- Get the list control this column belongs to.
- Returns:
- the list control
getLabel
public String getLabel()
- Returns:
- Returns the label.
setLabel
public void setLabel(String label)
- Parameters:
label
- The label to set.
isSeparator
public boolean isSeparator()
- Returns:
- Returns the separator.
setSeparator
public void setSeparator(boolean separator)
- Parameters:
separator
- The separator to set.
getWidth
public String getWidth()
- Returns:
- Returns the width.
setWidth
public void setWidth(String width)
- Parameters:
width
- The width to set.
getValue
public Object getValue()
- Called by the renderer
- Returns:
- the object to render
getColumnName
public String getColumnName()
- Returns:
- Returns the columnName.
setColumnName
public void setColumnName(String columnName)
- Parameters:
columnName
- The columnName to set.
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.