Java 类com.intellij.uiDesigner.propertyInspector.PropertyRenderer 实例源码

项目:intellij-ce-playground    文件:Palette.java   
private void updateUI(final Property property) {
  final PropertyRenderer renderer = property.getRenderer();
  renderer.updateUI();
  final PropertyEditor editor = property.getEditor();
  if (editor != null) {
    editor.updateUI();
  }
  final Property[] children = property.getChildren(null);
  for (int i = children.length - 1; i >= 0; i--) {
    updateUI(children[i]);
  }
}
项目:intellij-ce-playground    文件:BorderProperty.java   
@NotNull
@Override
protected PropertyRenderer<BorderType> compute() {
  return new LabelPropertyRenderer<BorderType>() {
    protected void customize(@NotNull final BorderType value) {
      setText(value.getName());
    }
  };
}
项目:intellij-ce-playground    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<StringDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new StringRenderer();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new IntEnumRenderer(myJustification ? ourJustificationPairs : ourPositionPairs);
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<FontDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new FontRenderer();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<ColorDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new ColorRenderer();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:IntroListModelProperty.java   
@NotNull
public PropertyRenderer<String[]> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new MyRenderer();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:IntroEnumProperty.java   
@NotNull
public PropertyRenderer<Enum> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Enum>();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:IntroPrimitiveTypeProperty.java   
@NotNull
public PropertyRenderer<T> getRenderer(){
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<T>();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:IntroIntProperty.java   
public IntroIntProperty(final String name,
                        final Method readMethod,
                        final Method writeMethod,
                        final PropertyRenderer<Integer> renderer,
                        final PropertyEditor<Integer> editor,
                        final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer = renderer;
  myEditor = editor;
}
项目:intellij-ce-playground    文件:IntroIntProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Integer>();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:RadGridBagLayoutManager.java   
@NotNull
public PropertyRenderer<Double> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Double>();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:RadBorderLayoutManager.java   
@NotNull
public PropertyRenderer<String> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<String>();
  }
  return myRenderer;
}
项目:tools-idea    文件:Palette.java   
private void updateUI(final Property property){
  final PropertyRenderer renderer = property.getRenderer();
  renderer.updateUI();
  final PropertyEditor editor = property.getEditor();
  if(editor != null){
    editor.updateUI();
  }
  final Property[] children = property.getChildren(null);
  for (int i = children.length - 1; i >= 0; i--) {
    updateUI(children[i]);
  }
}
项目:tools-idea    文件:BorderProperty.java   
@NotNull
@Override
protected PropertyRenderer<BorderType> compute() {
  return new LabelPropertyRenderer<BorderType>() {
    protected void customize(@NotNull final BorderType value) {
      setText(value.getName());
    }
  };
}
项目:tools-idea    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<StringDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new StringRenderer();
  }
  return myRenderer;
}
项目:tools-idea    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new IntEnumRenderer(myJustification ? ourJustificationPairs : ourPositionPairs);
  }
  return myRenderer;
}
项目:tools-idea    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<FontDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new FontRenderer();
  }
  return myRenderer;
}
项目:tools-idea    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<ColorDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new ColorRenderer();
  }
  return myRenderer;
}
项目:tools-idea    文件:IntroListModelProperty.java   
@NotNull
public PropertyRenderer<String[]> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new MyRenderer();
  }
  return myRenderer;
}
项目:tools-idea    文件:IntroEnumProperty.java   
@NotNull
public PropertyRenderer<Enum> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Enum>();
  }
  return myRenderer;
}
项目:tools-idea    文件:IntroPrimitiveTypeProperty.java   
@NotNull
public PropertyRenderer<T> getRenderer(){
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<T>();
  }
  return myRenderer;
}
项目:tools-idea    文件:IntroIntProperty.java   
public IntroIntProperty(final String name,
                        final Method readMethod,
                        final Method writeMethod,
                        final PropertyRenderer<Integer> renderer,
                        final PropertyEditor<Integer> editor,
                        final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer = renderer;
  myEditor = editor;
}
项目:tools-idea    文件:IntroIntProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Integer>();
  }
  return myRenderer;
}
项目:tools-idea    文件:RadGridBagLayoutManager.java   
@NotNull
public PropertyRenderer<Double> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Double>();
  }
  return myRenderer;
}
项目:tools-idea    文件:RadBorderLayoutManager.java   
@NotNull
public PropertyRenderer<String> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<String>();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:Palette.java   
private void updateUI(final Property property){
  final PropertyRenderer renderer = property.getRenderer();
  renderer.updateUI();
  final PropertyEditor editor = property.getEditor();
  if(editor != null){
    editor.updateUI();
  }
  final Property[] children = property.getChildren(null);
  for (int i = children.length - 1; i >= 0; i--) {
    updateUI(children[i]);
  }
}
项目:consulo-ui-designer    文件:BorderProperty.java   
@NotNull
@Override
protected PropertyRenderer<BorderType> compute() {
  return new LabelPropertyRenderer<BorderType>() {
    protected void customize(@NotNull final BorderType value) {
      setText(value.getName());
    }
  };
}
项目:consulo-ui-designer    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<StringDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new StringRenderer();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new IntEnumRenderer(myJustification ? ourJustificationPairs : ourPositionPairs);
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<FontDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new FontRenderer();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:BorderProperty.java   
@NotNull
public PropertyRenderer<ColorDescriptor> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new ColorRenderer();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:IntroListModelProperty.java   
@NotNull
public PropertyRenderer<String[]> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new MyRenderer();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:IntroEnumProperty.java   
@NotNull
public PropertyRenderer<Enum> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Enum>();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:IntroPrimitiveTypeProperty.java   
@NotNull
public PropertyRenderer<T> getRenderer(){
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<T>();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:IntroIntProperty.java   
public IntroIntProperty(final String name,
                        final Method readMethod,
                        final Method writeMethod,
                        final PropertyRenderer<Integer> renderer,
                        final PropertyEditor<Integer> editor,
                        final boolean storeAsClient){
  super(name, readMethod, writeMethod, storeAsClient);
  myRenderer = renderer;
  myEditor = editor;
}
项目:consulo-ui-designer    文件:IntroIntProperty.java   
@NotNull
public PropertyRenderer<Integer> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Integer>();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:RadGridBagLayoutManager.java   
@NotNull
public PropertyRenderer<Double> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<Double>();
  }
  return myRenderer;
}
项目:consulo-ui-designer    文件:RadBorderLayoutManager.java   
@NotNull
public PropertyRenderer<String> getRenderer() {
  if (myRenderer == null) {
    myRenderer = new LabelPropertyRenderer<String>();
  }
  return myRenderer;
}
项目:intellij-ce-playground    文件:BindingProperty.java   
@NotNull
public PropertyRenderer<String> getRenderer(){
  return myRenderer;
}