public abstract class ListViewColumn extends Object implements ExtensionPoint, Describable<ListViewColumn>
Items, such as ListView.
This object must have the column.jelly. This view
is called for each cell of this column. The Item object
is passed in the "job" variable. The view should render
the <td> tag.
This object may have an additional columHeader.jelly. The default ColmnHeader
will render getColumnCaption().
If you opt to be shown by default, there also must be a default constructor, which is invoked to create a list view column in the default configuration.
Originally, this extension point was designed for ListView, but since then
it has grown to be applicable to other Views and ItemGroups that render
a collection of Items in a tabular format.
ListViewColumnDescriptorExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_COLUMNS_ORDINAL_ACTIONS_END |
static double |
DEFAULT_COLUMNS_ORDINAL_ACTIONS_START |
static double |
DEFAULT_COLUMNS_ORDINAL_ICON_END |
static double |
DEFAULT_COLUMNS_ORDINAL_ICON_START |
static double |
DEFAULT_COLUMNS_ORDINAL_PROPERTIES_END |
static double |
DEFAULT_COLUMNS_ORDINAL_PROPERTIES_START |
static DescriptorList<ListViewColumn> |
LIST
|
| Constructor and Description |
|---|
ListViewColumn() |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorExtensionList<ListViewColumn,Descriptor<ListViewColumn>> |
all()
Returns all the registered
ListViewColumn descriptors. |
static List<ListViewColumn> |
createDefaultInitialColumnList()
Creates the list of
ListViewColumns to be used for newly created ListViews and their likes. |
String |
getColumnCaption()
Returns the name of the column that explains what this column means
|
Descriptor<ListViewColumn> |
getDescriptor()
For compatibility reason, this method may not return a
ListViewColumnDescriptor
and instead return a plain Descriptor instance. |
boolean |
shownByDefault()
Deprecated.
as of 1.342.
Use
ListViewColumnDescriptor.shownByDefault() |
@Deprecated public static final DescriptorList<ListViewColumn> LIST
ListViewColumns.public static final double DEFAULT_COLUMNS_ORDINAL_ICON_START
public static final double DEFAULT_COLUMNS_ORDINAL_ICON_END
public static final double DEFAULT_COLUMNS_ORDINAL_PROPERTIES_START
public static final double DEFAULT_COLUMNS_ORDINAL_PROPERTIES_END
public static final double DEFAULT_COLUMNS_ORDINAL_ACTIONS_START
public static final double DEFAULT_COLUMNS_ORDINAL_ACTIONS_END
@Exported public String getColumnCaption()
public static DescriptorExtensionList<ListViewColumn,Descriptor<ListViewColumn>> all()
ListViewColumn descriptors.@Deprecated public boolean shownByDefault()
ListViewColumnDescriptor.shownByDefault()public Descriptor<ListViewColumn> getDescriptor()
ListViewColumnDescriptor
and instead return a plain Descriptor instance.getDescriptor in interface Describable<ListViewColumn>public static List<ListViewColumn> createDefaultInitialColumnList()
ListViewColumns to be used for newly created ListViews and their likes.Copyright © 2019. All rights reserved.