1 18 19 package org.objectweb.jac.ide; 20 21 import java.awt.Point ; 22 23 28 29 public class ClassFigure extends GenericFigure { 30 31 public ClassFigure() { 32 } 33 34 40 public ClassFigure(Class cl, Point corner) { 41 super(cl,corner); 42 this.element = cl; 43 this.corner = corner; 44 } 45 46 public ClassFigure(Class cl) { 47 super(cl); 48 this.element = cl; 49 this.corner = new Point (); 50 } 51 52 56 public Class getCl() { 57 return (Class )element; 58 } 59 60 boolean hideMethods; 61 public boolean isHideMethods() { 62 return hideMethods; 63 } 64 public void setHideMethods(boolean newHideMethods) { 65 this.hideMethods = newHideMethods; 66 } 67 68 boolean hideFields; 69 public boolean isHideFields() { 70 return hideFields; 71 } 72 public void setHideFields(boolean newHideFields) { 73 this.hideFields = newHideFields; 74 } 75 76 77 } 78 | Popular Tags |