1 23 package com.sun.enterprise.tools.jsfext.layout.descriptor; 24 25 import com.sun.enterprise.tools.jsfext.event.handlers.HandlerContext; 26 27 import java.io.IOException ; 28 import java.util.EventObject ; 29 import java.util.List ; 30 31 import javax.faces.context.FacesContext; 32 import javax.faces.component.UIComponent; 33 34 55 public interface LayoutElement extends java.io.Serializable { 56 57 61 public void addChildLayoutElement(LayoutElement element); 62 63 64 69 public List getChildLayoutElements(); 70 71 72 77 public LayoutElement getParent(); 78 79 80 86 public LayoutDefinition getLayoutDefinition(); 87 88 89 96 public List getHandlers(String type); 97 98 104 public void setHandlers(String type, List handlers); 105 106 112 public String getId(FacesContext context, UIComponent parent); 113 114 121 public String getUnevaluatedId(); 122 123 130 public void encode(FacesContext context, UIComponent component) throws IOException ; 131 132 135 public Object dispatchHandlers(HandlerContext handlerCtx, List handlers); 136 137 153 public Object dispatchHandlers(FacesContext context, String eventType, EventObject event); 154 } 155 | Popular Tags |