Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlSeparator


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlSeparator comp = (HtmlSeparator) component;
            
            if (this._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                          
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._lineType != null) {
        if (this._lineType.isLiteralText()) {
          try {
                       
            java.lang.String __lineType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._lineType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLineType(__lineType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("lineType", this._lineType);
        }
      }
                                      
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here


    }

    @NotNull
    public static HtmlSeparator addSeparator(@NotNull
    UIComponent parent, FacesComponentIdFactory idFactory) {
        HtmlSeparator separator = createComponent(HtmlSeparator.class, idFactory);
        parent.getChildren().add(separator);
        return separator;
    }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlSeparator comp = (HtmlSeparator) component;
            
            if (this._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                          
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._lineType != null) {
        if (this._lineType.isLiteralText()) {
          try {
                       
            java.lang.String __lineType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._lineType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLineType(__lineType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("lineType", this._lineType);
        }
      }
                                      
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

      overAllBackgroundColor = (String) defaultSkin.getParameter(facesContext, skinParameter3);
    overAllBackgroundColor = overAllBackgroundColor == null ? "#FFFFFF" : overAllBackgroundColor;
   
    Color color2 = HtmlColor.decode(overAllBackgroundColor);
   
    HtmlSeparator separator = new HtmlSeparator();
   
    byte [] data = (byte []) img.getDataToStore(facesContext, separator);
    assertNotNull(data);
   
    SeparatorData separatorData = (SeparatorData)img.deserializeData(data);
View Full Code Here

   
    headerBackgroundColor = headerBackgroundColor == null ? "#4169E1" : headerBackgroundColor;
         
    Color color1 = HtmlColor.decode(headerBackgroundColor);
   
    HtmlSeparator separator = new HtmlSeparator();
   
    byte [] data = (byte []) img.getDataToStore(facesContext, separator);
    assertNotNull(data);
   
    SimpleSeparatorImage.SimpleSeparatorData separatorData = (SimpleSeparatorImage.SimpleSeparatorData)img.deserializeData(data);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlSeparator comp = (HtmlSeparator) component;
            
            if (this._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                          
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._lineType != null) {
        if (this._lineType.isLiteralText()) {
          try {
                       
            java.lang.String __lineType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._lineType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLineType(__lineType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("lineType", this._lineType);
        }
      }
                                      
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

TOP

Related Classes of org.richfaces.component.html.HtmlSeparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.