|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.wing.element.AbstractWingElement
org.dspace.app.xmlui.wing.element.Table
public class Table
| Field Summary | |
|---|---|
static String |
A_COLS
The name of the cols attribute |
static String |
A_ROWS
The name of the rows attribute |
static String |
E_TABLE
The name of the table element |
| Fields inherited from class org.dspace.app.xmlui.wing.element.AbstractWingElement |
|---|
context |
| Fields inherited from interface org.dspace.app.xmlui.wing.element.StructuralElement |
|---|
A_ID, A_NAME, A_RENDER |
| Constructor Summary | |
|---|---|
protected |
Table(WingContext context,
String name,
int rows,
int cols,
String rend)
Construct a new row. |
| Method Summary | |
|---|---|
Row |
addRow()
Add a new row to the table. |
Row |
addRow(String role)
Add a new row to the table. |
Row |
addRow(String name,
String role,
String rend)
Add a new row to the table. |
void |
dispose()
dispose |
Head |
setHead()
Set the head element which is the label associated with this table. |
void |
setHead(Message message)
Set the head element which is the label associated with this table. |
void |
setHead(String characters)
Set the head element which is the label associated with this table. |
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate this element and all contained elements into SAX events. |
| Methods inherited from class org.dspace.app.xmlui.wing.element.AbstractWingElement |
|---|
endElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String E_TABLE
public static final String A_ROWS
public static final String A_COLS
| Constructor Detail |
|---|
protected Table(WingContext context,
String name,
int rows,
int cols,
String rend)
throws WingException
context - (Required) The context this element is contained in, such as
where to route SAX events and what i18n catalogue to use.name - (Required) a local identifier used to differentiate the
element from its siblings.rows - (Required) the number of rows in the table.cols - (Required) the number of columns in the table.rend - (May be null) a rendering hint used to override the default
display of the element.
WingException| Method Detail |
|---|
public Head setHead()
throws WingException
WingException
public void setHead(String characters)
throws WingException
characters - (May be null) Unprocessed characters to be included
WingException
public void setHead(Message message)
throws WingException
message - (Required) A key into the i18n catalogue for translation into
the user's preferred language.
WingException
public Row addRow(String name,
String role,
String rend)
throws WingException
name - (May be null) a local identifier used to differentiate the
element from its siblings.role - (May be null) determine what kind of information the row
carries, either header or data. See row.ROLESrend - (May be null) a rendering hint used to override the default
display of the element.
WingException
public Row addRow(String role)
throws WingException
role - (May be null) determines what kind of information the row
carries, either header or data. See row.ROLES
WingException
public Row addRow()
throws WingException
WingException
public void toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
throws SAXException
toSAX in interface WingElementcontentHandler - (Required) The registered contentHandler where SAX events
should be routed too.lexicalHandler - (Required) The registered lexicalHandler where lexical
events (such as CDATA, DTD, etc) should be routed too.namespaces - (Required) SAX Helper class to keep track of namespaces able
to determine the correct prefix for a given namespace URI.
SAXExceptionpublic void dispose()
dispose in interface WingElementdispose in class AbstractWingElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||