Class WidgetReferenceImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.forms.layout.api.impl.WidgetReferenceImpl
-
- All Implemented Interfaces:
Serializable
,WidgetReference
public class WidgetReferenceImpl extends Object implements WidgetReference
- Since:
- 5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WidgetReferenceImpl()
WidgetReferenceImpl(String widget)
WidgetReferenceImpl(String category, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetReference
clone()
boolean
equals(Object obj)
String
getCategory()
Optional category on the widget: if this category is filled, the widget instance will be looked up with this category in the storeString
getName()
Widget name.
-
-
-
Method Detail
-
getCategory
public String getCategory()
Description copied from interface:WidgetReference
Optional category on the widget: if this category is filled, the widget instance will be looked up with this category in the store- Specified by:
getCategory
in interfaceWidgetReference
-
getName
public String getName()
Description copied from interface:WidgetReference
Widget name. If a widget with this name is present in the layout definition, it references this widget. Else, if a category is filled, the widget is looked up in the store with this category. If no category is filled, the widget is looked up in the same store than the one of the layout.- Specified by:
getName
in interfaceWidgetReference
-
clone
public WidgetReference clone()
- Specified by:
clone
in interfaceWidgetReference
- Overrides:
clone
in classObject
-
-