|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.BaseLayout
inetsoft.report.FreehandLayout
public class FreehandLayout
Define a freehand table layout where multiple rows in a table can be mapped to a single row in the raw data. Per-cell binding can be defined to display the data in any cell of the table instead of in strictly tabular rows. It also stored cell span information.
| Nested Class Summary | |
|---|---|
static class |
FreehandLayout.CellBinding
Defines the per cell binding. |
| Nested classes/interfaces inherited from class inetsoft.report.BaseLayout |
|---|
BaseLayout.Region |
| Field Summary | |
|---|---|
static int |
BIND_COLUMN
Cell binding: Bind to a column in the data table lens. |
static int |
BIND_FORMULA
Cell binding: Bind to a formula. |
static int |
BIND_TEXT
Cell binding: Static text in a cell. |
static int |
LAYOUT_ALL
Layout type for complete freehand cell layout. |
static int |
LAYOUT_HEADER
Layout type for header only layout. |
static int |
LAYOUT_IDENTICAL
Layout type for identical layout. |
| Fields inherited from class inetsoft.report.BaseLayout |
|---|
ncol, regions, spans |
| Constructor Summary | |
|---|---|
FreehandLayout()
Create an empty layout. |
|
FreehandLayout(TableLens table)
Create a layout that matches the table lens. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all settings in the layout. |
TableDataPath |
fixPathForRegion(TableDataPath path)
Fix the table data path for region data path. |
BaseLayout.Region |
getRegion(TableDataPath path)
Get the region defined for the data path. |
int |
getType()
Get the layout type. |
void |
parseXML(Element tag)
Parse xml data into object. |
void |
setType(int type)
Set the layout type. |
void |
updateRegions(TableLens table)
Create all regions that are currently not in the layout. |
void |
writeXML(PrintWriter writer)
Write layout to xml format. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BIND_TEXT
public static final int BIND_COLUMN
public static final int BIND_FORMULA
public static final int LAYOUT_IDENTICAL
public static final int LAYOUT_HEADER
public static final int LAYOUT_ALL
| Constructor Detail |
|---|
public FreehandLayout()
public FreehandLayout(TableLens table)
| Method Detail |
|---|
public void updateRegions(TableLens table)
public int getType()
public void setType(int type)
type - one of the defined layout types.public void clear()
clear in class BaseLayoutpublic BaseLayout.Region getRegion(TableDataPath path)
getRegion in class BaseLayoutpath - row data path.public void writeXML(PrintWriter writer)
public void parseXML(Element tag)
throws Exception
Exceptionpublic TableDataPath fixPathForRegion(TableDataPath path)
fixPathForRegion in class BaseLayout
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||