| org.netbeans.modules.visualweb.web.ui.dt.renderer.AbstractDesignTimeRenderer org.netbeans.modules.visualweb.web.ui.dt.renderer.ActionSourceDesignTimeRenderer
All known Subclasses: org.netbeans.modules.visualweb.web.ui.dt.renderer.HyperlinkDesignTimeRenderer, org.netbeans.modules.visualweb.web.ui.dt.renderer.ImageHyperlinkDesignTimeRenderer, org.netbeans.modules.visualweb.web.ui.dt.renderer.TabDesignTimeRenderer, org.netbeans.modules.visualweb.web.ui.dt.renderer.ButtonDesignTimeRenderer,
ActionSourceDesignTimeRenderer | abstract public class ActionSourceDesignTimeRenderer extends AbstractDesignTimeRenderer (Code) | | A delegating renderer for components that extend
org.netbeans.modules.visualweb.web.ui.component.UICommand , which does two things. If
the value property is not set, temporarily sets the value and style to
cause the component to be rendered with a default "shadow label". If the
value property is bound, but the value is null or the empty string,
temporarily sets the value to a "dummy string" that is keyed to the type
of the value.
author: gjmurphy |
Method Summary | |
public void | encodeBegin(FacesContext context, UIComponent component) | public void | encodeEnd(FacesContext context, UIComponent component) | abstract protected String | getShadowText() Returns a display string to set as the component's value if shadowed
text is required. | protected boolean | needsShadowText(UICommand component) Determines if shadowed text is required. |
STYLE_CLASS_PROP | protected static String STYLE_CLASS_PROP(Code) | | |
isStyleSet | boolean isStyleSet(Code) | | |
isTextSet | boolean isTextSet(Code) | | |
ActionSourceDesignTimeRenderer | public ActionSourceDesignTimeRenderer(Renderer renderer)(Code) | | |
encodeBegin | public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code) | | |
encodeEnd | public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code) | | |
getShadowText | abstract protected String getShadowText()(Code) | | Returns a display string to set as the component's value if shadowed
text is required.
|
needsShadowText | protected boolean needsShadowText(UICommand component)(Code) | | Determines if shadowed text is required. Default implementation is
simply to check for a null value.
|
Methods inherited from org.netbeans.modules.visualweb.web.ui.dt.renderer.AbstractDesignTimeRenderer | protected static String addStyleClass(String value, String styleClass)(Code)(Java Doc) public String convertClientId(FacesContext context, String clientId)(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) public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException(Code)(Java Doc) protected static Object getDummyData(FacesContext context, ValueBinding vb)(Code)(Java Doc) protected static Object getDummyData(Class clazz)(Code)(Java Doc) public boolean getRendersChildren()(Code)(Java Doc) protected static String removeStyleClass(String value, String styleClass)(Code)(Java Doc)
|
|
|