本文整理汇总了Java中com.intellij.uiDesigner.propertyInspector.PropertyRenderer类的典型用法代码示例。如果您正苦于以下问题:Java PropertyRenderer类的具体用法?Java PropertyRenderer怎么用?Java PropertyRenderer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PropertyRenderer类属于com.intellij.uiDesigner.propertyInspector包,在下文中一共展示了PropertyRenderer类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: updateUI
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
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]);
}
}
示例2: compute
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
@Override
protected PropertyRenderer<BorderType> compute() {
return new LabelPropertyRenderer<BorderType>() {
protected void customize(@NotNull final BorderType value) {
setText(value.getName());
}
};
}
示例3: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<StringDescriptor> getRenderer() {
if (myRenderer == null) {
myRenderer = new StringRenderer();
}
return myRenderer;
}
示例4: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<String[]> getRenderer() {
if (myRenderer == null) {
myRenderer = new MyRenderer();
}
return myRenderer;
}
示例5: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<Enum> getRenderer() {
if (myRenderer == null) {
myRenderer = new LabelPropertyRenderer<Enum>();
}
return myRenderer;
}
示例6: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<T> getRenderer(){
if (myRenderer == null) {
myRenderer = new LabelPropertyRenderer<T>();
}
return myRenderer;
}
示例7: IntroIntProperty
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
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;
}
示例8: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<Integer> getRenderer() {
if (myRenderer == null) {
myRenderer = new LabelPropertyRenderer<Integer>();
}
return myRenderer;
}
示例9: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<Double> getRenderer() {
if (myRenderer == null) {
myRenderer = new LabelPropertyRenderer<Double>();
}
return myRenderer;
}
示例10: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<String> getRenderer() {
if (myRenderer == null) {
myRenderer = new LabelPropertyRenderer<String>();
}
return myRenderer;
}
示例11: updateUI
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
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]);
}
}
示例12: getRenderer
import com.intellij.uiDesigner.propertyInspector.PropertyRenderer; //导入依赖的package包/类
@NotNull
public PropertyRenderer<String> getRenderer(){
return myRenderer;
}