Package org.jdesktop.swingx.editors
Class PainterPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.swingx.editors.PainterPropertyEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class PainterPropertyEditor extends java.beans.PropertyEditorSupportTwo parts to this property editor. The first part is a simple dropdown. The second part is a complicated UI for constructing multiple "layers" of various different Painters, including gradient painters.- Author:
- Richard
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPainterPropertyEditor.AffineTransformDelegatestatic classPainterPropertyEditor.Arc2DDelegatestatic classPainterPropertyEditor.AreaDelegatestatic classPainterPropertyEditor.CubicCurve2DDelegatestatic classPainterPropertyEditor.Ellipse2DDelegatestatic classPainterPropertyEditor.GeneralPathDelegatestatic classPainterPropertyEditor.GradientPaintDelegatestatic classPainterPropertyEditor.InsetsDelegatestatic classPainterPropertyEditor.Line2DDelegatestatic classPainterPropertyEditor.LinearGradientPaintDelegatestatic classPainterPropertyEditor.Point2DDelegatestatic classPainterPropertyEditor.QuadCurve2DDelegatestatic classPainterPropertyEditor.RadialGradientPaintDelegatestatic classPainterPropertyEditor.Rectangle2DDelegatestatic classPainterPropertyEditor.RoundRectangle2DDelegatestatic classPainterPropertyEditor.TestStuff
-
Constructor Summary
Constructors Constructor Description PainterPropertyEditor()Creates a new instance of PainterPropertyEditor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJavaInitializationString()PaintergetValue()static voidmain(java.lang.String... args)
-
-
-
Method Detail
-
getValue
public Painter getValue()
- Specified by:
getValuein interfacejava.beans.PropertyEditor- Overrides:
getValuein classjava.beans.PropertyEditorSupport
-
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Specified by:
getJavaInitializationStringin interfacejava.beans.PropertyEditor- Overrides:
getJavaInitializationStringin classjava.beans.PropertyEditorSupport
-
main
public static void main(java.lang.String... args)
-
-