Package com.day.cq.wcm.api.components
Class Toolbar.Label
- java.lang.Object
-
- com.day.cq.wcm.api.components.Toolbar.Label
-
- All Implemented Interfaces:
Toolbar.Item
- Enclosing class:
- Toolbar
public static class Toolbar.Label extends java.lang.Object implements Toolbar.Item
-
-
Constructor Summary
Constructors Constructor Description Label(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(JSONWriter writer)Serialize to JSON writer.
-
-
-
Method Detail
-
write
public void write(JSONWriter writer) throws JSONException
Description copied from interface:Toolbar.ItemSerialize to JSON writer.- Specified by:
writein interfaceToolbar.Item- Parameters:
writer- the writer- Throws:
JSONException- if a JSON error occurs.
-
-