Java Question New object with designer support - How to use the Properties in Designer

DonManfred

Expert
Licensed User
New object with designer support - How to use the Properties in Designer

For example i have created the ProgressWheel. I have added support for the designer so you can create the right view in designer.

The view have some Properties which i want to configure directly in the designer:

Properties:

BarColor As Int
BarLength As Int
BarWidth As Int
CircleColor As Int
CircleRadius As Int
Clickable As Boolean [write only]
ContourColor As Int
ContourSize As Float
DelayMillis As Int
Enabled As Boolean [write only]
FadingEdgeLength As Int [write only]
Focusable As Boolean [write only]
FocusableInTouchMode As Boolean [write only]
Id As Int [write only]
Left As Int
MinimumHeight As Int [write only]
MinimumWidth As Int [write only]
PaddingBottom As Int
PaddingLeft As Int
PaddingRight As Int
PaddingTop As Int
Progress As Int [write only]
Set the progress to a specific value
RimColor As Int
RimShader As Shader [write only]
RimWidth As Int
SpinSpeed As Int
Tag As Object [write only]
Text As String [write only]
TextColor As Int
TextSize As Int
Top As Int

What must i do in my library-source to archieve this?
 
Top