1 19 20 package org.openide.src.nodes; 21 22 import java.lang.reflect.Modifier ; 23 24 28 36 public class ClassElementFilter extends SourceElementFilter { 37 39 40 public static final int CONSTRUCTOR = 8; 41 42 public static final int FIELD = 16; 43 44 public static final int METHOD = 32; 45 46 public static final int EXTENDS = 64; 47 50 public static final int IMPLEMENTS = 128; 51 52 public static final int ALL = SourceElementFilter.ALL | CONSTRUCTOR | FIELD | METHOD | 53 EXTENDS | IMPLEMENTS; 54 55 59 public static final int[] DEFAULT_ORDER = {FIELD | CONSTRUCTOR | METHOD | CLASS | INTERFACE}; 60 61 63 public static final int STATIC = Modifier.STATIC; 64 65 66 private boolean sorted = true; 67 68 72 public boolean isSorted () { 73 return sorted; 74 } 75 76 79 public void setSorted (boolean sorted) { 80 this.sorted = sorted; 81 } 82 } 83 | Popular Tags |