org.jdesktop.swingx.painter.BusyPainterBeanInfo Maven / Gradle / Ivy
The newest version!
package org.jdesktop.swingx.painter;
import org.jdesktop.beans.BeanInfoSupport;
import org.jdesktop.beans.editors.EnumPropertyEditor;
import org.jdesktop.beans.editors.ShapePropertyEditor;
import org.jdesktop.swingx.painter.GlossPainterBeanInfo.GlossPositionPropertyEditor;
public class BusyPainterBeanInfo extends BeanInfoSupport {
/** ctor */
public BusyPainterBeanInfo() {
super(BusyPainter.class);
}
@Override
protected void initialize() {
setPropertyEditor(GlossPositionPropertyEditor.class, "direction");
setPropertyEditor(ShapePropertyEditor.class, "pointShape");
setPropertyEditor(ShapePropertyEditor.class, "trajectory");
}
/**
* TODO doc
*/
public static final class DirectionPropertyEditor extends EnumPropertyEditor {
/** ctor */
public DirectionPropertyEditor() {
super(BusyPainter.Direction.class);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy