|
DimDom v0.8.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: DimDomNode
Description: This interface collects the supported operations of the DimDom
engine that the programmer of the dynamic content is able to use.
Method Summary | |
void |
addData(String sValue)
Stores a single String value, without selection. |
void |
addData(String[] sValues)
Stores a list of String values, without selection. |
void |
addData(String[][] sValues2D)
Stores a field (i.e. |
void |
addData(String[][] sValues2D,
int iSelectedRow)
Stores a field (i.e. |
void |
addData(String[][] sValues2D,
int iSelectedRow,
int iSelectedColumn)
Stores a field (i.e. |
void |
addData(String[] sValues,
int iSelectedIndex)
Stores a list of String values, with selection index. |
void |
addData(String[] sValues,
String sSelectedEntry)
Stores a list of String values, with selected string. |
void |
addData(String sValue,
boolean bIsSelected)
Stores a single String value, with selection. |
void |
addData(Vector vValues)
Stores a list of String values, without selection. |
void |
addData(Vector vValues,
int iSelectedIndex)
Stores a list of String values, with selection index. |
void |
addData(Vector vValues,
String sSelectedEntry)
Stores a list of String values, with selected string. |
void |
setAttribute(String sKey,
String sValue)
Sets an attribute key/value pair to the node. |
void |
setAttribute(String sKey,
String sValue,
boolean bIsCommon)
Sets an attribute key/value pair to the node. |
void |
setChildAttribute(String sKey,
String sValue)
Sets an attribute key/value pair to DimDom-specific child of node. |
void |
setEmbeddingLink(String sTargetURL)
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute. |
void |
setEmbeddingLink(String sTargetURL,
String sTargetFrame)
Embeds the underlying DOM node with a "a" element and sets the parameter String to the element's "href" attribute. |
void |
setReplacingText(String sReplacingText)
Sets the visibility of the DimDomNode to false and updates the replacement value. |
void |
setVisible(boolean bIsVisible)
Sets the visibility of the DimDomNode. |
Method Detail |
public void setAttribute(String sKey, String sValue, boolean bIsCommon) throws DimDomException
sKey
- the name of the attributesValue
- the value of the attributebIsCommon
- whether to set this attribute to each node
having the same node name as the template node having this class'
node identifierDimDomException
- if one of the parameters is not XHTML
compliant (see org.w3c.dom.Attr class)public void setAttribute(String sKey, String sValue) throws DimDomException
sKey
- the name of the attributesValue
- the value of the attributeDimDomException
- if one of the parameters is not XHTML
compliant (see org.w3c.dom.Attr class)public void setChildAttribute(String sKey, String sValue) throws DimDomException
sKey
- the name of the attributesValue
- the value of the attributeDimDomException
- if one of the parameters is not XHTML
compliant (see org.w3c.dom.Attr class)public void addData(String sValue)
sValue
- just a valuepublic void addData(String sValue, boolean bIsSelected)
sValue
- just a valuebIsSelected
- whether to select the value or notpublic void addData(String[] sValues)
sValues
- a value listpublic void addData(Vector vValues)
vValues
- a value listpublic void addData(String[] sValues, int iSelectedIndex)
sValues
- a value listiSelectedIndex
- an existing index, else nothing is selectedpublic void addData(String[] sValues, String sSelectedEntry)
sValues
- a value listsSelectedEntry
- an existing string of the list, else nothing is
selectedpublic void addData(Vector vValues, int iSelectedIndex)
vValues
- a value listiSelectedIndex
- an existing index, else nothing is selectedpublic void addData(Vector vValues, String sSelectedEntry)
vValues
- a value listsSelectedEntry
- an existing string of the list, else nothing is
selectedpublic void addData(String[][] sValues2D)
sValues2D
- a value fieldpublic void addData(String[][] sValues2D, int iSelectedRow)
sValues2D
- a value fieldiSelectedRow
- each value of this row (starting with 0) will be
selected in the outputpublic void addData(String[][] sValues2D, int iSelectedRow, int iSelectedColumn)
sValues2D
- a value fieldiSelectedRow
- the row index (starting with 0) of the selected
elementiSelectedColumn
- the column index (starting with 0) of the
selected elementpublic void setVisible(boolean bIsVisible)
bIsVisible
- true for visible, false for invisiblepublic void setReplacingText(String sReplacingText)
sReplacingText
- e.g. a simple "-" to demonstrate there is no more
of what has been there beforepublic void setEmbeddingLink(String sTargetURL) throws DimDomException
sTargetURL
- the URL string to set to the link's href
attributeDimDomException
- if the target URL string is not XHTML
compliant (see org.w3c.dom.Attr class)public void setEmbeddingLink(String sTargetURL, String sTargetFrame) throws DimDomException
sTargetURL
- the URL string to set to the link's href
attributesTargetFrame
- the browser frame name where the link shall
point toDimDomException
- if the target URL string is not XHTML
compliant (see org.w3c.dom.Attr class)
|
Copyright (c) 2001/02 by Florian Steinsiepe | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |