| com.sun.rave.web.ui.renderer.AbstractRenderer com.sun.rave.web.ui.renderer.ButtonRenderer
Method Summary | |
public void | decode(FacesContext context, UIComponent component) | protected String | getJavascript(String value, String jsmethod) Helper method to set style classes during Javascript events such as
onblur, onfocus, onmouseover, and onmouseout. | protected String | getOnBlurStyle(Button button, Theme theme) Get onblur style class. | protected String | getOnFocusStyle(Button button, Theme theme) Get onfocus style class. | protected String | getOnMouseOutStyle(Button button, Theme theme) Get onmouseout style class. | protected String | getOnMouseOverStyle(Button button, Theme theme) Get onmouseover style class. | protected String | getStyle(Button button, Theme theme) Get style class. | protected void | renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) | protected void | renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) | protected void | renderIconAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String url) | protected void | renderStart(FacesContext context, UIComponent component, ResponseWriter writer) | protected void | renderTextAttributes(FacesContext context, UIComponent component, ResponseWriter writer) |
decode | public void decode(FacesContext context, UIComponent component)(Code) | | Determine if this was the component that submitted the form.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be decoded exception: NullPointerException - if context orcomponent is null |
getJavascript | protected String getJavascript(String value, String jsmethod)(Code) | | Helper method to set style classes during Javascript events such as
onblur, onfocus, onmouseover, and onmouseout.
Parameters: value - The existing attribute value to append Javascript to. Parameters: jsmethod - The JS event to invoke. |
getOnBlurStyle | protected String getOnBlurStyle(Button button, Theme theme)(Code) | | Get onblur style class.
Parameters: button - Button to be rendered Parameters: theme - Theme for the component |
getOnFocusStyle | protected String getOnFocusStyle(Button button, Theme theme)(Code) | | Get onfocus style class.
Parameters: button - Button to be rendered Parameters: theme - Theme for the component |
getOnMouseOutStyle | protected String getOnMouseOutStyle(Button button, Theme theme)(Code) | | Get onmouseout style class.
Parameters: button - Button to be rendered Parameters: theme - Theme for the component |
getOnMouseOverStyle | protected String getOnMouseOverStyle(Button button, Theme theme)(Code) | | Get onmouseover style class.
Parameters: button - Button to be rendered Parameters: theme - Theme for the component |
getStyle | protected String getStyle(Button button, Theme theme)(Code) | | Get style class.
Parameters: button - Button to be rendered Parameters: theme - Theme for the component |
renderAttributes | protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Render the appropriate element attributes depending on
the value of the imageURL attribute.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementattributes should be rendered exception: IOException - if an input/output error occurs |
renderEnd | protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Render the appropriate element end, depending on the value of the
type property.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementend should be rendered exception: IOException - if an input/output error occurs |
renderIconAttributes | protected void renderIconAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String url) throws IOException(Code) | | Render the appropriate element attributes for an icon button.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementattributes should be rendered Parameters: url - The image URL exception: IOException - if an input/output error occurs |
renderStart | protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Render the appropriate element start, depending on the value of the
type property.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementstart should be rendered exception: IOException - if an input/output error occurs |
renderTextAttributes | protected void renderTextAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Render the appropriate element attributes for a text button.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementattributes should be rendered exception: IOException - if an input/output error occurs |
Methods inherited from com.sun.rave.web.ui.renderer.AbstractRenderer | protected void addBooleanAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected void addCoreAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String styles) throws IOException(Code)(Java Doc) protected void addIntegerAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected static void addStringAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected Application getApplication()(Code)(Java Doc) protected Object getAsObject(FacesContext context, UIComponent component, String value)(Code)(Java Doc) protected String getAsString(FacesContext context, UIComponent component)(Code)(Java Doc) protected ExternalContext getExternalContext()(Code)(Java Doc) protected FacesContext getFacesContext()(Code)(Java Doc) protected Object getSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc) protected boolean isDisabled(UIComponent component)(Code)(Java Doc) protected boolean isPortlet(FacesContext context)(Code)(Java Doc) protected boolean isReadOnly(UIComponent component)(Code)(Java Doc) protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderMarkup(FacesContext context, UIComponent component, ResponseWriter writer, Markup markup) throws IOException(Code)(Java Doc) protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void setSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc)
|
|
|