1 18 19 package org.objectweb.jac.aspects.gui; 20 21 import org.objectweb.jac.core.rtti.*; 22 23 32 33 public interface GuiConf 34 extends ClassAppearenceGuiConf, FieldAppearenceGuiConf, 35 MethodAppearenceGuiConf, BehaviorGuiConf { 36 37 47 void askForParameters(String classExpr); 48 49 60 void registerCustomized(String name); 61 62 67 void setCustomizedIcon(String gui, String icon); 68 69 74 void setOnCloseHandler(String gui, AbstractMethodItem eventHandler); 75 76 85 86 void setWelcomeMessage(String gui,String title, 87 String message,String icon); 88 89 96 97 void addStatusBar( String gui, MethodItem method, String position ); 98 99 109 void addStatusBar( String gui, String position ); 110 111 128 void setSubPanesGeometry(String gui, int subPanesCount, String geometry); 129 130 149 void setSubPanesGeometry(String gui, int subPanesCount, 150 String geometry, 151 boolean[] scrollings); 152 153 168 void setPaneContent(String gui, String paneId, String type, String [] args); 169 170 182 void setPaneContainer(String gui, String paneId, String type); 183 184 192 193 void setInvalidPane(String gui, String changedPane, String invalidPane); 194 195 210 void addReferenceToPane(String gui, 211 MemberItem member, 212 String paneId); 213 214 232 void addReferenceToPane(String gui, 233 MemberItem field, 234 String viewType, String [] viewParams, 235 Boolean small, 236 String panePath); 237 238 252 253 void setPosition(String gui, int left, int up, 254 int width, int height); 255 256 262 void setMenuPosition(String gui, String menu, String position); 263 264 277 void addMenuItem(String gui, String menu, String [] menuPath, 278 AbstractMethodItem method); 279 280 294 void addMenuItem(String gui, String menu, String [] menuPath, 295 String objectName, AbstractMethodItem method); 296 297 313 void addMenuItem(String gui, String menu, String [] menuPath, 314 AbstractMethodItem method, String [] parameters); 315 316 333 void addMenuItem(String gui, String menu, String [] menuPath, 334 String objectName, AbstractMethodItem method, 335 String [] parameters); 336 337 345 void addMenuSeparator(String gui, String menu, String [] menuPath); 346 347 355 void setMenuIcon(String gui, String menu, String [] menuPath, String icon); 356 357 368 void addToolbarAction(String gui, AbstractMethodItem method); 369 370 382 void addToolbarAction(String gui,String objectName,AbstractMethodItem method); 383 384 395 void addToolbarAction(String gui, 396 AbstractMethodItem method, 397 String [] params); 398 399 406 void addToolbarSeparator(String gui); 407 408 423 void setSplitterLocation( String gui, int splitterId, float location ); 424 425 434 void setTitle(String gui, String title); 435 436 452 void setLoggingMethod(String gui, 453 String objects, String classes, String methods, 454 int paneId); 455 456 467 void defineResource(String type, String name, String path ); 468 469 492 void setFontAttribute( String attribute, String value ); 493 494 507 void addStyleSheetURL(String gui, String url); 508 509 516 void addStyleSheetURL(String url); 517 518 523 void setDialogTimeout(long timeout); 524 525 531 void setDefaultCurrency(String currencyName, int precision); 532 533 540 void declareCurrency( String currencyName, int precision, double rate); 541 542 543 549 void setViewConstructor(String guiType, 550 String viewType, 551 AbstractMethodItem constructor); 552 553 554 561 void setDateFormat(String dateFormat); 562 563 574 void defineEnum(String name, String [] values, int start, int step); 575 576 584 void setNavBar(String gui, CollectionItem collection); 585 586 void setLabelOK(String label); 587 void setLabelCancel(String label); 588 void setLabelNew(String label); 589 void setLabelAdd(String label); 590 void setLabelNone(String label); 591 void setLabelAll(String label); 592 593 602 void setEncoding(String encoding); 603 } 604 605 | Popular Tags |