Package org.primefaces.event

Examples of org.primefaces.event.ResizeEvent


      int height = Integer.valueOf(params.get(clientId + "_unitHeight"));
     
      unit.setWidth(width);
      unit.setHeight(height);
     
      layout.queueEvent(new ResizeEvent(unit, width, height));
    }
  }
View Full Code Here


                    unit.setSize(String.valueOf(width));
                } else if(position.equals("north") || position.equals("south")) {
                    unit.setSize(String.valueOf(height));
                }

                wrapperEvent = new ResizeEvent(unit, behaviorEvent.getBehavior(), width, height);
            }

            wrapperEvent.setPhaseId(behaviorEvent.getPhaseId());

            super.queueEvent(wrapperEvent);
View Full Code Here

                if(eventName.equals("resize")) {
                    AjaxBehaviorEvent behaviorEvent = (AjaxBehaviorEvent) event;
                    int width = Integer.parseInt(params.get(clientId + "_width"));
                    int height = Integer.parseInt(params.get(clientId + "_height"));

                    super.queueEvent(new ResizeEvent(this, behaviorEvent.getBehavior(), width, height));
                }
               
            } else {
                super.queueEvent(event);
            }
View Full Code Here

      int height = Integer.valueOf(params.get(clientId + "_unitHeight"));
     
      unit.setWidth(width);
      unit.setHeight(height);
     
      layout.queueEvent(new ResizeEvent(unit, width, height));
    }
  }
View Full Code Here

TOP

Related Classes of org.primefaces.event.ResizeEvent

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.