1 21 22 package org.opensubsystems.core.application; 23 24 import java.util.Map ; 25 26 import org.opensubsystems.core.error.OSSException; 27 28 37 public interface ThickClientGui 38 { 39 41 44 int GUI_FULLSCREEN = 0; 45 46 49 int GUI_LEFTSCREEN = 1; 50 51 54 int GUI_RIGHTSCREEN = 2; 55 56 59 int GUI_ANYWHERE = 3; 60 61 64 String MESSAGE_STYLE_YES_NO_QUESTION = "YesNoMessage"; 65 66 69 String MESSAGE_STYLE_ERROR = "ErrorMessage"; 70 71 74 String MESSAGE_STYLE_INFO = "InfoMessage"; 75 76 79 String MESSAGE_ANSWER_YES = "Yes"; 80 81 84 String MESSAGE_TITLE_QUESTION = "Question"; 85 86 89 String MESSAGE_TITLE_ERROR = "Error"; 90 91 94 String MESSAGE_TITLE_INFO = "Information"; 95 96 98 103 void init( 104 ThickClient client 105 ); 106 107 116 void createDisplayResources( 117 boolean bHideCursor 118 ); 119 120 124 void destroyDisplayResources( 125 ); 126 127 131 void createMainWindow( 132 ); 133 134 139 void destroyMainWindow( 140 ); 141 142 145 void createClientArea( 146 ); 147 148 153 void destroyClientArea( 154 ); 155 156 164 void displayMainWindow( 165 int iScreenPosition, 166 boolean bFixedSize 167 ); 168 169 173 void interactWithUser( 174 ); 175 176 182 String getGuiTechnology( 183 ); 184 185 196 Object displayMessage( 197 String strTitle, 198 String strMessage, 199 Object additionalInfo 200 ); 201 202 209 void createModules( 210 Map mapModules 211 ) throws OSSException; 212 213 219 void destroyModules( 220 Map mapModules 221 ); 222 223 229 void pasivateModule( 230 ThickClientModule module 231 ); 232 233 238 void activateModule( 239 ThickClientModule module 240 ); 241 } 242 | Popular Tags |