public class Entry
extends java.lang.Object
implements java.io.Serializable
TYPE_
definitions.Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CAPTION
Type for a text entry.
|
static int |
TYPE_IMAGE
Type for an image entry.
|
static int |
TYPE_TABLE
Type for a table entry.
|
static int |
TYPE_VALUE
Type for a text entry.
|
Constructor and Description |
---|
Entry()
The empty constructor.
|
Entry(int type,
java.lang.Object value,
java.lang.String key)
A constructor setting the type and the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getColSpan() |
java.lang.String |
getKey() |
Style |
getStyle() |
int |
getType() |
java.lang.Object |
getValue() |
boolean |
isNoWrap() |
void |
setColSpan(int colSpan) |
void |
setKey(java.lang.String key) |
void |
setNoWrap(boolean noWrap) |
void |
setStyle(Style style) |
void |
setType(int type) |
void |
setValue(java.lang.Object value) |
java.lang.String |
toString()
The toString method, used for tests or debugging.
|
public static final int TYPE_CAPTION
public static final int TYPE_VALUE
public static final int TYPE_IMAGE
public static final int TYPE_TABLE
public Entry()
public Entry(int type, java.lang.Object value, java.lang.String key)
type
- the entry type to setvalue
- the entry value to setpublic Style getStyle()
public void setStyle(Style style)
style
- The style to set.public int getType()
public void setType(int type)
type
- The type to set.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- The value to set.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key to set.public int getColSpan()
public void setColSpan(int colSpan)
colSpan
- The colSpan to set.public boolean isNoWrap()
public void setNoWrap(boolean noWrap)
noWrap
- The wrap indicator to set.public java.lang.String toString()
toString
in class java.lang.Object