/** * <p>Set the value of the <code>dir</code> property.</p> * @param dir the new property value */ public void setDir(java.lang.String dir) { getStateHelper().put(PropertyKeys.dir, dir); handleAttribute("dir", dir); }
public HtmlOutcomeTargetButton() { super(); setRendererType("javax.faces.Button"); }
private void handleAttribute(String name, Object value) { List<String> setAttributes = (List<String>) this.getAttributes().get("javax.faces.component.UIComponentBase.attributesThatAreSet"); if (setAttributes == null) { String cname = this.getClass().getName(); if (cname != null && cname.startsWith(OPTIMIZED_PACKAGE)) { setAttributes = new ArrayList<String>(6); this.getAttributes().put("javax.faces.component.UIComponentBase.attributesThatAreSet", setAttributes); } } if (setAttributes != null) { if (value == null) { ValueExpression ve = getValueExpression(name); if (ve == null) { setAttributes.remove(name); } } else if (!setAttributes.contains(name)) { setAttributes.add(name); } } }
/** * <p>Return the value of the <code>dir</code> property.</p> * @return the property value * <p>Contents: Direction indication for text that does not inherit directionality. * Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). * These attributes are case sensitive when rendering to XHTML, so * care must be taken to have the correct case. */ public java.lang.String getDir() { return (java.lang.String) getStateHelper().eval(PropertyKeys.dir); }
private String getImage(UIComponent uiComponent) { if (uiComponent instanceof HtmlOutcomeTargetButton) { return ((HtmlOutcomeTargetButton) uiComponent).getImage(); } return (String) uiComponent.getAttributes().get(JSFAttr.IMAGE_ATTR); }
if (htmlOutcomeTargetButton.getOutcome() == null) { String onclick = htmlOutcomeTargetButton.getOnclick();
private void handleAttribute(String name, Object value) { List<String> setAttributes = (List<String>) this.getAttributes().get("javax.faces.component.UIComponentBase.attributesThatAreSet"); if (setAttributes == null) { String cname = this.getClass().getName(); if (cname != null && cname.startsWith(OPTIMIZED_PACKAGE)) { setAttributes = new ArrayList<String>(6); this.getAttributes().put("javax.faces.component.UIComponentBase.attributesThatAreSet", setAttributes); } } if (setAttributes != null) { if (value == null) { ValueExpression ve = getValueExpression(name); if (ve == null) { setAttributes.remove(name); } } else if (!setAttributes.contains(name)) { setAttributes.add(name); } } }
/** * <p>Return the value of the <code>disabled</code> property.</p> * @return the property value * <p>Contents: Flag indicating that this element must never receive focus or * be included in a subsequent submit. A value of false causes * no attribute to be rendered, while a value of true causes the * attribute to be rendered as disabled="disabled". */ public boolean isDisabled() { return (java.lang.Boolean) getStateHelper().eval(PropertyKeys.disabled, false); }
private String getImage(UIComponent uiComponent) { if (uiComponent instanceof HtmlOutcomeTargetButton) { return ((HtmlOutcomeTargetButton) uiComponent).getImage(); } return (String) uiComponent.getAttributes().get(JSFAttr.IMAGE_ATTR); }
if (htmlOutcomeTargetButton.getOutcome() == null) { String onclick = htmlOutcomeTargetButton.getOnclick();
/** * <p>Set the value of the <code>onmouseover</code> property.</p> * @param onmouseover the new property value */ public void setOnmouseover(java.lang.String onmouseover) { getStateHelper().put(PropertyKeys.onmouseover, onmouseover); handleAttribute("onmouseover", onmouseover); }
private void handleAttribute(String name, Object value) { List<String> setAttributes = (List<String>) this.getAttributes().get("javax.faces.component.UIComponentBase.attributesThatAreSet"); if (setAttributes == null) { String cname = this.getClass().getName(); if (cname != null && cname.startsWith(OPTIMIZED_PACKAGE)) { setAttributes = new ArrayList<String>(6); this.getAttributes().put("javax.faces.component.UIComponentBase.attributesThatAreSet", setAttributes); } } if (setAttributes != null) { if (value == null) { ValueExpression ve = getValueExpression(name); if (ve == null) { setAttributes.remove(name); } } else if (!setAttributes.contains(name)) { setAttributes.add(name); } } }
/** * <p>Return the value of the <code>onkeydown</code> property.</p> * @return the property value * <p>Contents: Javascript code executed when a key is * pressed down over this element. */ public java.lang.String getOnkeydown() { return (java.lang.String) getStateHelper().eval(PropertyKeys.onkeydown); }
public HtmlOutcomeTargetButton() { super(); setRendererType("javax.faces.Button"); }
private String getImage(UIComponent uiComponent) { if (uiComponent instanceof HtmlOutcomeTargetButton) { return ((HtmlOutcomeTargetButton) uiComponent).getImage(); } return (String) uiComponent.getAttributes().get(JSFAttr.IMAGE_ATTR); }
if (htmlOutcomeTargetButton.getOutcome() == null) { String onclick = htmlOutcomeTargetButton.getOnclick();
/** * <p>Set the value of the <code>tabindex</code> property.</p> * @param tabindex the new property value */ public void setTabindex(java.lang.String tabindex) { getStateHelper().put(PropertyKeys.tabindex, tabindex); handleAttribute("tabindex", tabindex); }
private void handleAttribute(String name, Object value) { List<String> setAttributes = (List<String>) this.getAttributes().get("javax.faces.component.UIComponentBase.attributesThatAreSet"); if (setAttributes == null) { String cname = this.getClass().getName(); if (cname != null && cname.startsWith(OPTIMIZED_PACKAGE)) { setAttributes = new ArrayList<String>(6); this.getAttributes().put("javax.faces.component.UIComponentBase.attributesThatAreSet", setAttributes); } } if (setAttributes != null) { if (value == null) { ValueExpression ve = getValueExpression(name); if (ve == null) { setAttributes.remove(name); } } else if (!setAttributes.contains(name)) { setAttributes.add(name); } } }
/** * <p>Return the value of the <code>onkeyup</code> property.</p> * @return the property value * <p>Contents: Javascript code executed when a key is * released over this element. */ public java.lang.String getOnkeyup() { return (java.lang.String) getStateHelper().eval(PropertyKeys.onkeyup); }
public HtmlOutcomeTargetButton() { setRendererType("javax.faces.Button"); }