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

Discussion in 'Libraries developers questions' started by DonManfred, Feb 1, 2015.

  1. DonManfred

    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:


    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?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Currently it is not possible to add properties. You can only use the existing standard properties.
  3. DonManfred

    DonManfred Expert Licensed User

    Wrong answer ;-)
    OK, i understand. I will create a wish then :)
    Peter Simpson likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice