|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.CellBinding
public class CellBinding
Defines the per cell binding. A cell can be bound to a static text, a column, a formula.
| 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 |
DETAIL
Cell binding: normal binding in a cell. |
static int |
GROUP
Cell binding: group binding in a cell. |
static int |
SUMMARY
Cell binding: summary binding in a cell. |
static int |
UNKNOWN
Cell binding: unknow type in a cell. |
| Constructor Summary | |
|---|---|
CellBinding()
Default constructor. |
|
CellBinding(int type,
String value)
Create a binding with specified type. |
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of the object. |
boolean |
equals(Object obj)
Check the obj is eqauls with this object or not. |
boolean |
equalsContent(Object obj)
Check the obj is eqauls with this object or not. |
int |
getBType()
Get cell binding structure type. |
int |
getType()
Get cell binding type. |
String |
getValue()
Get the binding value. |
int |
hashCode()
|
boolean |
isAsGroup()
Check value is as group. |
boolean |
isEmpty()
Check if current binding is empty, which means no value. |
protected void |
parseAttributes(Element tag)
|
protected void |
parseContents(Element tag)
|
void |
parseXML(Element tag)
Parse xml data into object. |
void |
setAsGroup(boolean asGroup)
Set value as group. |
void |
setBType(int btype)
Set cell binding structure type. |
void |
setFormula(String formula)
Set the formula field when the formula is generated by the column binding. |
void |
setType(int type)
Set cell binding type. |
void |
setValue(String value)
Set the value of the binding. |
String |
toString()
|
protected void |
writeAttributes(PrintWriter writer)
|
protected void |
writeContents(PrintWriter writer)
|
void |
writeXML(PrintWriter writer)
Write data into xml format. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, 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 UNKNOWN
public static final int GROUP
public static final int DETAIL
public static final int SUMMARY
| Constructor Detail |
|---|
public CellBinding()
public CellBinding(int type,
String value)
type - one of the binding types, e.g. BIND_COLUMN.value - the binding value. See getValue().| Method Detail |
|---|
public int getType()
public void setType(int type)
type - one of the binding types, e.g. BIND_COLUMN.public int getBType()
public void setBType(int btype)
type - GROUP, DETAIL, or SUMMARY.public boolean isAsGroup()
public void setAsGroup(boolean asGroup)
public String getValue()
public void setValue(String value)
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializableprotected void writeAttributes(PrintWriter writer)
protected void writeContents(PrintWriter writer)
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableException
protected void parseAttributes(Element tag)
throws Exception
Exception
protected void parseContents(Element tag)
throws Exception
Exceptionpublic boolean isEmpty()
public Object clone()
clone in class Objectpublic boolean equalsContent(Object obj)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic void setFormula(String formula)
|
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 | ||||||||