| Modifier and Type | Field and Description |
|---|---|
protected String |
_buttonCSSClass
See constructor
|
protected I18nizableText |
_buttonDescription
See constructor
|
protected I18nizableText |
_buttonLabel
See constructor
|
protected String |
_buttonLargeIcon
See constructor
|
protected String |
_buttonMediumIcon
See constructor
|
protected String |
_buttonSmallIcon
See constructor
|
protected String |
_inlineEditorRender
See constructor
|
| Constructor and Description |
|---|
Style(I18nizableText buttonLabel,
I18nizableText buttonDescription,
String buttonSmallIcon,
String buttonMediumIcon,
String buttonLargeIcon,
String buttonCSSClass,
String inlineEditorRender)
Create a style for paragraphs
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAsParameters()
Transform the current para style as a map of parameters.
|
String |
getButtonCSSClass()
See constructor
|
I18nizableText |
getButtonDescription()
See constructor
|
I18nizableText |
getButtonLabel()
See constructor
|
String |
getButtonLargeIcon()
See constructor
|
String |
getButtonMediumIcon()
See constructor
|
String |
getButtonSmallIcon()
See constructor
|
String |
getInlineEditorRender()
See constructor
|
void |
toSAX(ContentHandler contentHandler)
SAX the current para style
|
protected String _buttonSmallIcon
protected String _buttonMediumIcon
protected String _buttonLargeIcon
protected I18nizableText _buttonLabel
protected I18nizableText _buttonDescription
protected String _buttonCSSClass
protected String _inlineEditorRender
public Style(I18nizableText buttonLabel, I18nizableText buttonDescription, String buttonSmallIcon, String buttonMediumIcon, String buttonLargeIcon, String buttonCSSClass, String inlineEditorRender)
buttonLabel - Label of the backoffice button to apply this stylebuttonDescription - Description of the backoffice button to apply this stylebuttonSmallIcon - Image in 16x16 pixels (can be null) of the backoffice button to apply this stylebuttonMediumIcon - Image in 32x32 pixels (can be null) of the backoffice button to apply this stylebuttonLargeIcon - Image in 48x48 pixels (can be null) of the backoffice button to apply this stylebuttonCSSClass - CSS class of the backoffice button to apply this style (used to give a preview appearance to the button) The CSS class has to be defined in the imported files (See HTMLEditorStyleExtensionPoint)inlineEditorRender - Information necessary in the inline editor to "apply" the style. Can be a "tagname.classname" or just a "classname" depending on the element to stylepublic Map<String,Object> getAsParameters()
public void toSAX(ContentHandler contentHandler) throws SAXException
contentHandler - Where to SAXSAXException - If an error occuredpublic String getButtonCSSClass()
public I18nizableText getButtonDescription()
public String getButtonSmallIcon()
public String getButtonMediumIcon()
public String getButtonLargeIcon()
public I18nizableText getButtonLabel()
public String getInlineEditorRender()