Java 类com.intellij.uiDesigner.propertyInspector.renderers.RectangleRenderer 实例源码

项目:intellij-ce-playground    文件:IntroRectangleProperty.java   
public IntroRectangleProperty(final String name, final Method readMethod, final Method writeMethod, final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer=new RectangleRenderer();
  myChildren=new Property[]{
    new IntFieldProperty(this, "x", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "y", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "width", 0, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "height", 0, new Rectangle(0, 0, 0, 0)),
  };
  myEditor = new IntRegexEditor<Rectangle>(Rectangle.class, myRenderer, new int[] { Integer.MIN_VALUE, Integer.MIN_VALUE, 0, 0 });
}
项目:tools-idea    文件:IntroRectangleProperty.java   
public IntroRectangleProperty(final String name, final Method readMethod, final Method writeMethod, final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer=new RectangleRenderer();
  myChildren=new Property[]{
    new IntFieldProperty(this, "x", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "y", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "width", 0, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "height", 0, new Rectangle(0, 0, 0, 0)),
  };
  myEditor = new IntRegexEditor<Rectangle>(Rectangle.class, myRenderer, new int[] { Integer.MIN_VALUE, Integer.MIN_VALUE, 0, 0 });
}
项目:consulo-ui-designer    文件:IntroRectangleProperty.java   
public IntroRectangleProperty(final String name, final Method readMethod, final Method writeMethod, final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer=new RectangleRenderer();
  myChildren=new Property[]{
    new IntFieldProperty(this, "x", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "y", Integer.MIN_VALUE, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "width", 0, new Rectangle(0, 0, 0, 0)),
    new IntFieldProperty(this, "height", 0, new Rectangle(0, 0, 0, 0)),
  };
  myEditor = new IntRegexEditor<Rectangle>(Rectangle.class, myRenderer, new int[] { Integer.MIN_VALUE, Integer.MIN_VALUE, 0, 0 });
}