|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.views.ListViewColumn
public abstract class ListViewColumn
Extension point for adding a column to a table rendering of 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 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 View
s and ItemGroup
s that render
a collection of Item
s in a tabular format.
ListViewColumnDescriptor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary | |
---|---|
static DescriptorList<ListViewColumn> |
LIST
Deprecated. as of 1.281 Use all() for read access and Extension for registration. |
Constructor Summary | |
---|---|
ListViewColumn()
|
Method Summary | |
---|---|
static DescriptorExtensionList<ListViewColumn,Descriptor<ListViewColumn>> |
all()
Returns all the registered ListViewColumn descriptors. |
static List<ListViewColumn> |
createDefaultInitialColumnList()
Creates the list of ListViewColumn s to be used for newly created 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() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DescriptorList<ListViewColumn> LIST
all()
for read access and Extension
for registration.ListViewColumn
s.
Constructor Detail |
---|
public ListViewColumn()
Method Detail |
---|
@Exported public String getColumnCaption()
public static DescriptorExtensionList<ListViewColumn,Descriptor<ListViewColumn>> all()
ListViewColumn
descriptors.
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()
ListViewColumn
s to be used for newly created ListView
s and their likes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |