public class WysiwygRenderingHints
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
WysiwygRenderingHints()
Creates a new WikiRenderingHints with the default values. 
 | 
WysiwygRenderingHints(java.lang.String css)
Creates a new WysiwygRenderingHints with the specified values 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
getAttribute(java.lang.String name)
Get a rendering attribute. 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getAttributeMap()
Returns the attributeMap used to store extra rendering options. 
 | 
java.lang.String | 
getCss()
Returns the css class(es) used during the rendering. 
 | 
Data | 
getData()
Retrieves the  
Data for which rendering is performed. | 
java.lang.String | 
getField()
Retrieves the name of the data field for which rendering is performed. 
 | 
boolean | 
isEditable()
Returns whether the field is editable. 
 | 
void | 
setAttribute(java.lang.String name,
            java.lang.Object value)
Set a rendering attribute. 
 | 
void | 
setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Set the attributeMap used to store extra rendering options. 
 | 
void | 
setCss(java.lang.String css)
Set the css to use in the surrounding html div/span generated by the rendering. 
 | 
void | 
setData(Data data)
Set the  
Data for which rendering is performed. | 
void | 
setEditable(boolean editable)
Set whether the field is editable. 
 | 
void | 
setField(java.lang.String field)
Set the name of the data field for which rendering is performed. 
 | 
java.lang.String | 
toString()  | 
public static final java.lang.String REVISION
public WysiwygRenderingHints()
public WysiwygRenderingHints(java.lang.String css)
css - the name of the CSS class to usepublic void setCss(java.lang.String css)
css - one or more css class.public java.lang.String getCss()
public void setData(Data data)
Data for which rendering is performed.data - the data to setpublic Data getData()
Data for which rendering is performed.public void setField(java.lang.String field)
field - the name of the field being renderedpublic java.lang.String getField()
public void setEditable(boolean editable)
editable - whether the field is editablepublic boolean isEditable()
public java.util.Map<java.lang.String,java.lang.Object> getAttributeMap()
public void setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> attributeMap)
attributeMap - the attributeMap.public void setAttribute(java.lang.String name,
                         java.lang.Object value)
name - the attribute's key.value - the attribute's value.public java.lang.Object getAttribute(java.lang.String name)
name - the attribute's name.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 Jalios SA. All Rights Reserved.