1 19 20 package com.sslexplorer.core; 21 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 import javax.servlet.jsp.PageContext ; 25 26 27 42 public interface Panel { 43 44 47 public final static String FRAME_CLOSED = "closed"; 48 49 52 public final static String FRAME_MINIMIZED = "minimized"; 53 54 57 public final static String FRAME_NORMAL = "normal"; 58 59 63 public final static int SIDEBAR = 0; 64 65 69 public final static int MESSAGES = 1; 70 71 74 public final static int HEADER = 2; 75 76 79 public final static int FOOTER = 3; 80 81 84 public final static int INFO = 4; 85 86 89 public final static int CONTENT = 5; 90 91 94 public final static int STATUS_TAB = 6; 95 96 102 public String getBundle(); 103 104 109 public String getId(); 110 111 116 public int getPlacement(); 117 118 124 public int getWeight(); 125 126 132 public String getTileIncludePath(PageContext pageContext); 133 134 143 public boolean isAvailable(HttpServletRequest request, HttpServletResponse response, String layout); 144 145 150 public boolean isCloseable(); 151 152 157 public boolean isDragable(); 158 159 164 public boolean isDropable(); 165 166 171 public String getDefaultFrameState(); 172 173 178 public void setDragable(boolean dragable); 179 180 181 186 public void setDropable(boolean dropable); 187 188 193 public void setMinimizable(boolean minimizable); 194 195 200 public boolean isMinimizable(); 201 202 } 203 | Popular Tags |