|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.components.list.StandardListComponent
public class StandardListComponent
Standard ListComponent implementation.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_IGNORE_WIDTH
|
static java.lang.String |
PROPERTY_PRINT_ORDER
|
| Constructor Summary | |
|---|---|
StandardListComponent()
|
|
StandardListComponent(ListComponent list,
JRBaseObjectFactory baseFactory)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
ListContents |
getContents()
Returns the list item contents. |
JRDatasetRun |
getDatasetRun()
Returns the subdataset run information that will be used by this list. |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
java.lang.Boolean |
getIgnoreWidth()
Returns the flag that determines whether the element width is to be ignored when filling this list. |
java.lang.Byte |
getPrintOrder()
Deprecated. Replaced by getPrintOrderValue(). |
PrintOrderEnum |
getPrintOrderValue()
Returns the print order of the list cells. |
void |
setContents(ListContents contents)
Sets the list item contents. |
void |
setDatasetRun(JRDatasetRun datasetRun)
Sets the subdataset run information that will be used by this list. |
void |
setIgnoreWidth(boolean ignoreWidth)
Sets the list ignore width flag. |
void |
setIgnoreWidth(java.lang.Boolean ignoreWidth)
Sets the list ignore width flag. |
void |
setPrintOrder(byte printOrder)
Deprecated. Replaced by setPrintOrderValue(PrintOrderEnum). |
void |
setPrintOrder(java.lang.Byte printOrder)
Deprecated. Replaced by setPrintOrderValue(PrintOrderEnum). |
void |
setPrintOrderValue(PrintOrderEnum printOrderValue)
Sets the list cell print order. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_PRINT_ORDER
public static final java.lang.String PROPERTY_IGNORE_WIDTH
| Constructor Detail |
|---|
public StandardListComponent()
public StandardListComponent(ListComponent list,
JRBaseObjectFactory baseFactory)
| Method Detail |
|---|
public JRDatasetRun getDatasetRun()
ListComponentThis information is required to instantiate a subdataset from the report. The data produced by the subdataset is fed to the list item contents.
getDatasetRun in interface ListComponentpublic void setDatasetRun(JRDatasetRun datasetRun)
datasetRun - the subdataset run informationgetDatasetRun()public ListContents getContents()
ListComponentEach record produced by the list subdataset is used to fill the list item contents and the result is included in the generated report.
getContents in interface ListComponentpublic void setContents(ListContents contents)
contents - the list item contentsgetContents()public java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Objectpublic java.lang.Byte getPrintOrder()
getPrintOrderValue().
getPrintOrder in interface ListComponentpublic PrintOrderEnum getPrintOrderValue()
ListComponentThe list cells can be either printed vertically one beneath another (on a single column), or horizontally on rows of 2 or more columns.
The default print order (used when no explicit order has been set) is vertical.
getPrintOrderValue in interface ListComponentListContents.getWidth()public void setPrintOrder(java.lang.Byte printOrder)
setPrintOrderValue(PrintOrderEnum).
public void setPrintOrder(byte printOrder)
setPrintOrderValue(PrintOrderEnum).
public void setPrintOrderValue(PrintOrderEnum printOrderValue)
printOrderValue - the cell print oder, null or one of
getPrintOrderValue()public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport in interface JRChangeEventsSupportpublic java.lang.Boolean getIgnoreWidth()
ListComponentThis flag only applies to horizontally filled reports. If the flag is set, the list will be filled on a single row.
By default, the flag is not set.
getIgnoreWidth in interface ListComponentListComponent.getPrintOrder(),
JRCrosstab.setIgnoreWidth(Boolean)public void setIgnoreWidth(java.lang.Boolean ignoreWidth)
ignoreWidth - the ignore width flagpublic void setIgnoreWidth(boolean ignoreWidth)
ignoreWidth - the ignore width flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||