|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.jsfunit.richclient.RichFacesClient
public class RichFacesClient
This class provides helper methods for RichFaces controls.
| Constructor Summary | |
|---|---|
RichFacesClient(JSFClientSession jsfClient)
|
|
| Method Summary | |
|---|---|
void |
clickInputNumberSpinnerDown(String componentID)
Click the down arrow on an InputNumberSpinner. |
void |
clickInputNumberSpinnerUp(String componentID)
Click the up arrow on an InputNumberSpinner. |
void |
clickTab(String tabComponentID)
Click a tab on a TabPanel. |
void |
clickTreeNodeHandle(String treeNodeKey,
String treeNodeId)
Click this handle icon for a node in a RichTree in order to toggle the open/closed state. |
void |
setCalendarValue(String componentID,
String value)
Set a parameter value on a RichCalendar component. |
void |
setComboBox(String componentID,
String value)
Set a parameter value on a RichComboBox component. |
void |
setDataFilterSlider(String componentID,
String value)
Set a parameter value on a DataFilterSlider. |
void |
setInplaceInput(String componentID,
String value)
Set the value of a RichInplaceInput component. |
void |
setInplaceInput(String componentID,
String value,
String customSaveID)
Set the value of a RichInplaceInput component. |
void |
setInputNumberSlider(String componentID,
String value)
Set the value of an InputNumberSlider. |
void |
setInputNumberSpinner(String componentID,
String value)
Set the value of an InputNumberSpinner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RichFacesClient(JSFClientSession jsfClient)
| Method Detail |
|---|
public void setDataFilterSlider(String componentID,
String value)
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setCalendarValue(String componentID,
String value)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
IOException
public void setInplaceInput(String componentID,
String value,
String customSaveID)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to setcustomSaveID - The JSF component ID or a suffix of a custom save button (null if not used)
IOException
public void setInplaceInput(String componentID,
String value)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set
IOException
public void clickTreeNodeHandle(String treeNodeKey,
String treeNodeId)
throws IOException
treeNodeKey - key value for the node to referencetreeNodeId - id of the treeNode template
IOException
ComponentIDNotFoundException - if the component can not be found
public void clickTab(String tabComponentID)
throws IOException
tabPanelComponentID - The JSF component ID or a suffix of the client ID
for the rich:tabPanel component.tabPanelComponentID - The JSF component ID or a suffix of the client ID
for the rich:tab component.
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setComboBox(String componentID,
String value)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setInputNumberSpinner(String componentID,
String value)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
DuplicateClientIDException - if more than one client ID matches the suffix
ClassCastException - if the current page is not an HtmlPage.
public void clickInputNumberSpinnerUp(String componentID)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
DuplicateClientIDException - if more than one client ID matches the suffix
ClassCastException - if the current page is not an HtmlPage.
public void clickInputNumberSpinnerDown(String componentID)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
DuplicateClientIDException - if more than one client ID matches the suffix
ClassCastException - if the current page is not an HtmlPage.
public void setInputNumberSlider(String componentID,
String value)
throws IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
DuplicateClientIDException - if more than one client ID matches the suffix
ClassCastException - if the current page is not an HtmlPage.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||