|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.table.Entry
public class Entry
This class implements a table entry for different types. A table entry can be
styled and setting there column dimensions. The default value for the column
dimension is 1. To declare the type of the entry use the public
TYPE_
definitions.
Field Summary | |
---|---|
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 Summary | |
---|---|
Entry()
The empty constructor. |
|
Entry(int type,
Object value,
String key)
A constructor setting the type and the value. |
Method Summary | |
---|---|
int |
getColSpan()
|
String |
getKey()
|
Style |
getStyle()
|
int |
getType()
|
Object |
getValue()
|
boolean |
isNoWrap()
|
void |
setColSpan(int colSpan)
|
void |
setKey(String key)
|
void |
setNoWrap(boolean noWrap)
|
void |
setStyle(Style style)
|
void |
setType(int type)
|
void |
setValue(Object value)
|
String |
toString()
The toString method, used for tests or debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_CAPTION
public static final int TYPE_VALUE
public static final int TYPE_IMAGE
public static final int TYPE_TABLE
Constructor Detail |
---|
public Entry()
public Entry(int type, Object value, String key)
type
- the entry type to setvalue
- the entry value to setMethod Detail |
---|
public 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 Object getValue()
public void setValue(Object value)
value
- The value to set.public String getKey()
public void setKey(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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |