1 18 19 package org.objectweb.jac.aspects.gui; 20 21 import org.objectweb.jac.core.rtti.FieldItem; 22 import org.objectweb.jac.core.rtti.MethodItem; 23 24 public interface View extends ViewIdentity { 25 30 void setLabel(String label); 31 32 37 String getLabel(); 38 39 45 void setMessage(MethodItem method); 46 47 52 MethodItem getMessage(); 53 54 60 void setDescription(String description); 61 62 67 String getDescription(); 68 69 75 void setContext(DisplayContext context); 76 77 80 DisplayContext getContext(); 81 82 86 void setFactory(ViewFactory factory); 87 88 91 ViewFactory getFactory(); 92 93 99 void setSize(Length width, Length height); 100 101 107 void close(boolean validate); 108 109 112 boolean isClosed(); 113 114 118 120 125 void setStyle(String style); 126 127 132 String getStyle(); 133 134 137 void setViewBorder(Border border); 138 139 144 Border getViewBorder(); 145 146 151 void setParentView(View view); 152 153 158 View getParentView(); 159 160 163 View getRootView(); 164 165 169 boolean isDescendantOf(View ancestor); 170 171 177 void setFocus(FieldItem field, Object option); 178 } 179 | Popular Tags |