1 18 19 package org.objectweb.jac.aspects.gui; 20 21 import org.objectweb.jac.core.rtti.*; 22 23 32 33 public interface FieldAppearenceGuiConf { 34 35 54 void setVisible(MemberItem member, boolean visible); 55 56 62 void setEmbeddedEditors(ClassItem cl); 63 64 72 void setEmbeddedEditors(ClassItem cl, String viewName, boolean embedded); 73 74 83 void setEmbeddedEditors( 84 CollectionItem collection, 85 String viewName, 86 boolean embedded); 87 88 98 void setEmbeddedEditorColumns( 99 CollectionItem collection, 100 String viewName, 101 MemberItem[] members); 102 103 112 void setEmbeddedEditor(MemberItem member); 113 114 133 void setEmbeddedEditor(MemberItem member, String viewName, boolean embedded); 134 135 147 void setBorder(FieldItem field, String alignment, String style); 148 149 156 void setBorder(FieldItem field); 157 158 167 void setEditorWidth(FieldItem field, Length width); 168 169 179 void setDefaultEditorWidth(VirtualClassItem type, Length width); 180 181 191 void setDefaultEditorWidth(ClassItem type, Length width); 192 193 199 void setEditable(FieldItem field, boolean editable); 200 201 212 void setEditorHeight(FieldItem field, Length height); 213 214 224 void setDefaultEditorHeight(VirtualClassItem type, Length height); 225 226 236 void setDefaultEditorHeight(ClassItem type, Length height); 237 238 249 void setCategory(MemberItem member, String category); 250 251 262 void setCategories(MemberItem member, String[] categories); 263 264 273 void setEmbeddedView(MemberItem member); 274 275 286 void setEmbeddedView(MemberItem member, 287 String viewName, 288 boolean embedded); 289 290 296 void setEmbeddedAdder(CollectionItem collection, boolean embedded); 297 298 309 void setTableView(FieldItem field); 310 311 318 void setChoiceView(CollectionItem collection, boolean external); 319 320 327 void showRowNumbers(CollectionItem collection, boolean value); 328 329 337 void setDefaultShowRowNumbers(boolean value); 338 339 351 void setDefaultSortedColumn(CollectionItem collection, String column); 352 353 365 void setMembersOrder( 366 CollectionItem collection, 367 ClassItem targetClass, 368 String[] memberNames); 369 370 381 void setMembersOrder( 382 CollectionItem collection, 383 String viewName, 384 ClassItem targetClass, 385 String[] memberNames); 386 387 407 void setFieldChoice(FieldItem field, Boolean editable, String[] choice); 408 409 419 void setFieldEnum(FieldItem field, String enum); 420 421 444 void setDynamicFieldChoice( 445 FieldItem field, 446 Boolean editable, 447 ClassItem targetClass, 448 String targetMethod); 449 450 462 void setDynamicFieldChoice( 463 FieldItem field, 464 Boolean editable, 465 MethodItem targetMethod); 466 467 475 void setDynamicFieldChoice( 476 FieldItem field, 477 CollectionItem targetCollection); 478 479 489 void setCollectionType(CollectionItem collection, String type); 490 491 500 void setPreferredHeight(CollectionItem collection, Length height); 501 502 511 void setPreferredWidth(CollectionItem collection, Length width); 512 513 528 void setNumRowsPerPage(CollectionItem collection, int numRows); 529 530 539 void setAvailableNumRowsPerPage(CollectionItem collection, int[] numRows); 540 541 549 void showColumnFilters(CollectionItem collection, 550 String[] columnNames); 551 568 void setFileChooserView( 569 MethodItem method, 570 String[] fileExtensions, 571 String fileDescription); 572 573 582 588 589 597 void setIcon(MemberItem member, String name); 598 599 606 void hideTreeRelation(FieldItem field); 607 608 621 void setDefaultValue(FieldItem field, MethodItem method, String value); 622 623 634 void setDefaultValue(FieldItem field, String value); 635 636 644 void setFloatFormat(FieldItem field, String format); 645 646 652 void setDescription(MemberItem member, String description); 653 654 661 void setLabel(MemberItem member, String label); 662 663 672 void setLabel(MemberItem member, MemberItem selector, String label); 673 674 680 void setDisplayLabel(MemberItem member, boolean value); 681 682 692 void setStyle(FieldItem field, String style); 693 694 702 void setAddable(CollectionItem collection, boolean addable); 703 704 712 void setRemovable(CollectionItem collection, boolean removable); 713 714 721 void setViewType(FieldItem field, String viewName, String viewType); 722 723 732 void setViewableItems(CollectionItem collection, boolean viewable); 733 734 744 void setViewableItems(CollectionItem collection, String viewName, boolean viewable); 745 746 749 void setEnableLinks(CollectionItem collection, String viewName, boolean enable); 750 751 761 void groupBy(CollectionItem collection, 762 String viewName, 763 FieldItem groupBy); 764 765 775 void setMultiLineCollection(CollectionItem collection, 776 String viewName, 777 CollectionItem multiLine); 778 779 782 void setAdditionalRow(CollectionItem collection,String viewName, 783 String row); 784 785 796 void setCellViewType(CollectionItem collection, String viewName, 797 FieldItem column, String viewType); 798 799 804 void setMnemonics(MemberItem method, String mnemonics); 805 } 806 | Popular Tags |