public class StyleDescriptor extends Object
| Constructor and Description |
|---|
StyleDescriptor(String name,
String label,
boolean inline)
Creates a new style descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
getName() |
boolean |
isInline() |
void |
setInline(boolean inline)
Sets whether the style is in-line or not.
|
void |
setLabel(String label)
Sets the style label.
|
void |
setName(String name)
Sets the style name.
|
public String getName()
public void setName(String name)
name - the new style namepublic String getLabel()
public void setLabel(String label)
label - the new style labelpublic boolean isInline()
public void setInline(boolean inline)
inline - true to make the style in-line, false otherwiseCopyright © 2004–2017 XWiki. All rights reserved.