public abstract class ListViewColumn extends Object implements ExtensionPoint, Describable<ListViewColumn>
Item
s, 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 columnHeader.jelly
. The default ColumnHeader
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 View
s and ItemGroup
s that render
a collection of Item
s in a tabular format.
ListViewColumnDescriptor
ExtensionPoint.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()
Deprecated.
|
static List<ListViewColumn> |
createDefaultInitialColumnList(Class<? extends View> context)
Creates the list of
ListViewColumn s to be used for newly created ListView s and their likes. |
static List<ListViewColumn> |
createDefaultInitialColumnList(View view)
Creates the list of
ListViewColumn s to be used for a ListView s 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
ListViewColumn
s.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>
@Deprecated public static List<ListViewColumn> createDefaultInitialColumnList()
createDefaultInitialColumnList(Class)
ListViewColumn
s to be used for newly created ListView
s and their likes.public static List<ListViewColumn> createDefaultInitialColumnList(Class<? extends View> context)
ListViewColumn
s to be used for newly created ListView
s and their likes.ListView.initColumns()
public static List<ListViewColumn> createDefaultInitialColumnList(View view)
ListViewColumn
s to be used for a ListView
s and their likes.View.getColumns()
Copyright © 2004–2021. All rights reserved.