|
||||||||||
| 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.Row
public class Row
| Field Summary | |
|---|---|
static String |
A_ROLE
The name of the role attribute |
static String |
E_ROW
The name of the row element |
static String |
ROLE_DATA
The row (and cell) role types: |
static String |
ROLE_HEADER
|
static String[] |
ROLES
All the roles collected into one array |
| 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 |
Row(WingContext context,
String name,
String role,
String rend)
Construct a new table row. |
| Method Summary | |
|---|---|
Cell |
addCell()
Add a new cell to the table. |
Cell |
addCell(int rows,
int cols)
Add a new cell to the table. |
Cell |
addCell(String role)
Add a new cell to the table. |
Cell |
addCell(String name,
String role,
int rows,
int cols,
String rend)
Add a new cell to the table. |
Cell |
addCell(String name,
String role,
String rend)
Add a new cell to the table. |
void |
addCellContent(Message message)
Add a new cell to the table. |
void |
addCellContent(String characters)
Add a new cell to the table. |
void |
dispose()
dispose |
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_ROW
public static final String A_ROLE
public static final String ROLE_DATA
public static final String ROLE_HEADER
public static final String[] ROLES
| Constructor Detail |
|---|
protected Row(WingContext context,
String name,
String role,
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 - (May be null) a local identifier used to differentiate the
element from its siblings.role - (May be null) determines 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| Method Detail |
|---|
public Cell addCell(String name,
String role,
int rows,
int cols,
String rend)
throws WingException
name - (May be null) a local identifier used to differentiate the
element from its siblings.role - (May be null) determines what kind of information the cell
carries, either header or data. See cell.ROLESrows - (May be zero for no defined value) determines how many rows
does this cell span.cols - (May be zero for no defined value) determines how many columns
does this cell span.rend - (May be null) a rendering hint used to override the default
display of the element.
WingException
public Cell addCell(int rows,
int cols)
throws WingException
rows - (May be zero for no defined value) determines how many rows
does this cell span.cols - (May be zero for no defined value) determines how many columns
does this cell span.
WingException
public Cell addCell(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) determines what kind of information the cell
carries, either header or data. See cell.ROLESrend - (May be null) a rendering hint used to override the default
display of the element.
WingException
public Cell addCell(String role)
throws WingException
role - (May be null) determines what kind of information the cell
carries, either header or data. See cell.ROLES
WingException
public Cell addCell()
throws WingException
WingException
public void addCellContent(String characters)
throws WingException
characters - (Required) Untranslated character data to be included.
WingException
public void addCellContent(Message message)
throws WingException
message - (Required) Key to the i18n catalogue to translate the content
into the language preferred by the user.
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 | |||||||||