public class DisabledAttributeProcessor extends Object implements WidgetProcessor<android.view.View,AndroidMetawidget>
disabled
attribute.Constructor and Description |
---|
DisabledAttributeProcessor() |
Modifier and Type | Method and Description |
---|---|
android.view.View |
processWidget(android.view.View view,
String elementName,
Map<String,String> attributes,
AndroidMetawidget metawidget)
Process the given widget.
|
public android.view.View processWidget(android.view.View view, String elementName, Map<String,String> attributes, AndroidMetawidget metawidget)
WidgetProcessor
WidgetBuilder
, and before it is added to the Layout
.processWidget
in interface WidgetProcessor<android.view.View,AndroidMetawidget>
view
- the widget to process. Never nullelementName
- XML node name of the business field. Typically 'entity', 'property' or 'action'.
Never nullattributes
- attributes of the widget to process. Never null. This Map is modifiable - changes
will be passed to subsequent WidgetProcessors and Layoutsmetawidget
- the parent Metawidget. Never nullCopyright © 2015. All Rights Reserved.