public class WidgetDescriptor extends Object
A special class that provides configuration for a "widget" which is used to edit a Property
in the EntityEditor
.
EntityType#widget(com.codename1.rad.models.Attribute…)
,
com.codename1.rad.ui.UI#widget(com.codename1.rad.models.Attribute…)
Modifier and Type | Class and Description |
---|---|
static class |
WidgetDescriptor.Type |
Constructor and Description |
---|
WidgetDescriptor() |
WidgetDescriptor(Property prop) |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
getAllAttributes() |
<T extends Attribute> |
getAttribute(Class<T> type) |
Property.Description |
getDescription() |
Property.Label |
getLabel() |
WidgetDescriptor.Type |
getWidgetType() |
void |
setAttributes(Attribute... atts) |
public WidgetDescriptor()
public WidgetDescriptor(Property prop)
public void setAttributes(Attribute... atts)
public WidgetDescriptor.Type getWidgetType()
public Property.Label getLabel()
public Property.Description getDescription()
public AttributeSet getAllAttributes()
Copyright © 2022. All Rights Reserved.