|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.ColumnMatching
public class ColumnMatching
Define a column width matching to another table.
| Constructor Summary | |
|---|---|
ColumnMatching()
Create an empty object. |
|
ColumnMatching(String elemid)
Create a column mapping to another table element. |
|
| Method Summary | |
|---|---|
void |
addEntry(int[] cols,
int[] targetCols)
Add an entry to the column mapping. |
Object |
clone()
Make a copy of the object. |
int[] |
getColumns(int idx)
Get the columns of the current table in the mapping. |
int |
getEntryCount()
Get the number of mapping entries. |
String |
getTableElementID()
Get the target element ID. |
int[] |
getTargetColumns(int idx)
Get the columns of the target table in the mapping. |
void |
parseXML(Element tag)
Method to parse an xml segment. |
void |
removeAllEntries()
Remove all mapping entries. |
void |
removeEntry(int idx)
Delete the specified entry. |
void |
setTableElementID(String id)
Set the target element ID. |
void |
validate()
Check if the column mapping are in proper order. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnMatching()
public ColumnMatching(String elemid)
elemid - table element id.| Method Detail |
|---|
public String getTableElementID()
public void setTableElementID(String id)
id - target table element ID.public int getEntryCount()
public void addEntry(int[] cols,
int[] targetCols)
cols - columns in the source table.public void removeEntry(int idx)
public void removeAllEntries()
public int[] getColumns(int idx)
idx - index of the mapping entry.public int[] getTargetColumns(int idx)
idx - index of the mapping entry.
public void validate()
throws Exception
throws - exception if the mapping is not valid.
Exceptionpublic Object clone()
clone in class Objectpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableException
|
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 | ||||||||