Package org.richfaces.component

Examples of org.richfaces.component.UIToolBarGroup


      List childrenToTheRight = new LinkedList();
      for (Iterator iter = children.iterator(); iter.hasNext();) {
        UIComponent child = (UIComponent) iter.next();
        if(child.isRendered()){
          if (child instanceof UIToolBarGroup) {
            UIToolBarGroup group = (UIToolBarGroup) child;
            String location = group.getLocation();
            if(location != null && location.equals("right")){
              childrenToTheRight.add(child);
            } else {
              childrenToTheLeft.add(child);
            }
View Full Code Here


      List<UIComponent> childrenToTheRight = new LinkedList<UIComponent>();
      for (Iterator<UIComponent> iter = children.iterator(); iter.hasNext();) {
        UIComponent child = iter.next();
        if(child.isRendered()){
          if (child instanceof UIToolBarGroup) {
            UIToolBarGroup group = (UIToolBarGroup) child;
            String location = group.getLocation();
            if(location != null && location.equals("right")){
              childrenToTheRight.add(child);
            } else {
              childrenToTheLeft.add(child);
            }
View Full Code Here

  public boolean getRendersChildren() {
    return true;
  }
 
  public void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException {
    UIToolBarGroup toolBarGroup = (UIToolBarGroup) component;
    ResponseWriter writer = facesContext.getResponseWriter();
    String style = (String) toolBarGroup.getAttributes().get("style");
    String styleClass = (String) toolBarGroup.getAttributes().get("styleClass");
    if (null == styleClass) styleClass = "";
    String contentClass = (String) toolBarGroup.getToolBar().getAttributes().get("contentClass");
    if (null == contentClass) contentClass = "";
    String contentStyle = (String) toolBarGroup.getToolBar().getAttributes().get("contentStyle");
   
    if (component.getChildCount() > 0) {
      List children = component.getChildren();
      for (Iterator iter = children.iterator(); iter.hasNext();) {
        UIComponent child = (UIComponent) iter.next();
View Full Code Here

      List childrenToTheRight = new LinkedList();
      for (Iterator iter = children.iterator(); iter.hasNext();) {
        UIComponent child = (UIComponent) iter.next();
        if(child.isRendered()){
          if (child instanceof UIToolBarGroup) {
            UIToolBarGroup group = (UIToolBarGroup) child;
            String location = group.getLocation();
            if(location != null && location.equals("right")){
              childrenToTheRight.add(child);
            } else {
              childrenToTheLeft.add(child);
            }
View Full Code Here

TOP

Related Classes of org.richfaces.component.UIToolBarGroup

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.