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 void
write(JSONWriter writer)
Serialize to JSON writer.
-
-
-
Method Detail
-
write
public void write(JSONWriter writer) throws JSONException
Description copied from interface:Toolbar.Item
Serialize to JSON writer.- Specified by:
write
in interfaceToolbar.Item
- Parameters:
writer
- the writer- Throws:
JSONException
- if a JSON error occurs.
-
-